This plugin is part of the Gravity Perks package. Buy Gravity Perks today to get this perk plus 24 other galactic Gravity Forms plugins!
What does it do?
GP Limit Choices is a Gravity Forms plugin that allows you to limit how many times each “choice” on a multi-choice field may be selected (e.g. Radio Buttons, Checkboxes, Drop Downs, etc). It works with Product and Option fields with these input types as well.
How does it work?
This perk enables you to specify a limit per choice on your multi-choice field. If a choice reaches its specified limit it will no longer appear in the field on the front-end. While the choice is visually removed from the frontend, it is still editable via the Form Editor so the limit may be adjusted.
If you would like to disable rather than remove exhausted choices, just add this code to your theme’s functions.php file:
add_filter( 'gplc_remove_choices', '__return_false' );
How do I enable this functionality?
Navigate to an existing form or create a new form with a multi-choice field. Open the field’s settings and look for the checkbox labeled “enable limits” above the “Choices” section and next to the “enable values” option. Check the “enable limits” option to reveal a new “Limit” column for the “Choices” section.
For each choice, specify a limit (as an integer) for how many times that choice should be able to be selected. Leave the limit blank for choices with no limit.