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.

158 Snippets
50+ Favourites
13k Downloads

Sending Multiple File Uploads to Google Drive through Zapier

This snippet modifies our Zapier integration and allows users to send multple files submitted through the…

20+

Approving User Account After Completed PayPal Payment

This snippet conditionally approves a user's account after they've completed their payment through the PayPal gateway.

20+

Creating a Form With Floating Labels

form#wpforms-form-1682 { position: relative; } form#wpforms-form-1682 .floating label:nth-of-type(2) { display: none; } .floating input { position:…

20+

Changing the Cache Time on Your Form Token

/** * Extend cache time on form tokens before today. * * @link https://wpforms.com/developers/how-to-change-the-cache-time-on-your-form-token */ function…

20+

How to Use Conditional Logic With a Date Picker

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

20+

How to Get the URL from the File Upload Form Field

/** * Get and use the File Upload field URL * * @link https://wpforms.com/developers/how-to-get-the-url-from-the-file-upload-form-field/ */ function…

20+

Creating Additional Format for the Date / Time field

This snippet is used to add extra formats for the Time interval on the Date /…

20+

How to Populate a Form Field from an Anchor Link

/** * Populate field from anchor link. * * @link https://wpforms.com/developers/how-to-populate-a-form-field-from-an-anchor-link/ */ function wpf_dev_autofill_field() { ?>

20+

Hiding Page Breaks When Using Conditional Logic

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

10+

Sending Geolocation Data Through Webhooks

This snippet works with the Geolocation and Webhooks addon. It allows you to send geolocation data…

10+

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

10+

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

10+
1 6 7 8 9 10 14