CROSS-REF CROSS-REF
NOTE NOTE
NOTE NOTE
489
Interactive Forms 14
FIGURE 14-2
The text field of a form enables the user to type any required information.
Inserting multiline text areas
When you want to give your users a generous amount of room to write, you can expand not just the width
of the text area, but also its height. Dreamweaver gives you the following options for creating a multiline
text area:
n Insert a single-line text field on the page as previously described and convert the field to multiple
lines by choosing the Multiline option in the Text Field Property inspector.
n Directly insert the Textarea form element using the Insert bar or Insert menu. To do this, position
your cursor where you want to insert the text area and choose Insert ??? Form ??? Textarea or
click the Textarea button in the Forms category of the Insert bar.
Figure 14-3 shows a typical multiline text field embedded in a form.
The text area that is initially created is approximately 18 characters wide and 3 lines high, with horizontal
and vertical scroll bars. You control the width of a multiline text area by entering a value in the Char Width
text box of the Text Field Property inspector, just as you do for single-line text fields. The height of the text
area is set equal to the value in the Num Lines text box.
Pages:
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926