Before you receive and process information from a form you want to make sure the information is complete and in the right format. Dreamweaver has a Validate Form behavior that will force the user to enter data into a field, figure out whether an email address has been entered, or make sure the user enters a number correctly.
The Validate Form action requires the user to enter the form data correctly before they can submit the data to a script or an application on the server. You can validate the form in two ways: