The Insert menu has items for several types of form fields. The menu items insert the HTML elements displayed in the following table:
Menu item |
HTML element |
---|---|
Single Line Text |
Input TYPE=TEXT |
Text Box |
Textarea |
Text (for 4GL pages only) |
Object |
Check Box |
Input TYPE=CHECKBOX |
Radio Button |
Input TYPE=RADIO |
List Box |
Select |
Push Button |
Input TYPE=BUTTON, SUBMIT, or RESET |
Image Button |
Input TYPE=IMAGE |
DataWindow |
Object |
If you insert any of these items into a non-4GL page, FORM tags are also inserted automatically as long as the insertion point is not already inside a FORM element. In Page view, you can add the FORM element yourself by selecting all the fields you want to include in a form, then dragging the FORM element from the Language tab of the System Tree to the selection.
Do not add FORM tags to a 4GL-enabled Web page
When you work with a 4GL page, the page itself is a form,
and therefore all forms are submitted as a single form. Existing
FORM tags must be manually removed from a 4GL page.
To insert form fields:
Select Insert>Form Field from the menu bar and select a type of form field from the cascading menu.
Add text to the form by typing before and after the inserted fields.
If you are working in Page view, check Source view to make sure text and fields are nested correctly inside the FORM element.