Validators
Validator types for the tag {% validate %}
.
Validator types for the tag {% validate %}
.
Models Reference Notifications
The validator tag accepts the following arguments:
You should validate all input data entered in forms. In Zotonic you create forms by writing plain HTML. You can attach…
A validator to check whether a password conforms to the password secutiry requirements.
Check if an input value evaluates to true.
Check if two inputs are the same.
Support for custom client-side (JavaScript-based) validators.
Validate input date against a given date format.
Check if the content of the input field is an e-mail address.
Check if an entered e-mail address is unique, by looking in the m_identity table for the email key:
Regular expression test.
A validator to check if a resource has a certain number of edges with a predicate.
Check the length of a text input.
A validator to check whether a resource’s name is unique:
Numerical input and range check.
Performs a custom server side validation of an input value. This allows you to add your own validation logic to HTML…
Check if an input has been filled in or checked.
Check if an entered username is unique, by looking in the m_identity table for the given username: