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

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+

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 Customize the Labels for Image Choices - Combined effect

form#wpforms-form-1000 .wpforms-field .wpforms-image-choices-item:hover .wpforms-image-choices-label { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background-color: #f6f6f6; color:…

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+

How to Change the Error Text for Failed Submissions

This code snippet changes the error text that shows to your visitors on failed submissions.

<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

Dynamically Setting Stripe Payment Description in WPForms

To dynamically set the Stripe payment description, add the following code snippet to your site.

<10

Changing the Name Attribute of a Hidden Field

This code snippet can be used to change the Name attribute of a Hidden field.

<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

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

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
1 11 12 13 14 15