Skip to content

maxitems

Field validator

All field validators

The field must hold at most a given number of entries.

Written as
"Validators": [{ "Type": "maxitems" }]
In Liquid
{{ maxitems_validator }} — the typed object a template reads for this rule.
Use with
checkboxlist, dictionary, emails, fieldset, file, labels, objecttype, select, textlist

Properties

Accepted in addition to the shared properties every definition carries.

Property Required Description
Message Text shown when the value fails this check.
Value The bound, as a whole number.