Skip to content

gt

Field validator

All field validators

The value must be greater than a given value or another field's value.

Written as
"Validators": [{ "Type": "gt" }]
In Liquid
{{ gt_validator }} — the typed object a template reads for this rule.
Use with
date, datetime, select, text

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 value compared against.
FieldID — Names a sibling field to compare against instead of Value.