Re: Using HTML_Quickform with passed parameters
| From: | Keith Edmunds | Date: | Tue, 29 Jul 2003 10:37:57 +0000 |
| Subject: | Re: Using HTML_Quickform with passed parameters | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6886@lists.php.net to get a copy of this message | ||
On Tue, 29 Jul 2003 03:30:41 -0700 (PDT)
Prashant Karhade <karhade@yahoo.com> wrote:
> I am also having a similar problem inspite of using
> method=POST. It would be helpful to understand when
> QuickForm decides to validate & show errors and when
> it decides not to.
I fixed my problem with POST too.
Looking at the code, QuickForm never validates when no rules have been
applied (which makes sense), and it doesn't validate if no values are
passed (which also makes sense). However, if rules are defined AND
values are passed (even if they aren't a result of form submission) then
validate will run.
Hope this helps.
--
Keith Edmunds