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.

172 Snippets
60+ Favourites
18k Downloads

How to Use Conditional Logic With a Date Picker

/** * Use conditional logic with a date field to show or hide another form field…

30+

Troubleshooting Action Scheduler - access the Scheduled Actions page

Some plugins that install the Action Scheduler library (such as the Action Scheduler plugin itself) add…

20+

How to Add an Empty Dropdown to Dropdown Items

This snippet maintains a clean "--Select--" option without the zero price display when using the Dropdown…

20+

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…

20+

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

20+

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

20+

Decrease the retention period to one week for the Action Scheduler

By default, Action Scheduler will automatically remove completed tasks after thirty days. However, this time period…

20+

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…

20+

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…

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+

Hiding Page Breaks When Using Conditional Logic

This snippet will hide pages in your form that include fields hidden with conditional logic if…

20+

Sending Numerical Values Through Webhooks

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

20+
1 7 8 9 10 11 15