Skip to content

maxsize

Field validator

All field validators

An uploaded file must be no larger than a given number of bytes.

Written as
"Validators": [{ "Type": "maxsize" }]
In Liquid
{{ maxsize_validator }} — the typed object a template reads for this rule.
Use with
file

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.