Do you want to limit the availability of a Checkbox or Radio Button choice based on a maximum number the choice can be selected? For example if you have a maximum number of workshop places or products available? With the Limit Choices Add-on from Gravity Perks you can easily configure that.
How to set maximum limit per choice
Once you’ve installed and activated the Perk, you’ll have an extra configuration option available with Checkbox, Radio Button, Dropdowns and Multi Select Fields in Gravity Forms. Click ‘enable limits’ to activate it. See the example used in the demo, where we’ve set a limit of 100 to Workshop 1, a limit of 200 to Workshop 2 and a limit of 300 to Workshop 3:

How to display the spots that are left
GravityWiz provided a handy snippet you can easily add to your functions.php file in your WordPress (child)theme to show the number of spots left.
If you want to to change spots in something else, you can easily change the $message variable in the snippet:
$message = sprintf( _n( '(%s product available)', '(%s products available)', $count, 'gp-limit-choices' ), number_format_i18n( $how_many_left ) );
Above example will show ‘100 products available’ in stead of ‘100 spots left’. The %s automatically changes in the actual amount remaining, don’t change that.
Conditional Logic for remaining choices
How many choices are left for a specific choice can also be used to configure Conditional Logic, for example for showing a certain HTML Block if there are less then a certain amount of spots left.

How to reset the limits every day
If you want to renew the Limit Choices on a daily basis, you can use this snippet from Gravity Wiz. Don’t forget to change the form_id and the field_ids array to match the Gravity Form and Field you want to renew daily.
Our Premium add-ons for Gravity Forms
Field to Entries
Create entries based on Checkboxes & Multi Select choices & List Field rows.
Entry to Database
Integrates Gravity Forms with internal or external databases, offering flexible mapping of form fields to database columns and real-time synchronization between entries and database rows.
n8n Connector
Connect Gravity Forms to n8n and automate your workflows with secure, flexible, and powerful webhooks. Go beyond simple notifications and build advanced, two-way automations.
JWT Prefill
Fill forms with data you can trust. Prefill Gravity Forms fields with a secure token instead of links with editable url parameters, so your data is accurate, tamper-proof, and ready to use.
Read tutorials about
How to Create an Event Registration Form for Workshops
Create an event registration form for workshops in WordPress. Learn which attendee details to collect, how to configure confirmation emails and how to update workshop dates for confirmed registrations using GravityWP Update Multiple Entries.
How to Create Gravity Forms Entries from Comma-Separated Text
Turn a comma-separated task list into separate Gravity Forms entries. Follow our tested Field to Entries setup, mapping, and custom separator example.
How to Validate Repeatable Contact Rows in Gravity Forms
Learn how to validate repeatable Gravity Forms List field rows with GravityWP List Text. This tutorial shows how to add email and regex validation, test invalid values, and confirm that valid team roster data is stored correctly.
Gravity Forms Airtable Integration: Create Records From Form Submissions
Learn how to build a Gravity Forms Airtable integration with GravityWP API Connector. Send form submissions to Airtable, create new records automatically, and save the returned Airtable Record ID and response back to Gravity Forms.