SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 815 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

The
Dreamweaver Validate Form action checks any text field??™s input and returns the form to the user if any of
the entries are unacceptable. You can also use this action to designate any text field as a required field.
Validate Form can be used to check either single or multiple text fields in a form. If you attach a Validate
Form action to a single text box, you alert the user to any errors as he is filling out this field. To check multiple
form fields, the Validate Form action must be attached to the form??™s
tag.
The Validate Form dialog box (see Figure 12-21) enables you to designate any text field as required, and
you can evaluate its contents. You can require the input of a text field to be a number, an e-mail address (for
instance, jdoe@anywhere.com), or a number within a range. The number range you specify can include
positive whole numbers, negative numbers, or decimals.
FIGURE 12-21
The Validate Form action checks your form??™s entries client-side, without CGI programming.
To use the Validate Form action, follow these steps:
1. Select the form object to trigger the action: a single text field or the tag (use the Tag
Selector) for multiple text fields.
2. From the Behaviors panel, click the Add (+) button and select Validate Form.


Pages:
803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827