3. If you are validating an entire form, select a text field from the Named Fields list. If you are
validating a single field, the selected form object is chosen for you and appears in the Named
Fields list.
NOTE NOTE
425
Using Behaviors 12
4. To make the field required, select the Value: Required checkbox.
5. To set the kind of input expected, select one of the following Accept options:
n Anything: Accepts any input.
n Number: Enables any sort of numeric input. You cannot mix text and numbers, however, as in
a telephone number such as (212) 555-1212.
n Email Address: Looks for an e-mail address with the @ sign. (Note that this is not a foolproof
e-mail address check, because it validates illegal addresses such as human@somewhere,
@somewhere.com, human@somewhere.overtherainbow, and so on.)
n Number From: Enables you to enter two numbers, one in each text box, to define the number
range.
6. Click OK when you??™re finished.
New Adobe effects in Dreamweaver CS3
As part of the Spry framework, Adobe has included a series of seven effects in Dreamweaver CS3??™s standard
behaviors. These behaviors add a whole new level of interactivity to the Web designer??™s palette, without
requiring any additional hand-coding. Now designers can easily fade text in or out, make an image for a
photo album appear to grow out of the page, smoothly slide a submenu in, and much, much more.
Pages:
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828