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
15k Downloads

Changing sublabels for Email Field on a Single Form

This snippet is used to change sublabel for Email field on a specific form. Be sure…

<10

Set a specific language for Cloudflare Turnstile.

/** * Set a specific language for Cloudflare Turnstile. * * @link https://wpforms.com/developers/how-to-set-the-language-for-cloudflare-turnstile */ function wpf_add_turnstile_language_script()…

<10

How to Defer the reCAPTCHA Script

/** * Defer the reCAPTCHA script until after the page loads * * @link https://wpforms.com/developers/how-to-defer-the-recaptcha-script/ */…

<10

How to Disable Browser Autocomplete for Form Fields - specific fields

/** * Disable autocomplete for a specific form and field ID * * @link https://wpforms.com/developers/disable-browser-autocomplete-for-form-fields/ */…

<10

How to Customize the Labels for Image Choices

/* Position labels over images and hide them by default */ form#wpforms-form-1000 .wpforms-field .wpforms-image-choices-label { position:…

<10

How to Block Names From Completing Your Form - Simple format

/** * Prevent certain names from the Simple format Name form field. * * @link https://wpforms.com/developers/how-to-block-names-from-completing-your-form/…

<10

Customize the From Email Address for the Save and Resume Addon

This snippet will customize the from email address that the Save and Resume addon uses when…

<10

Disable the space key with the special CSS class

This code snippet disables the space key. When a user presses the space key in these…

<10

How to Block Names From Completing Your Form - First Last and First Middle Last format

/** * Prevent certain names from the other formats for the Name form field. * *…

<10

Show a Live Count of Repeater Fields in Your Form

This code snippet will display a live count of how many repeater field rows have been…

<10

Sending Form Fields as Smart Tags to Square

The snippet makes Smart Tags usable with Square payments. It allows you to include form fields…

<10
1 11 12 13 14