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.

171 Snippets
60+ Favourites
17k Downloads

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…

20+

Restricting Address Autocomplete to a Specific Country

This snippet is used to modify the default behavior of the address autocomplete feature in WPForms.…

20+

Sending Numerical Values Through Webhooks

This snippet allows you to send numbers through Webhooks as opposed to the default behaviour that…

20+

Change Validation Messages for Required Fields - WPML

Below is an example that changes the required field validation message depending on the language WPML…

20+

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.

20+

How to Create a Form With Floating Labels

/** * Remove the field label from the top of the field * * @link https://wpforms.com/developers/how-to-create-a-form-with-floating-labels/…

20+

Remove Multiple Fields From {all_fields} in Notifications

This code snippet removes multiple fields from your email notifications while still using the {all_fields} smart…

20+

Remove Line Breaks From CSV Exports

This snippet will remove the line breaks from CSV exports.

10+

To Remove a Single Field From {all_fields}

This code snippet removes a single field from your email notifications while still using the {all_fields}…

10+

Custom Style Icons for Rating field

This snippet will customize your rating icons in the Rating field

10+

How to Add Address Field Validation For Authorize.net

/** * Add address validation for Authorize.net address fields * * @link https://wpforms.com/developers/how-to-add-address-field-validation-for-authorize-net/ */ function wpf_dev_authorize_address_validation(…

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+
1 8 9 10 11 12 15