itp:button element
<itp:button
id=
>
<xforms:submit/>
( <itp:layout-hint/> )?
</itp:button>
Description
The <itp:button> element specifies a button that appears on the form. These buttons are used to submit the content back to the server.
Attributes
id: Identification of the button.
Content
<itp:button>: This element defines an XForms submit element that is used to submit the form back to the server. This <xforms:submit> element has an submission= attribute whose value is ultimately passed to the COM API as the action parameter.
<itp:layout-hint>: This optional element specifies a layout hint for the row. It is only generated if the row has an LAYOUT element.
The following buttons can be generated.
| id= | Action | Description |
|---|---|---|
| ok | ok | Submit form and continue. |
| cancel | cancel | Cancels the Master Template. This button is only available on key selection screens or if the FORM has an ON EXIT statement. |
| back | back1 | Go back one form. This button is not available on the first form of a Master Template. |
| next | next | Requests the next screen with keys in a key selection form. |
Example
<itp:button id="ok">
<xforms:submit submission="ok">
<xforms:label>Ok</xforms:label>
</xforms:submit>
</itp:button>