{"id":398416,"date":"2026-11-06T12:09:32","date_gmt":"2026-11-06T12:09:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/checkbox-limits-for-gravity-forms\/"},"modified":"2026-11-06T12:51:37","modified_gmt":"2026-11-06T12:51:37","slug":"checkbox-limits-for-gravity-forms","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/checkbox-limits-for-gravity-forms\/","author":23598768,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.8","stable_tag":"1.0.8","tested":"7.1.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Checkbox Limits for Gravity Forms","header_author":"Stafford Technologies","header_description":"Adds min\/max checkbox selection limits to Gravity Forms checkbox fields, with front-end disabling and per-page server validation.","assets_banners_color":"000000","last_updated":"2026-11-06 12:51:37","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/staffordtechnologies.net\/","header_plugin_uri":"https:\/\/staffordtechnologies.net\/checkbox-limits-for-gravity-forms\/","header_author_uri":"https:\/\/staffordtechnologies.net\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":201,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.7":{"tag":"1.0.7","author":"staffordtechnologies","date":"2026-11-06 12:09:05","revision":3787865},"1.0.8":{"tag":"1.0.8","author":"staffordtechnologies","date":"2026-11-06 12:51:37","revision":3787954}},"upgrade_notice":{"1.0.8":"<p>Fixed: installation instructions now name the current version.<\/p>","1.0.7":"<p>Support email changed to support@staffordtechnologies.net.<\/p>","1.0.6":"<p>Fix for Min\/Max\/Message settings hidden in Gravity Forms 3.2+ form editor.<\/p>","1.0.5":"<p>Loads form-editor JavaScript the WordPress way (enqueued script) so the plugin can pass directory review. No functional change for form users.<\/p>","1.0.4":"<p>Updated Docs, Support, and plugin URI links to the new plugin page.<\/p>","1.0.3":"<p>WordPress.org naming and slug update. Functionally equivalent to 1.0.2 with branding and readme changes for directory listing. Requires Gravity Forms 2.5+.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3787864,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3787864,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3787864,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3787864,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.7","1.0.8"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[5578,601,9775,10833,724],"plugin_category":[42],"plugin_contributors":[291149],"plugin_business_model":[],"class_list":["post-398416","plugin","type-plugin","status-publish","hentry","plugin_tags-checkbox","plugin_tags-forms","plugin_tags-gravityforms","plugin_tags-limits","plugin_tags-validation","plugin_category-contact-forms","plugin_contributors-staffordtechnologies","plugin_committers-staffordtechnologies"],"banners":{"banner":"https:\/\/ps.w.org\/checkbox-limits-for-gravity-forms\/assets\/banner-772x250.png?rev=3787864","banner_2x":"https:\/\/ps.w.org\/checkbox-limits-for-gravity-forms\/assets\/banner-1544x500.png?rev=3787864","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/checkbox-limits-for-gravity-forms\/assets\/icon-128x128.png?rev=3787864","icon_2x":"https:\/\/ps.w.org\/checkbox-limits-for-gravity-forms\/assets\/icon-256x256.png?rev=3787864","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Checkbox Limits for Gravity Forms is a free add-on from Stafford Technologies. It is not affiliated with, endorsed by, or sponsored by Gravity Forms or Rocketgenius, Inc. Gravity Forms (version 2.5 or later) must be installed and active for this plugin to work.<\/p>\n\n<p>It adds three settings to every checkbox field in the form editor:<\/p>\n\n<ul>\n<li><strong>Min selections<\/strong> \u2014 require at least N checked boxes<\/li>\n<li><strong>Max selections<\/strong> \u2014 allow at most N checked boxes (remaining boxes are disabled in the browser once the max is reached)<\/li>\n<li><strong>Selection limit message<\/strong> \u2014 optional custom message with <code>{min}<\/code> and <code>{max}<\/code> placeholders<\/li>\n<\/ul>\n\n<p>Features:<\/p>\n\n<ul>\n<li>Works with multi-page forms (validates only fields on the current page)<\/li>\n<li>Front-end enforcement re-applies after AJAX page renders (<code>gform_post_render<\/code> \/ init scripts)<\/li>\n<li>Server-side validation via <code>gform_validation<\/code><\/li>\n<li>Optional global default validation message under Forms \u2192 Settings \u2192 Checkbox Limits<\/li>\n<li>No paid add-ons required<\/li>\n<li>Uninstall-safe (uses the Add-On Framework uninstall; stores limits as field properties on the form)<\/li>\n<\/ul>\n\n<p>Author: Stafford Technologies \u2014 https:\/\/staffordtechnologies.net\/\nPlugin docs and support: https:\/\/staffordtechnologies.net\/checkbox-limits-for-gravity-forms\/\nSupport email: support@staffordtechnologies.net<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Ensure Gravity Forms 2.5+ is installed and active.<\/li>\n<li>Go to Plugins \u2192 Add New \u2192 Upload Plugin, or install from the WordPress.org plugin directory.<\/li>\n<li>Upload <code>checkbox-limits-for-gravity-forms-1.0.8.zip<\/code> (or search for Checkbox Limits for Gravity Forms) and click Install Now, then Activate.<\/li>\n<li>Edit a form, open a Checkbox field, set Min selections \/ Max selections (and optional message), then Update the form.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20require%20gravity%20forms%3F\"><h3>Does this require Gravity Forms?<\/h3><\/dt>\n<dd><p>Yes. Gravity Forms 2.5 or later must be installed and active. This plugin is an add-on and will not load without it. It is not affiliated with Gravity Forms or Rocketgenius.<\/p><\/dd>\n<dt id=\"does%20this%20change%20my%20form%20structure%3F\"><h3>Does this change my form structure?<\/h3><\/dt>\n<dd><p>No. Limits are stored as custom properties on existing checkbox fields. No fields are added or deleted.<\/p><\/dd>\n<dt id=\"what%20if%20i%20only%20set%20a%20minimum%3F\"><h3>What if I only set a minimum?<\/h3><\/dt>\n<dd><p>Server-side validation enforces the minimum. The front-end only disables boxes when a maximum is set.<\/p><\/dd>\n<dt id=\"multi-page%20forms%3F\"><h3>Multi-page forms?<\/h3><\/dt>\n<dd><p>Yes. Validation runs only for checkbox fields on the page being submitted (<code>gform_source_page_number_{formId}<\/code>).<\/p><\/dd>\n<dt id=\"is%20this%20free%3F\"><h3>Is this free?<\/h3><\/dt>\n<dd><p>Yes. Checkbox Limits for Gravity Forms is free ($0).<\/p><\/dd>\n<dt id=\"where%20do%20i%20get%20support%3F\"><h3>Where do I get support?<\/h3><\/dt>\n<dd><p>Email Stafford Technologies helpdesk at support@staffordtechnologies.net.\nPlugin docs and support page: https:\/\/staffordtechnologies.net\/checkbox-limits-for-gravity-forms\/\nCompany site: https:\/\/staffordtechnologies.net\/<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Fixed: installation instructions now name the current version.<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Support email changed to support@staffordtechnologies.net.<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Fix: Min \/ Max \/ Message settings stay visible in the Gravity Forms 3.2+ form editor (Orbital).<\/li>\n<li>Register <code>.gfcl_setting<\/code> with the <code>gform_editor_field_settings<\/code> filter (Gravity Forms 2.5+) and keep the classic <code>fieldSettings.checkbox<\/code> path for older editors.<\/li>\n<li>Re-apply registration after the editor finishes loading so newer editors cannot clear it.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>WordPress.org review: load form-editor JavaScript via wp_enqueue_script \/ wp_localize_script instead of an inline <\/li>\n<li>Moved editor field-property handlers out of inline onchange\/oninput attributes into the enqueued editor script.<\/li>\n<li>Moved editor help-text margin into an enqueued CSS file (no inline style attribute).<\/li>\n<li>Front-end limit config now uses wp_add_inline_script on the enqueued script (no Gravity Forms init-script print).<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Updated Docs, Support, and plugin URI links to the new plugin page.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>WordPress.org directory preparation: renamed plugin to \"Checkbox Limits for Gravity Forms\" (slug <code>checkbox-limits-for-gravity-forms<\/code>) so the name does not begin with the Gravity Forms trademark.<\/li>\n<li>Updated text domain to match the new slug.<\/li>\n<li>Updated readme for WordPress.org format; Tested up to WordPress 7.1.<\/li>\n<li>Moved plugin icons to SVN assets (not bundled in the plugin zip).<\/li>\n<li>Clarified that the plugin is not affiliated with Gravity Forms \/ Rocketgenius and requires Gravity Forms 2.5+.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Security hardening: sanitize min\/max\/message on form save and at validation output; strip HTML from admin-entered messages; omit validation messages from front-end init scripts; harden POST checkbox counting against non-scalar values; absint page numbers.<\/li>\n<li>Removed support phone number from readme.<\/li>\n<li>Documented that the plugin is free ($0).<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Full Stafford Technologies branding (author, URIs, license header).<\/li>\n<li>Plugin icons (icon-128x128.png, icon-256x256.png) from the official Stafford brand mark.<\/li>\n<li>Docs and Support links on the Plugins screen (plugin_row_meta).<\/li>\n<li>Expanded readme with support, FAQ, and branding details.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: field settings, front-end max enforcement, per-page server validation, plugin setting for default message.<\/li>\n<\/ul>","raw_excerpt":"Add minimum and maximum selection limits to Gravity Forms checkbox fields, with front-end disabling and per-page server validation.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/398416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=398416"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/staffordtechnologies"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=398416"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=398416"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=398416"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=398416"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=398416"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=398416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}