Require Minimum/Maximum Character Limit for Gravity Forms
Have you ever received a generic comment or question in a form submission and wondered if there was a way to discourage this type of response? We’ve whipped up a little snippet that you can use to...
View ArticleUse Gravity Form Merge Tags in Your Post Content
Stop! There's a better way. This snippet is available as a plugin with Gravity Perks, a suite of over 31 premium Gravity Forms plugins! View the Plugin Buy Gravity Perks View this code snippet on...
View ArticleDisable HTML5 Validation on Gravity Forms
Why we created this snippet? There are a number of reasons why you might be looking for a snippet like this. We wrote the snippet originally after encountering an issue with a form not submitting if a...
View ArticleSchedule a Post by Date Field with Gravity Forms
With Gravity Forms, allowing users to submit posts to your WordPress website couldn’t be easier. Currently, you can set the default status of the generated WordPress post as “Draft”, “Pending” or...
View ArticleHow to Populate and Modify Dates with Gravity Forms
View this code snippet on GitHub. Way back when (in 2012), we wrote an article on how to populate a date, one year from the current date. We’ve rewritten this snippet to be more flexible, easier to...
View ArticleCreating Coupons for WooCommerce with Gravity Forms
View this code snippet on GitHub. Offering a coupon is a great way to incentivize users to fill out any form. Want to provide a compelling incentive for visitors to sign up for your newsletter? Offer...
View ArticleShortcode: Display Number of Entries Submitted
Are you limiting how many entries can be submitted and looking for a way to display the number of entries left? We’ve got a shortcode for that too! View this code snippet on GitHub. After installing...
View ArticleDisable Autocomplete for Gravity Forms
In my experience, autocomplete is generally more helpful than harmful but there are times when it just gets in the way. For those times, use this handy snippet by @ronalfy to disable this feature. This...
View ArticleChanging Your Gravity Forms Field IDs
View this code snippet on GitHub. Getting Started Open the desired form in the Form Editor. Open your Browser Console Chrome: https://developer.chrome.com/devtools/docs/console Firefox:...
View ArticleDisable Submission when Pressing Enter for Gravity Forms
View this code snippet on GitHub. I was asked an interesting question on Twitter the other day. @GravityWiz • Have a snippet or plans for a perk that would prevent submission when users hit the 'Enter'...
View ArticleGravity Forms: Require Unique Values for Different Fields
View this code snippet on GitHub. Have you ever needed to collect a personal phone number and an emergency phone number? Or maybe you need to collect a minor’s email address and also their...
View ArticleMake Your Gravity Forms Validation Errors Mobile-friendly(er)
View this code snippet on GitHub. Want a plugin version of this?Dennis Hunink has created a plugin version of this snippet available on Github. Check it out! Gravity Forms validation errors are highly...
View ArticleHow to hide the Gravity Forms AJAX spinner
You may have seen our article on how to change the default Gravity Forms ajax spinner but what if you want to remove it completely? It’s actually quite simple. All you need to do is add the following...
View ArticleHow to Setup Time-based Conditional Logic with Gravity Forms
Stop! There's a better way. This snippet is available as a plugin with Gravity Perks, a suite of over 31 premium Gravity Forms plugins! View the Plugin Buy Gravity Perks This tutorial will demonstrate...
View ArticleHow to Block a Date Range with Gravity Forms Datepicker
This article requires the Gravity Forms Limit Dates perk. Buy Gravity Perks today to get this perk plus 31 other galatic Gravity Forms plugins! View the Plugin Buy Gravity Perks View this code snippet...
View ArticleHow to automatically reload a Gravity Form when a modal is closed
This article requires the Gravity Forms Reload Form perk. Buy Gravity Perks today to get this perk plus 31 other galatic Gravity Forms plugins! View the Plugin Buy Gravity Perks By default GP Reload...
View ArticleInclude Post Permalink in Gravity Forms Confirmation or Notification
View this code snippet on GitHub. There are two methods for generating a link to a post created by Gravity Forms. Both methods are intended for use in Gravity Forms’ confirmations and notifications...
View ArticleHow to Add Three Decimals with Gravity Form Currencies
Gravity Forms provides support for a variety of currencies out of the box and allows you to change the currency for your forms on the Gravity Forms settings page. Most default currencies will be set to...
View ArticleSpeed Up Your Gravity Forms Testing: Unrequire Required Fields
Stop! There's a better way. This snippet is available as a plugin with Gravity Perks, a suite of over 31 premium Gravity Forms plugins! View the Plugin Buy Gravity Perks View this code snippet on...
View ArticleRequire Minimum/Maximum Character Limit for Gravity Forms
Have you ever received a generic comment or question in a form submission and wondered if there was a way to discourage this type of response? We’ve whipped up a little snippet that you can use to...
View Article