Buttons
The way you edit a button or add a button to a smart section or form section is the same as the way you edit a field. This is because the Form Wizard treats buttons as a kind of field. Fields are described in "Form field properties".
Buttons have a fundamentally different purpose than fields. The purpose of a field is to allow someone to view or edit a piece of data. The purpose of a button is to trigger an action when someone clicks it. Actions are discussed in "Actions".
Buttons have some of the same properties as fields and some additional properties. Buttons always have property Type of Form Action.
- Display Type
- The value of this property determines what sort of button this
will be displayed as. These are the choices:
- Button
- If the value of this property is Button, this button will be displayed as a push button.
- Image Only
- If the value of this property is Image Only, this button will be displayed as a hyperlink just using the images specified by the Display Image and Press Image properties. No label text is displayed.
- Image and Text
- If the value of this property is Image and Text, this button will be displayed as a hyperlink using the label text specified by the Label property and the images specified by the Display Image and Press Image properties.
- Text Only
- If the value of this property is Text Only, then this button will be displayed as a hyperlink using just the label text specified by the Label property.
- Display Image
If the value of the Display Type property is Image Only or Image and Text, the image that is the value of this property will be the image that is normally displayed for this button.
To specify an image to be the value of this property, click the search icon. Select the file that contains the image you want. A small version of the image appears to the left of the search icon.
Clicking the X icon causes the image selection to be cleared, so that there will be no image to display for the button.
If the value of the Display Type property is Button or Text Only, the value of this property is irrelevant and this property is ignored.
- Image Tooltip
- If the value of the Display Type property is Image Only or Image and Text, the Image Tooltip field appears. Enter the text of the tooltip you wish to appear when a user moves their mouse over the image.
- Press Image
If the value of the Display Type property is Image Only or Image and Text, the image that is the value of the Display Image property will be the image that is normally displayed for this button. When the mouse pointer is over this button and the mouse button is pressed, you may want an alternate image to be displayed for this button to give the appearance that the button is being pressed. If the Press Image property has a value that is an image, the image that is the value of this property is the alternate image.
To specify an image to be the value of this property, click the search icon. Select the file that contains the image you want. A small version of the image appears to the left of the search icon.
Clicking the X icon causes the image selection to be cleared, so that there will be no image to display for the button.
If the value of the Display Type property is Button or Text Only, the value of this property is irrelevant and this property is ignored.
- Active
- If this check box is checked, this button has its normal appearance and clicking this button will cause an action to be triggered. If this check box is not checked, this button will appear to be grayed out and clicking it will have no effect.