Use the options on the Form Tab of the Form Editor dialog box to set the properties of the form object. A form object consists of the various input objects that work together to collect and transmit user input.
Controls on the Form Tab of the Form Editor dialog box include the following:
Field/Control | Description |
Form ID | Displays the name of the currently selected form. To work with a different form in the project, select its name from the dropdown menu. You may rename a selected form by overwriting its highlighted name in this field. |
Action | Enter or select from the dropdown menu the program or CGI script URL that will process the form data on the web server. |
Encoding | Select the manner in which form data is to be encoded. The default encoding type, “application/x-www-form-urlencoded,” is satisfactory for most form output. However, you should use the “multipart/form-data” encoding type for submitting a file upload. (For more information, see File Upload.) To create “mailto” forms, where all the form data bypasses the server application and instead is sent in the body of an email, use the “text/plain” encoding type. |
Method | Select the means by
which the browser will send the data to the server. Select from the following
methods:
|
On Submit | Enter a scripting event that will take place when a user attempts to submit the form data. Most often the scripting event is a simple validation check to make sure the form fields do not contain errors. (You will need to write the script that you identify in the value of this field.) |
On Reset | Enter an event handler for when a user clicks the form reset button. Often before clearing the fields of data, the event handler calls a message box allowing the user to confirm that the reset request is not in error. |
Other | Use this field to enter additional form processing tags. Use the [TAGNAME]=”[TAG]” format. |
Font | Select a font from the dropdown menu to globally apply to text labels of input fields in the form. Or, accept the [default] selection. |
Be aware that because different browsers may interpret fonts differently, fonts and form inputs may not appear as you intended. To assist you we recommend using fonts that are "web safe." Web-safe fonts appear in the dropdown menu with the symbol. |
|
Size |
Select from the dropdown menu a font size to globally apply to text labels of input fields in the form. |
Default | Click to checkmark to accept default text label characteristics for the form. Or, click to uncheckmark to enable controls for text label characteristics. |
Bold | Disabled when Default option box is uncheckmarked. Click to apply a boldface effect to text labels of input fields in the form. |
Italic | Disabled when Default option box is uncheckmarked. Click to italicize text labels of input fields in the form. |
Color | Disabled when Default option box is uncheckmarked. Click to open the Color dialog box that allows you to select a system or custom color to globally apply to the text labels. |
Disabled when Default option box is uncheckmarked. Click and drag to use the color dropper tool to pick up a color anywhere on your computer screen. Release the mouse button, and the control will display the selected color. Text labels in the form will then bear the selected color. | |
Align | Disabled when Default option box is uncheckmarked. Click the Left radio button to globally align text labels along the left margins of the form inputs; click the Center radio button to globally center the text labels of the form inputs, or click the Right radio button to globally align text labels along the right margins of the form inputs. |
New Form | Click to create a new form object. You will be prompted to save the current form. The new form object will retain the properties settings of the previous form object. |
To revert to the default properties settings for form objects, press the CTRL key while clicking the New Form button. | |
Hidden Values | Use to add hidden input fields. Click to open the Hidden Field Values dialog box, and then click the Insert button. Enter the hidden field name, and then click the Value column and enter the hidden field value. Click the OK button. |
OK | Click to accept the current settings and exit the dialog box. |
Cancel | Click to cancel the operation and close the dialog box. |
Apply | Click to accept the current settings without exiting the dialog box. |
Help | Click to open a context-sensitive help topic. |