Form attributes

Purpose

Binding expressions provide the mapping between the data associated with a particular control and the data provided for processing when the form is submitted. The expression is the name of the parameter associated with the control's data when the form is submitted. These parameters appear on the submission URL if the form is submitted using the HTTP GET method, and are hidden if the POST method is used. The methods are specified as attributes on the xforms:submission element.

Attributes

Attribute Description Type Default Options Use
model Specifies the identifier of the model that contains the parameter specified in the ref attribute xs:ID none    optional 
ref The name of the parameter used to hold this value when a form is submitted. xs:NCName none    optional 

Related topics