--- nfo/php/libs/com.newsblob.phphtmllib/form/FormProcessor.inc 2003/02/22 21:07:42 1.1 +++ nfo/php/libs/com.newsblob.phphtmllib/form/FormProcessor.inc 2003/04/03 23:47:38 1.2 @@ -2,7 +2,7 @@ /** * This file contains the FormProcessor class. * - * $Id: FormProcessor.inc,v 1.1 2003/02/22 21:07:42 jonen Exp $ + * $Id: FormProcessor.inc,v 1.2 2003/04/03 23:47:38 jonen Exp $ * * @author Walter A. Boring IV * @author Suren Markossian @@ -97,8 +97,6 @@ $this->_form_action = $_SERVER["PHP_SELF"]; } - //now process the form - $this->_process_form(); } /** @@ -206,6 +204,9 @@ * */ function render($indent_level=0, $output_debug=0) { + //now process the form + $this->_process_form(); + if ($this->_has_errors) { //we need to render the form errors //and then the form