A Reset button clears all the fields in the form.
Submit and Reset are both reserved HTML terms used to invoke specific actions.
A Command button permits the execution of functions defined by the Web designer, as programmed in
JavaScript or other languages.
To insert a button in Dreamweaver, follow these steps:
1. Position the cursor where you want the button to appear. Then either select Button in the Forms
category of the Insert bar, or choose Insert ??? Form ??? Button from the menu. Alternatively, you
can simply drag the Button control from the Insert bar and drop it into place on an existing form.
2. In the Button Property inspector, select the button Action type. In Figure 14-11, the Property
inspector indicates that the Submit form button action is selected (this is the default). To make a
Reset button, select the Reset Form option. To make a Command button, select the None option.
FIGURE 14-11
You can choose an action and a label for a button through the Button Property inspector.
3. To rename a button as you want it to appear on the Web page, enter the new name in the Label
text box.
Button
508
Adding Advanced Design Features Part III
When working with Command buttons, it??™s not enough to just insert the button and give it a name.
Pages:
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950