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.

167 Snippets
60+ Favourites
14k Downloads

How to Link Your Conversational Form Logo

This code snippet will make the logo clickable in a WPForms Conversational Form.

10+

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(…

10+

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…

10+

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 )…

10+

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/…

10+

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 */…

10+

Setting the Default Address Scheme to International

This snippet is used to update the default behavior of the Address field in WPForms. This…

10+

Change the Payment Delimiter Inside Email Notifications

This snippet changes the default separator for payment details in emails.

10+

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( )…

10+

Customizing Checkbox and Radio Fields to Look Like Buttons (All Forms)

This code snippet will customize Checkbox and Radio fields to look like buttons for all forms.

10+

How to Hide Zero Quantity Items in Dropdown Payment Field Notifications

This snippet hides items with zero quantities from your WPForms notification emails when using payment fields

10+

Change the No Results Found text in Modern Dropdown

This snippet changes the default no result found text in Dropdown field with Modern style.

10+
1 9 10 11 12 13 14