Using validation within dbForms is as simple as setting an attribute in the 'dbform' tag. In dbForms v1.1, the attribute 'formValidatorName' has been added to allow a dbForm developer to associate a (dbForms) form to an [entry] in the Validation.xml file. Take for example the following JSP:
The 'formValidationName' attribute is set to 'bugs'. As you will see in the next section, the Validation.xml file includes an [entry] for 'bugs'. This [entry] will specify which fields will be validated, which validation(s) will be performed on each field and what error messages to display if the validation(s) fail.