Skip to content

minlength

Field validator

All field validators

The value must be at least a given number of characters.

Written as
"Validators": [{ "Type": "minlength" }]
In Liquid
{{ minlength_validator }} — the typed object a template reads for this rule.
Use with
text, textarea, code, emails, path

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.