Here is a basic example of the formprocessor, this is a simple input.

In this example, you MUST provide your name, else the form will display an error and not let you go any further


!

EOD; return $form; } $processor =& new FormProcessor(showForm()); try{ if(isset($_POST["submit"])) { if ($processor->validate()) { echo 'The Form Was Submitted, Wahey!
Here is the $_POST data'; echo '
';
			print_r($_POST);
			echo '
'; } else $processor->display(); } else $processor->display(); } catch(Exception $e) { echo 'Message: ' .$e->getMessage(); } ?>