validators.* slots
10 slots, each with its own page and JSON declaration. See how this reference is built.
| Slot | Description |
|---|---|
validators.date |
Validates that a date value or resolved expression result is within the allowed range, throwing if validation fails. |
validators.default |
Adds default child nodes to the nodes selected by the input expression. |
validators.email |
Validates that a value or resolved expression result is an email address, throwing if validation fails. |
validators.enum |
Validates that a value or resolved expression result is one of the allowed options, throwing if validation fails. |
validators.integer |
Validates that an integer value or resolved expression result is within the allowed range, throwing if validation fails. |
validators.mandatory |
Validates that the input value or resolved expression result is present, throwing if validation fails. |
validators.recaptcha |
Validates a reCAPTCHA response token, throwing if validation fails. |
validators.regex |
Validates that a value or resolved expression result matches a regular expression, bounded by the execution deadline when set, throwing if validation fails. |
validators.string |
Validates that a string value or resolved expression result is within the allowed length range, throwing if validation fails. |
validators.url |
Validates that a value or resolved expression result is a URL, throwing if validation fails. |