| @@ -75,8 +75,20 @@ | ||
| 75 | 75 | 'label' => __('Digits', 'fluentform'), |
| 76 | 76 | 'value' => __('Validation fails for limited digits', 'fluentform'), |
| 77 | 77 | 'help_text' => __("This message will be shown if validation fails for digits value.", 'fluentform'), |
| 78 | 78 | ], |
| 79 | + 'min_selection' => [ | |
| 80 | + 'label' => __('Minimum Selection', 'fluentform'), | |
| 81 | + 'value' => __('Please select at least the minimum number of options', 'fluentform'), | |
| 82 | + 'help_text' => __("This message will be shown if fewer than the minimum number of options are selected.", | |
| 83 | + 'fluentform'), | |
| 84 | + ], | |
| 85 | + 'max_selection' => [ | |
| 86 | + 'label' => __('Maximum Selection', 'fluentform'), | |
| 87 | + 'value' => __('You have selected more options than allowed', 'fluentform'), | |
| 88 | + 'help_text' => __("This message will be shown if more than the maximum number of options are selected.", | |
| 89 | + 'fluentform'), | |
| 90 | + ], | |
| 79 | 91 | 'url' => [ |
| 80 | 92 | 'label' => __('Url', 'fluentform'), |
| 81 | 93 | 'value' => __('This field must contain a valid url', 'fluentform'), |
| 82 | 94 | 'help_text' => __("This message will be shown if validation fails for validate URL.", 'fluentform'), |