How to Use Conditional Logic With a Date Picker
/** * Use conditional logic with a date field to show or hide another form field…
How to Get the URL from the File Upload Form Field
/** * Get and use the File Upload field URL * * @link https://wpforms.com/developers/how-to-get-the-url-from-the-file-upload-form-field/ */ function…
Custom Registration Fields
Add fields to the registration form.
Disable the Last Updated Date in Index/Root XML Sitemap
This filter can be used to disable the Last Updated date that All in One SEO…
Creating Additional Format for the Date / Time field
This snippet is used to add extra formats for the Time interval on the Date /…
How to Populate a Form Field from an Anchor Link
/** * Populate field from anchor link. * * @link https://wpforms.com/developers/how-to-populate-a-form-field-from-an-anchor-link/ */ function wpf_dev_autofill_field() { ?>
Duplicate Posts and Pages
// Add the duplicate link to action list for post_row_actions // for "post" and custom post…
Change / Translate Plugin Text
This is a local translation snippet that should work for any phrases in Charitable and Charitable…
Remove Unused JS
/** * We will Dequeue the jQuery UI script as example. * * Hooked to the…
Hiding Page Breaks When Using Conditional Logic
This snippet will hide pages in your form that include fields hidden with conditional logic if…
How to Build a Profile Page Using Post Submissions
With this snippet and the Post Submissions addon, you can create professional author profiles that automatically…
Sending Geolocation Data Through Webhooks
This snippet works with the Geolocation and Webhooks addon. It allows you to send geolocation data…
Disabling Past Times on the Date / Time Field
This snippet disables past times on the Time Picker field in WPForms.
Displaying Shortcodes Inside Form Label Fields
/** * Run shortcodes on the form label field. * * @link https://wpforms.com/developers/how-to-display-shortcodes-inside-the-label-of-the-form-field/ */ function add_shortcode_to_label(…
How to Add Material Design to Your Form Fields Using CSS
/** * Move label position from above form field to below * * @link https://wpforms.com/developers/how-to-add-material-design-to-your-form-fields-using-css/ */…