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 Add an Empty Dropdown to Dropdown Items
This snippet maintains a clean "--Select--" option without the zero price display when using the Dropdown…
Displaying Shortcodes Inside Form Label Fields
/** * Run shortcodes on the form label field. * * @link https://wpforms.com/developers/how-to-display-shortcodes-inside-the-label-of-the-form-field/ */ function add_shortcode_to_label(…
How to Get the URL from the File Upload Form Field
/** * Get and use the File Upload field URL * * @link https://wpforms.com/developers/how-to-get-the-url-from-the-file-upload-form-field/ */ function…
How to Add Material Design to Your Form Fields Using CSS
/** * Move label position from above form field to below * * @link https://wpforms.com/developers/how-to-add-material-design-to-your-form-fields-using-css/ */…
Hiding Page Breaks When Using Conditional Logic
This snippet will hide pages in your form that include fields hidden with conditional logic if…
Sending Numerical Values Through Webhooks
This snippet allows you to send numbers through Webhooks as opposed to the default behaviour that…
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…
Setting a Default Featured Image for Post Submissions
This snippet is used to assign a default image that'll serve as the featured image for…
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…
Overwriting Entries From Users Who Have Already Submitted a Form
This snippet will overwrite old entries from a user each time they submit a new one…
How to Conditionally Show the Next Button on a Specific Page
/** * Hide Next button on page 2 by default and show it once an option…
Removing the Header Image From Notification Emails of Specific Forms
This code snippet hides the header image in notification emails for only a few forms instead…