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 Customize the Rich Text Field TinyMCE Icons

/** * Customize Rich Text Field TinyMCE buttons for top toolbar. * * @link https://wpforms.com/developers/how-to-customize-the-rich-text-field-tinymce-icons/ */…

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+

How to Programmatically Attach a File to Email Notifications

This code snippet uses the wpforms_emails_mailer_get_attachments filter to attach files to email notifications.

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

Translating the Total Field's Order Summary

This code targets specific elements inside the Order Summary and updates the labels to the translated…

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