<fail> set a fail in a form validation

name
fail
xml namespace
http://moyaproject.com/forms

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>.

Example

<validate-field field="price">
    <fail if="value lte 0>
        Price must be greater than 0.00.
    </fail>
</validate-field>
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes