Like
all form elements, your button needs to have a unique name.
This is where you put it.
|
This is the text that will be displayed on your button.
|
This
determines what your button does. If you set it to Submit
form, it will submit the form to whatever that form's action
is. If you choose reset, it will clear out all the forms
field, and reset them to their default values. If you choose
none, your button will not do anything, except run javascripts
that you assign to it. A good use of this is a cancel button:
<input type="button" name="Cancel"
value="Cancel" onclick="javascript:history.go(-2);"
/>
|
We're
going to cover checkboxes and radio buttons at the same
time. This field is about the only thing that's different,
and the difference lies in how you name your elements. Checkboxes
should all be name differently. CheckBox1, CheckBox2, etc.
Radio
elements on the other hand don't follow normal naming conventions.
Each radio button in a group should have the exact same
name. That is what allows only one radio button in a group
to be selected.
|
This determines what value to send to the action of the
form if this particular checkbox (or radio button) is selected.
|
This
determines whether or not this checkbox or radio button
is selected when the form first loads. This can be changed
by the user of course.
|
Like
all form elements, our list needs to have a unique name.
|
Here
you can choose whether to have a drop down menu (the default)
or a scrollable list. If you choose a list, the options
to the right of these radio buttons will become active.
|
If
you choose a list (instead of the default drop down menu)
these two options become available. The height determines
how many items from your list will show at one time. If
you click the "Allow multiples" checkbox then
users can choose several items in the list by ctrl or shift+click.
|
Click
the item you want to be selected when the page first loads.
If nothing is highlighted in this box, then the list or
menu will be blank when it loads.
|
The
list values button brings up a dialog box for you to enter
your values for the list or menu. Click the + or - sign
to add or remove entries, and you can use the up and down
arrows to change the order of your list. The Item Label
is what is displayed to the user, and the Value is what
is based to your script to be processed.
|
Magnum P.I. (Property Inspectors, not Private Investigators)
Author: Daniel
W. Short
Author's Site: Web-Shorts.com
Reference ID: 15615
The Form Inspectors
Forms, ya gotta love 'em. Unfortunately, there is an inspector
for every danged form element, so this page took me hours to do.
You better read every word, because my fingers are still bleeding.
The small icons surrounding each inspector title tell you what button
to push in the Object Panel to insert that particular object.
The <form> Inspector
The Text Field inspector
The Button Inspector
Checkbox and Radio button inspectors
List/Menu Inspector
I'm not going to cover the Image Field, File Field, Hidden Field
or Jump Menu objects in the form Panel. The image field has the
same type of attributes as a regular image (check the image
inspector), and the File and Hidden fields only have name, height
and width, or value inputs. You can view the Text Field inspector
if you have questions regarding the File and Hidden field inspectors.
The Jump Menu uses the same inspector as the regular List/Menu.
|