| |
Naming the Form
Objects
Now
that you have the general layout of the form complete, you can start
linking the form objects to the database. First each form must have a
unique name to distinguish it from the other form objects.
One-line Text boxes
- Select the One-line text box
for the First Name. Then select Format
and Properties. A Text Box
Properties dialog box will appear.

- In the Name: field type in
FirstName. Leave Initial value as
blank and select OK.
- Select the Last Name one-line
text box and select Format, then
Properties. Type in
LastName in the Name: field.
Select OK.
Checkboxes
- Each checkbox must have its
own name.
- Select the first checkbox.
Select Format, then
Properties. A Check Box Properties
dialog box will appear. Type in the name you want the checkbox to be
called.

- You may want to change the
Value: section of the dialog box.
The Value: section will display ON in your database if it is selected.
You may change the Value to help you distinguish the information in
the database. Typing Checked may
help distinguish the information in your database.
- If you want the checkbox to
automatically be checked when the form is opened have the
checked radio button selected. If
you do not want the checkbox to be automatically selected, check the
Not checked radio button. For this
example make sure the Not checked
radio button is selected. Select OK.
- Continue to select each
checkbox on the form until you have them each properly named.
Radio Buttons
- Radio buttons on a form are
slightly different in their naming conventions. If you have more than
one radio button for a question, you will need to name the radio
buttons with the same name. The value of the radio button will be what
distinguishes the correct answer.
- Select the first radio
button. Select Format, then
Properties. A Radio Buttons dialog
box will appear.
- The
Group Name section will have the same name for each radio
button for one question. For this example type in
Question2.
- The
Value: section is where you make the distinction of which
radio button is selected in the form. Make sure the Value name is
different for each radio button.
- If you want the radio button
to be automatically selected when the user opens the form, make sure
the Selected radio button is
selected. If you do not want the radio button to be
automatically selected, select the Not
Selected radio button.
- The dialog box should look as
such:

- Now select the next radio
button. Keep in mind when you name each radio button to keep the same
Group name for on question but
change the Value.
Scrolling Textbox
- Placing naming properties to
the scrolling text box is very simple.
- Select the scrolling textbox.
Select Format, then
Properties. A Scrolling Text Box
dialog box will appear.

- Type in an appropriate name
in the Name section. If you would
like to have instructions or other text in the text box when the form
opens, type in the information in the Initial
value section.
- Change the
Width in characters: number to how
many characters you will allow in the scrolling textbox.
- Change the
Number of lines: number to how
many lines you will allow in the scrolling textbox. Select
OK when you are satisfied with the
properties.
NOTE: Changing
the width of characters allowed and
the number of lines in the scrolling
text box will alter the size of the text box on the form. Notice that
when you resize the textbox on the form, the width of characters and the
number of lines will change.
Your basic form is almost
complete!
Submit and
Reset
When FrontPage places the Submit and
Reset buttons on the form, these buttons automatically have properties
set to them. If you want, you can leave the properties as they are. The
only property you will change is the actual name of the button.
- Select the
Submit button. Select
Format, then Properties.
The Push Button Properties dialog box will appear.

- For the purpose of this
tutorial, we will change the name of the Submit button. In the
Name section, type in Submit. Then
press OK.
- Select the
Reset button. Select
Format, then
Properties. The Push Button Properties dialog box will
appear with the Reset button information.
- Type
Reset in the name section and press
OK.
Your form is now almost
complete. All of the form properties are named. You will now create the
database where the information will be stored.
Continue |