ItemsMinΒΆ
Checks if a field contains at least the configured amount of items. (e.g. checkboxes)
Example Code:
validators {
DefaultValidator {
model = DefaultValidator
config {
fields {
interests.errorChecks {
itemsMin {
model = ItemsMin
itemsMin = 1
}
}
}
}
}
}
Properties
itemsMin |
Sets the min amount of items a field value must contain. |
Mandatory |
False |
Data Type |
Integer |
Default |
0 |