Limit the number of choices that can be selected in checkboxes, multi-choice fields, and similar fields. You can choose whether this runs when you change a field value, when you save, or both.
This plugin supports smartphones.
Select the field and set the minimum and maximum number of selections. You can provide separate messages for too few and too many selections.
Depending on the settings, this customization runs at the following times. Any configured conditions are also evaluated.
The page-display and field-change triggers exclude inline editing from the pencil icon on the list page.
Enter or select a value for each setting unless it is marked optional.
Select when the action should occur (when editing, when saving).
Available options:
Initial value: When Editing, When Saving
Please select the field you would like to check.
The following field types can be selected.
Specify the minimum number of choices the user must select.
Enter an integer of 0 or greater.
Initial value: 0
Specify the maximum number of choices the user may select. This setting is optional.
Enter an integer of 1 or greater.
Please enter the error message to display if the number of selected items does not meet the minimum requirement.
Initial value: 選択が足りません。
Please enter the error message that will appear if the selection exceeds the limit.
Initial value: 選択が多すぎます。
When editing, if there are fields you want to check in the “Fields to Check” section, specify them here. You can select more than one field. This setting is optional.
The following field types cannot be selected.
If conditions are set, the numerical check will be performed only when those conditions are met. Leave this unset to apply the plugin without this filter. You can configure up to 5 entries.
The following actions and conditions are useful when building similar behavior in customization mode.