You can build ColdFusion forms in Dreamweaver that check the contents of specified fields to ensure the user entered the correct data type.
This Dreamweaver enhancement is only available if you have access to a computer running ColdFusion MX 7 or later. For more information, see Enabling the ColdFusion enhancements.
Make sure that every ColdFusion field that you want to validate has a unique name.
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, you 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.