Tell us what you want to build in Gravity Forms.
Our (human) wizards will map it out
for free
in 24 hours.
Get Free Blueprint
Dismiss
Products
Search all products
Find a plugin by name, platform, or task.
Gravity Perks
Add powerful features to Gravity Forms.
Gravity Connect
Connect your forms to the services you use.
Gravity Shop
Custom products with Gravity Forms + WooCommerce.
Solutions
Free plugins
Free Plugins
Find a small plugin for a specific task
Spellbook
Free
Discover, install, and manage plugins
Snippet Library
Code recipes for custom requirements
Resources
Documentation
Installation and setup guides
Blog
News, tutorials, and ideas for your next form
Customer stories
See what other builders have made
Ask the Wizards
Work through your project with the wizards
Testimonials
Hear from the people building with Gravity Wiz
About Gravity Wiz
Our story, our team, and life at Gravity Wiz
Support
Pricing
Account
Snippets
GP Limit Submissions
Snippet Library
/
GP Limit Submissions
php
Exclude Entries from Count by Meta or Field Value
Exclude entries from a Limit Submissions feed's count when a specific entry meta key/value condition is met. The excluded entries...
php
Limit by Paid Entries Only
Only count entries with a Paid payment status when enforcing Limit Submissions rules so users with failed payments can submit...
php
Skip Limit If Any Field Value Is Blank
Skip evaluation of Limit Submissions feed whenever one of its field-based rules resolves to a blank value for the current...
php
Dynamically Set Limit by User WooCommerce Product Purchase Count
Dynamically set the limit by how many times the current user has purchased a specific WooCommerce product. This is useful...
php
Disable Specific Limits for Logged In Users
php
Use the latest user entry to replace merge tag
php
Enable `WPML String Translate` for Custom Limit Message
php
Apply Limit Collectively to Group of Forms
php
Apply Limit Feed to Group of Forms
php
Change the “Submission Limit” Reached Message For a Specific Form
php
Collective Limits for Roles
By default, role-based limits are applied per user. This means each user of the specified role can submit the form...
php
Disable Limit Feeds when Editing via Gravity View
php
Disable Limits for a Specific IPs
php
Disable Limits for a Specific User Role
php
Dynamically Set Limit
php
Do Not Enforce Empty Fields
By default, Limit Submissions will attempt to enforce field-based limits even if the field is empty. This snippet modifies that...
php
Evaluate Feed Conditional Logic on Render
Use this snippet to evaluate a feed's conditional logic on render. This is useful if you're prepopulating a field value...
php
Prevent Validation Errors From Showing On Fields
php
Change Validation Message for a Specific Field
php
Apply Limit Feeds Globally
php
Include Posts of a Custom Post Type in the Embed URL › Post/Page Rule
php
Limit by Entry Meta
This snippet allows you use a Limit Submissions feed to limit by entry meta by setting a filter in the...
php
Only Allow Some Rule Types
php
Redirect After Limit Reached
Redirect to a specified URL when the limit is reached (rather than displaying a limit message).
php
Scope Feeds to the Current Nested Forms Parent Entry.
Set GP Limit Submissions feed to only apply to child entries submitted for the same parent entry.
php
Set Limit by Custom Field
php
Dynamically Set Limit by User ID
php
Dynamically Set Limit by User Meta
php
Set Limit Period by User Meta
php
Display Poll Results When Limit Is Reached
php
Top Level Validation Message for Hidden Fields
If a Limit Submissions feed returns a validation error and is based on the field values of a hidden field,...
php
Include Field Value in Validation Message