Re: problem with quickform catching all POSTs
| From: | Richard Harding | Date: | Mon, 02 May 2005 17:09:35 +0000 |
| Subject: | Re: problem with quickform catching all POSTs | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19044@lists.php.net to get a copy of this message | ||
On Mon, 2005-05-02 at 09:46 -0700, Justin Patrin wrote:
> I'm assuming you're extending HTML_QuickForm here.
>
Yep
> validate() will return true if *any* form has been submitted on the
> page. This is a known issue and there is a feature called track_submit
> which "fixes" this by adding a hidden form value that is unique to the
> form. Check the constructor for HTML_QuickForm.
>
Thank you very much. It's exactly what I needed to get it working.
Rick