
Chapter 20
488
To create a multiple-line text area:
1
Place the insertion point inside the form outline, then do one of the following:
•
Choose Insert > Form Object > Text Field.
•
In the Objects panel’s Forms category, click the Insert Text Field icon.
A text field appears in the document.
2
In the Property inspector’s TextField field, type a name for the text field object.
Make sure the name is unique—you cannot duplicate a text field’s name within
a form. Do not leave blank spaces, instead use underscore to separate words.
For example, type
user_feedback
rather than
user feedback
.
3
For Type, select Multi-line.
4
In the Char Width field, do one of the following:
•
Accept the default setting, which sets the length of the text area to 20 characters.
•
Type a number to specify the length of the text area.
5
In the Num Lines field, do one of the following:
•
Accept the default setting, which sets a two-line text field.
•
Type a number to specify the number of lines for the text area.
6
In the Wrap pop-up menu, select a setting to set how a user’s input will be displayed
when a user types more information than can be displayed in the text area.
•
Select Off or Default if you want to prevent text from wrapping to the next line.
When the user’s input exceeds the right boundary of the text area, text will
scroll toward the left. User’s must press Return to move the insertion point to
the next line in the text area.
•
Select Virtual to set word wrap in the text area.
When the user’s input exceeds the right boundary of the text area, text wraps to
the next line. When data is submitted for processing, however, word wrap isn’t
applied to the data; it is submitted as one string of data.
•
Select Physical to set word wrap in the text area, as well as to the data when it is
submitted for processing.
7
If you want to set default text for a text field, type the text in the Property
inspector’s Init Value field.
This text will be displayed in the text field when the form first loads in a
user’s browser.
8
Type a label or descriptive text, if desired, next to the object.
You can apply text formatting to form object labels. For more information, see
“Setting and changing fonts and styles” on page 239.
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...