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

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

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

class DeleteUploadedFiles {}

The deleteuploadedfiles Class is designed to delete uploaded files subsequent to email notifications. This functionality is…

<10

Allow only specific days of the month in all WPForms date pickers

If you only want users to select certain days of the month in the Date Picker,…

<10

WPForms Custom Real-time Keyword Blocklist

This code snippet will add a custom validation rule to block specific keywords in real-time mirroring…

<10

Number slider validation for single page forms

This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.

<10

Conditionally disable Cloudflare Turnstile

This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…

<10

Removing File Upload Fields from Notifications

This code snippet will remove the File Upload fields from Notifications when File Access Restrictions are…

<10

Applying Custom Map Styles to the Map Field

This code snippet will use your custom map style in WPForms Map field.

<10

Fixing WPForms Bulk Update Issues with WP Umbrella

This code snippet will force the WPForms updater to run during the WP Umbrella snapshot request.

<10
1 12 13 14 15