<error> add an error message to a form

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

Set an error message on either a field or the entire form.

Example

<forms:error src="form" if=".user">
    You must be logged in to do that!
</forms:error>
attributes
name purpose type required? default choices
field Field name text No
src Form expression No form
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes