Skip to content

phone

Field validator

All field validators

The value must be a valid phone number.

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

Properties

Accepted in addition to the shared properties every definition carries.

Property Required Description
Message Text shown when the value fails this check.