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.
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/ */…
Storing User's Uncached IP Address in Hidden Field
This snippet lets you capture and store the user's IP address in the Hidden field. It…
How to Add Address Field Validation For Authorize.net
/** * Add address validation for Authorize.net address fields * * @link https://wpforms.com/developers/how-to-add-address-field-validation-for-authorize-net/ */ function wpf_dev_authorize_address_validation(…
Adding Material Design to Your Form Fields Using CSS
#wpforms-form-697 { float: left; width: 100%; text-align: center; margin: 30px auto 30px auto; } #wpforms-form-697 .wpforms-field…
Sending Form Fields as Smart Tags to Square
The snippet makes Smart Tags usable with Square payments. It allows you to include form fields…
Custom Style Icons for Rating field
This snippet will customize your rating icons in the Rating field
Changing Sublabels for the Email Field
This snippet is used to update the default labels for the Email field when it includes…
Merging Multiple WPForms Field Values into Post Content
/** * Merging Multiple WPForms Field Values into Post Content * * @link https://wpforms.com/developers/merging-multiple-wpforms-field-values-into-post-content */ function…
To Remove a Single Field From {all_fields}
This code snippet removes a single field from your email notifications while still using the {all_fields}…
Assign User Role Conditionally in WordPress
This snippet works with WPForms and the User Registration Add-on. It lets you assign user roles…
How to Add BCC to Email Notifications (for all forms)
add_filter( 'wp_mail', function ( $args ) { // Add the BCC email address here $bcc_address =…
How to Change the Error Text for Failed Submissions
This code snippet changes the error text that shows to your visitors on failed submissions.