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

Translating the Total Field's Order Summary

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

<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

class DeleteUploadedFiles {}

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

<10

Removing File Upload Fields from Notifications

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

<10

Mapping WPForms Checkbox Values to ACF Checkbox Fields

This snippet uses the wpforms_post_submissions_process action hook to dynamically map WPForms checkbox submissions to ACF checkbox…

<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

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

Number slider validation for multi page forms

This snippet outputs a small script that listens for the wpformsBeforePageChange event and stops the page…

<10

Conditionally disable Cloudflare Turnstile

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

<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

Displaying WPForms Pro on Quiz and Survey Master Results Pages

This code snippet will ensure WPForms Pro forms displays properly on QSM results pages.

<10
1 12 13 14