About
WPForms is the most beginner-friendly WordPress form builder plugin. Our drag and drop form builder lets you create beautiful forms for your website in minutes.
Our goal is simple: to provide a WordPress forms plugin that's both easy to use AND powerful. We want to take the pain out of creating online forms and make it easy for everyone - we call it "stupid simple".
Over 6 million websites use WPForms to create contact forms, payment forms, survey forms, conversational forms, newsletter forms, registration forms, and more.
How to Restrict Numbers in a Single Line Text Form Field
/** * Disallow numbers in a single-line text field * * @link https://wpforms.com/developers/how-to-restrict-numbers-in-a-single-line-text-form-field/ */ function wpf_dev_disallow_numbers_text_field(…
How to Disable Browser Autocomplete for Form Fields - all fields
/** * Disable form autocomplete for all fields on a specific form * * @link https://wpforms.com/developers/disable-browser-autocomplete-for-form-fields/…
Using Conditional Logic to Change Date Picker Locale
This snippet works with the WPML plugin and only apply date picker locale changes when the…
How to Disable reCAPTCHA for Automated Testing
/** * Disable for automated testing. * * @link https://wpforms.com/developers/how-to-disable-recaptcha-for-automated-testing/ */ // Disable reCAPTCHA assets and…
How to Change the Captcha Theme on Google Checkbox v2 reCAPTCHA
/** * Change the captcha theme for the Google Checkbox v2 reCAPTCHA * * @link https://wpforms.com/developers/how-to-change-the-captcha-theme-on-google-checkbox-v2-recaptcha/…
How to Perform Field Comparisons Within Your WPForms
/** * Perform Field Comparisons * * @link https://wpforms.com/developers/how-to-perform-field-comparisons-within-your-wpforms/ */ function wpf_dev_compare_fields( $fields, $entry, $form_data )…
Dynamically Displaying Years in Your Forms
/** * Dynamically display years in the forms * * @link https://wpforms.com/developers/how-to-dynamically-display-years-in-your-forms/ */ function wpf_dev_dynamic_school_year( )…
How to Store Field Values in the WPForms Entry
/** * Show values in Dropdown, checkboxes, and Multiple Choice. */ add_action( 'wpforms_fields_show_options_setting', '__return_true' ); /**…
How to Link Your Conversational Form Logo
This code snippet will make the logo clickable in a WPForms Conversational Form.
Change the Payment Delimiter Inside Email Notifications
This snippet changes the default separator for payment details in emails.
How to Add an Input Mask to the International Postal Code
/* * Custom input mask for the address field's international scheme. * * @link https://wpforms.com/developers/how-to-add-an-input-mask-to-the-international-postal-code */…
Setting the Default Address Scheme to International
This snippet is used to update the default behavior of the Address field in WPForms. This…