This form illustrates a login form, which is definitely the most typical database validation. There's a user in the installed example database with the login name "joe" and the password "weakpass" (without the "s ofcourse): using this login/pass you'll see only the results of the call, in case of an error you'll receive the error messages.
Below are the dumps of some PHP variables - submit the form to see the changes!
Contents of the $_POST array:
$_POST = array (
)
Results of a $clonefish->getElementValues() call: array ( 'login' => NULL, 'password' => NULL, 'id' => 'validdatabase', )