Buttons can be used to navigate between pages of the Form, show embedded images, link to a web page or kick off a function from your form script. This article describes how you (the form designer) can add buttons to your Forms.
Adding a Button
1. Open your Form in Forms Designer.
2. Click on the Form tab on the menu ribbon at the top of the screen. Select Button from the menu ribbon.
3. Determine where you want to place your Button. Holding down the left mouse button, draw a box on the Form starting at the top left corner and ending at the bottom right corner. Let go of the mouse button to complete your Button.
4. Once your Button is completed, you should be presented with a Button Properties dialog box.
Button Properties Dialog Box
The Button Properties dialog box allows you to set specific properties for a Button. The Display tab allows you to specify a name for the Button and edit its appearance. The Action tab allows you to set a specific action for the Button to execute.
a. Text: Add the name of the Button you would like to be displayed.
b. Font: Select the font type for the Button to display.
c. Size: Select the size of the font for the text.
d. Bold: To embolden the text of the Button, check mark the Bold option.
Italic: To italicize the text displayed on the Button, check mark the Italic option.
Underline: To create a line underneath the text, check mark the Underline option.
e. Font Color: Select the color of the text on the Button. Black is the default color.
|Note||As a best practice, Field2Base recommends that Region fonts and sizes match the Form background fonts and sizes.|
The drop down menu lists the available options for Button actions.
Call a subroutine in script:
Show an embedded image resource:
To display an image when the Button is clicked, click Browse and select the image from your local files. For example, clicking the Button could display an image of a building floor plan.
Change pages in the form:
To facilitate navigation within a Form, you can set a Button to Go to the next page, Go to the previous page, or Go to a specific page. If you select Go to a specific page, you can then select which Page the Button will go to by selecting the appropriate Form Page from the the preview window displayed.
Open a web page:
To open a web page when the Button is clicked, paste the link for the website you want to display in the empty field. The web page will open in the User's default browser. For example, clicking a Button could open a web page with the latest weather or traffic information.
Process a payment transaction:
If you are interested in processing payments from your Form, contact your Field2Base Account Manager for more information.