The submit element

Release 2.0 - ...

This form control initiates a submission.

Example

XML CopyCode image Copy Code
<xforms:submit submission="submit">
   <xforms:label>Submit</xforms:label>
</xforms:submit>

Attributes

Name Required / optional Description
submission optional Attribute containing a reference to element submission. If this attribute is omitted, then the first submission in document order from the model associated with the in-scope evaluation context is used.
Common Attributes optional Any attribute from the Common Attributes collection (e.g. id).
Single Node Binding Attributes optional One or more attributes from the Single Node Binding Attributes group (ref, model, bind).
UI Common Attributes optional Any attribute from the UI Common Attributes group (appearance, class, navindex, accesskey).

Content

Within an submit element, the following child elements are allowed:

Element Name Required / optional Description
label required Provides a descriptive label for the containing form control
help optional Provides a help message for the containing form control.
hint optional Provides a hint message for the containing form control.
alert optional Provides an alert or error message for the containing form control.
Action element(s) optional Any element from the Action Elements Collection.

Specification

Link to the XForms specification: the submit element.