Inserting Forms & Forms Objects
A form field is an area of a webpage that can contain controls including buttons, check boxes, selection and drop-down lists, radio buttons, text areas, text boxes and hidden fields.
To insert a form field:
- In the document, position the cursor where you want to insert the form field.
- From the Insert menu, choose Form and then Form Field.
- In the dialog box that appears, enter the information and set the options that you want.
- Click the OK button.
Insert Form Button
A button should be inserted into a form field. It can be set to submit or reset the contents of the form when clicked. A button can also be programmed to invoke a script.
To insert a button into a form:
- In the document, position the cursor in the form field where you want to insert the button.
- From the Insert menu, choose Form and then Button.
- In the dialog box that appears, enter the information and set the options that you want.
- Click the OK button.
Insert Form Check Box
A check box should be inserted into a form field and lets the user select yes/no or true/false.
To insert a check box into a form:
- In the document, position the cursor in the form field where you want to insert the check box.
- From the Insert menu, choose Form and then Check Box.
- In the dialog box that appears, enter the information and set the options that you want.
- Click the OK button.
Insert Form Hidden Field
A hidden field should be inserted into a form field. It is not visible to the user and so can be used to hold data that is to be submitted along with the rest of the form.
To insert a hidden field into a form:
- In the document, position the cursor in the form field where you want to insert the hidden field.
- From the Insert menu, choose Form and then Hidden Field.
- In the dialog box that appears, enter the information and set the options that you want.
- Click the OK button.
Insert List Selection
A list selection should be inserted into a form field. A list selection gives a user of a webpage multiple choices in a form.
To insert a list selection into a form:
- In the document, position the cursor in the form field where you want to insert the list selection.
- From the Insert menu, choose Form and then List Selection.
- Set a unique name for the list in the Name box.
- Add items to the list by clicking the Add button.
- To allow the user to choose more than one option from the list at a time, check Multiple Selections Permitted.
- Choose the number of options to show at once in the Height box. Alternatively, you can make the list into a combo box, by checking Make Combo Box.
- Click the OK button.
Insert Form Radio Button
A radio button should be inserted into a form field. A radio button is used when you want to give users a choice of a number of different options. The user can only pick one radio button in a group.
To insert a radio button into a form:
- In the document, position the cursor in the form field where you want to insert the radio button.
- From the Insert menu, choose Form and then Radio Button.
- Set a name in the Group Name box (this value specifies what group the button belongs to, and subsequently ensures that only one button in that group can be selected at any one time).
- Specify what data is to be submitted with the form if the radio button is selected by specifying a value in the Value box.
- The radio button's caption is specified in the Caption box. If nothing is entered into this box, BestAddress automatically uses the same name as the radio button's value.
- To specify that this radio button in the group is selected when the form fisrt displays, check Selected
- Click the OK button.
Insert Form Text Area
Text areas should be inserted into a form field. Use text areas to allow the user to type a large amount of text into the form.
To insert a text area into a form:
- In the document, position the cursor in the form field where you want to insert the text area.
From the Insert menu, choose Form and then Text Area.
- Set a unique name for the text area in the Name box.
- To set an initial value for when the form first displays, enter it into the Initial Value box.
- Specify the size of the text area in the Rows and Columns boxes.
- If the text contained in the text area should not be modified, you can optionally check the Is Read-Only Text Area box.
- Click OK.
Insert Form Text Box
Text boxes should be inserted into a form field. Text boxes allow the user to enter text into a form filed.
To insert a text box into a form:
- In the document, position the cursor in the form field where you want to insert the text box.
- From the Insert menu, choose Form and then Text Box.
- Set a unique name for the text box in the Name box.
- To set an initial value to display when the form first displays, enter it into the Initial Value box.
- The width and maximum size of the text box can be set in the Size and Maximum Size boxes respectively.
- To cause the text box to mask all text entered into it, check Create as Password Field.
- If the text contained in the text box should not be modified, you can optionally check the Is Read-Only Text Box box.
- Click OK.
|