Gravity Perks - Limit Checkboxes

Gravity Perks - Limit Checkboxes 1.2.15

Download Gravity Perks - Limit Checkboxes 1.2.15. Limit how many checkboxes can be checked.
What does it do?
The Limit Checkboxes perk allows you to limit how many checkboxes of a checkbox field may be selected at any given time. This perk supports specifying a minimum and maximum limit per checkbox field and also allows you to span one field’s limits across multiple fields!

How does it work?
This perk loads a little Javascript which keeps track of how many checkboxes have been checked per field. Once the maximum limit has been reached for a specific field or a group of fields with a shared limit, the rest of the unchecked checkboxes are disabled and not check-able. Unchecking one of the currently checked checkboxes (thereby bringing the number of checked checkboxes under the limit) will make the previously disabled checkboxes check-able.

When a limit is spanned across multiple checkbox fields, all checked checkboxes in those fields will count towards the specified limit. For example, if you have two checkbox fields with a shared limit of two (2), you will be able to select two checkboxes from a single field or one checkbox in each field.

The minimum limit is validated when the form is submitted. If the user did not select enough checkboxes it will return a validation error with the minimum number of checkboxes that must be checked.
Author
Eduard
Views
172
Last update
Rating
0.00 star(s) 0 ratings

More resources from Eduard

  • SEOPress PRO
    SEOPress PRO
    Google Structured data types: article, course, recipe, video, event and product.
  • Wp Rocket
    Wp Rocket
    WP Rocket launches upon activation - minimal configuration, immediate results.
  • The Events Calendar Pro
    The Events Calendar Pro
    The Events Calendar PRO, a premium add-on to the open source The Events Calendar plugin
  • Divi Ghoster
    Divi Ghoster white label Divi and Extra with your own brand.
  • Beaver Builder Plugin Pro
    Beaver Builder Plugin Pro
    A drag and drop frontend WordPress page builder plugin that works with almost any theme!

Latest updates

  1. 1.2.15

    Added support for Gravity Flow's User Input steps.
  2. 1.2.14

    Fixed an issue where administrative fields may produce a cryptic error message when GPLCB is...
  3. 1.2.13

    Fixed dependency on jQuery.migrate that has been removed as of WordPress 5.5