Button
- Last UpdatedSep 12, 2024
- 8 minute read
Use Button control to perform an action in your form. You can display both text and image on the control.
Properties
The properties for the control are grouped under the following tabs:
Basic
|
Property |
Description |
|---|---|
|
Name |
Name that identifies the control. This value is also used for the label of the control. |
|
XML Node |
XML node mapped to the control. Use this value to map a list to a form and a form to a workflow.
Note: |
|
Description |
Description for the control. |
|
Tooltip |
Message that appears when the pointer hovers over the control. |
|
Button Text |
Text for the control. Note: |
|
Button Type |
Action for the control.
To link a form that you want to print
To navigate to a form
|
Appearance
|
Property |
Description |
|---|---|
|
Enable |
Enable or disable the control.
|
|
Visible |
Show or hide the control.
|
|
Label Position |
Position of the label for the control.
Note: |
|
Label-Control Area |
Area occupied by the label and the control in percentage.
Note: |
|
Alignment |
Alignment of the control with respect to the form.
|
|
Retain Space |
Reserve or remove space when the control is hidden.
|
|
Display Mode |
Show text and/or image for the control.
|
|
Button Size |
Size of the button for the control.
|
|
Image Path |
Path to the image for the control. The image path is specified as:
|
|
Image Position |
Position of the image with respect to the text for the control.
Note: This property is applicable only when the Display Mode property is set to Text and Image. |
|
Show as Link |
Enable or disable the control to show as link.
|
Validation
|
Property |
Description |
|---|---|
|
Show Confirmation Message |
Show or hide the confirmation message for the control.
|
|
Confirmation Message Text |
Confirmation message for the control. Note: This property is applicable only when the Show Confirmation Message property is set to Yes. |
Advanced
|
Property |
Description |
|---|---|
|
On Click |
Run a script when a button is clicked. For more information, see scripting guidelines for On Click property. |
|
ID |
Reference identification code for the control. This value is automatically generated and cannot be changed. |
|
Form Button |
Enable or disable the control to act as form button. When this property is enabled, the control is displayed at the bottom-right corner of the form.
Note: If the value is Yes, and the form is viewed on a mobile device, then the control appears in the Action Bar of the mobile device. |
Scripts
For information about using scripts, see scripting guidelines for Button property.
Note:
- Pop-Up control does not support Print Button control when the Persist Form Definition property is set to Yes.
- Label controls with long text display a blank page in print preview when using a
Button control with Print as the Button Type in the Mozilla Firefox browser.