FormProcessor Demo

!
You did not enter your name Your name must consist only of letters
!
You must provide an email address Your email address is invalid
!
You did not provide a password Your password must contain only letters and numbers
!
The two passwords did not match
!
Your DOB must be in the form dd/mm/yyyy You must provide a date of birth
EOD; function uniqueName($name) { return true; } $processor =& new FormProcessor($form); if ($processor->validate()) { echo '

Form data is OK.

';
    print_r($_POST);
    echo '
'; } else { $processor->display(); } ?>

The above form was generated from the following FormML: