Re: 2 questions
| From: | Massimiliano Arione | Date: | Thu, 08 Mar 2007 08:12:12 +0000 |
| Subject: | Re: 2 questions | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26775@lists.php.net to get a copy of this message | ||
Tiron Adrian wrote:
All the examples i've seen using Quickform validate the form on the same page,because the actions is the same page. But what if i send the data to another page? How can i validate the form there. I mean if i have a $form object created as above when i go to another page(the action page) this object is destroyed right?should i use sessions???I hope you understood what i was trying to say...Thanks!You must redeclare the $form object and all its elements (and rules, etc.) on the second page. -- Massimiliano Arione http://garakkio.altervista.org