Dreamweaver inserts a red, dashed outline stretching across the
Document window to indicate the form.
FIGURE 14-1
Inserting a form creates a dashed, red outline of the form and, if the Property inspector is open, displays the Form
Property inspector.
If you can??™t see the outline of the form, choose View ??? Visual Aids ??? Invisible Elements. If you
still can??™t see the form, choose Edit ??? Preferences (Dreamweaver ??? Preferences) and select
the Form Delimiter checkbox in the Invisible Elements category. Clear the checkbox if you don??™t want to see
the form outline.
If you have the Property inspector open, the Form Property inspector appears when you insert a form. As
Figure 14-1 shows, you can specify several values regarding forms; in addition to the Action and the
Method, which correspond to the attributes previously discussed, you can also specify a Form Name,
Enctype value, and Target.
Because of the interactive nature of forms, Web programmers often use them to gather information from the
user. To do this, programmers must specify a form name, which enables them to reference a form using
JavaScript or other languages.
In the Action text box, you can directly enter a URL or mailto address, or you can select the folder icon and
browse for a file.
Pages:
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920