Adobe 38040334 - Dreamweaver CS3 User Manual page 613

Pc
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Set the form Method to
3
POST
From the Enctype pop-up menu, select
4
In the Action box, specify the server-side script or page capable of handling the uploaded file.
5
Place the insertion point inside the form outline, and select Insert > Form > File Field.
6
Set any of the following options in the Property inspector:
7
Specifies the name for the file field object.
File Field Name
Specifies the maximum number of characters that can be displayed in the field.
Char Width
Specifies the maximum number of characters the field will hold. If the user browses to locate the file, the
Max Chars
filename and path can exceed the specified Max Chars value. However, if the user attempts to type in the filename
and path, the file field will only allow the number of characters specified by the Max Chars value.
HTML text field object properties
Select the text field object, and set any of the following options in the Property inspector:
Specifies the maximum number of characters that can be displayed in the field. This number can be less
Char Width
than Max Chars, which specifies the maximum number of characters that can be entered in the field. For example,
if the Char Width is set to 20 (the default value) and a user enters 100 characters, only 20 of those characters will be
viewable in the text field. Although you cannot view the characters in the field, they are recognized by the field object
and are sent to the server for processing.
Specifies the maximum number of characters that the user can enter in the field for single-line text fields.
Max Chars
Use Max Chars to limit zip codes to 5 digits, limit passwords to 10 characters, and so on. If you leave the Max Chars
box blank, users can enter any amount of text. If the text exceeds the character width of the field the text will scroll.
If a user exceeds the maximum number of characters, the form produces an alert sound.
(Available when the Multiline option is selected) Sets the height of the field for multiple-line text fields.
Num Lines
(Available when the Multiline option is selected) Specifies how the user's input will be displayed when the user
Wrap
enters more information than can be displayed within the defined text area. The wrap options are as follows:
Prevents text from wrapping to the next line. When the user's input exceeds the right boundary of
Off or Default
the text area, text scrolls toward the left. Users must press Return to move the insertion point to the next line in the
text area.
Sets word wrap in the text area. When the user's input exceeds the right boundary of the text area, text
Virtual
wraps to the next line. When data is submitted for processing, word wrap isn't applied to the data. It is submitted as
one string of data.
Sets word wrap in the text area, as well as to the data when it is submitted for processing.
Physical
Designates the field as a single-line, multiple-line, or password field.
Type
Results in an
Single-line
input
attribute, and the Max Chars setting maps to the
Results in a
Multi-line
textarea
setting maps to the
attribute.
rows
Results in an
Password
input
settings map to the same attributes as in single-line text fields. When a user types in a password text field, the input
appears as bullets or asterisks to protect it from observation by others.
.
multipart/form-data
tag with its
attribute set to
type
attribute.
maxlength
tag. The Char Width setting maps to the
tag with its
attribute set to
type
September 4, 2007
.
. The Char Width setting maps to the
text
attribute, and the Num Lines
cols
. The Char Width and Max Chars
password
DREAMWEAVER CS3
606
User Guide
size

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents