Used in a validate-feld
, this tag marks a field as having failed validation, and sets an error message.
Note that this tag acts like a <return>.
<validate-field field="price"><fail if="value lte 0>Price must be greater than 0.00.</fail></validate-field>
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
if |
Conditional expression | expression | No | yes |