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(…
Setting a Default Featured Image for Post Submissions
This snippet is used to assign a default image that'll serve as the featured image for…
Merging Multiple WPForms Field Values into Post Content
/** * Merging Multiple WPForms Field Values into Post Content * * @link https://wpforms.com/developers/merging-multiple-wpforms-field-values-into-post-content */ function…
Overwriting Entries From Users Who Have Already Submitted a Form
This snippet will overwrite old entries from a user each time they submit a new one…
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/ */…
How to Conditionally Show the Next Button on a Specific Page
/** * Hide Next button on page 2 by default and show it once an option…
Custom Registration Fields
Add fields to the registration form.
Hiding Page Breaks When Using Conditional Logic
This snippet will hide pages in your form that include fields hidden with conditional logic if…
Sending Numerical Values Through Webhooks
This snippet allows you to send numbers through Webhooks as opposed to the default behaviour that…
Storing User's Uncached IP Address in Hidden Field
This snippet lets you capture and store the user's IP address in the Hidden field. It…
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…
How to Automatically Submit a Form with a Field Choice - CSS
button#wpforms-submit-3046 { display: none; } form#wpforms-form-3046 span.wpforms-icon-choices-label { font-size: 0; } ul#wpforms-3046-field_3 li label:hover, ul#wpforms-3046-field_4 li…
Change / Translate Plugin Text
This is a local translation snippet that should work for any phrases in Charitable and Charitable…
Multi Step Donation Form
This snippet provides a foundation for converting the donation form into a multi-step donation form.
Make Donor Address Required
Make all address fields required on donation pages.