Re: Rules disappear
| From: | Alexey Borzov | Date: | Fri, 12 Sep 2003 05:42:47 +0000 |
| Subject: | Re: Rules disappear | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7758@lists.php.net to get a copy of this message | ||
Hi!
Brad Hubbard wrote:
I have a perplexing (to me anyway :-P ) problem. In one of my forms I add a rule just before the call to ->display().Try adding the rule not "just before the call to ->display()" but "right after the calls to addElement()". I suspect that you begin processing the form on submit before adding any rules. Consult the tutorial for the "right" code structure: http://pear.php.net/manual/en/package.html.html-quickform.tutorial.php