You can build ColdFusion forms in Dreamweaver
that check the contents of specified fields to ensure the user entered
the correct data type.
Note: This enhancement is available only
if you have access to a computer running ColdFusion MX 7 or later.
Create a ColdFusion form that includes at least
one input field and one Submit button. Ensure that every ColdFusion
field that you want to validate has a unique name.
Select a field in the form that you want to validate.
In the Property inspector, specify how you want to validate
the field.
The lower part of each input Property inspector contains
controls to help you define the specific validation rule. For example,
you might want to specify that a text field should contain a telephone
number. To do this, select Telephone from the Value pop‑up menu
in the Property inspector. You can also specify when to validate
from the Validate At pop‑up menu.