Inputs

An <input> element corresponds to a HTTP form input parameter, given by the mandatory name attribute. Optional attributes are

An <input> element contains one or more <field> elements. Each field maps to a different property. Per definition, an input is valid, if one of its fields is valid. The first valid field will get its value mapped to its form data property. All other fields will map null to their form data properties.

When validating an input fails, a message will be generated (except if it its relaxed expression evaluates to true). The default is to take the message from the last nested field (the last field for which validation failed). Explicitly specifying a message on input level overrides this behavior.