Custom (Validator)
ere the validity can be checked on the basis of a calculation expression. The input value for the calculation is the value of the element.
The element is valid if a 'Truthy' value is returned (e.g. true, 'A text', 1, 'true', Object).
It is invalid if no value, false or 0 is returned.