[Quickform] isSubmitted() returns TRUE when it should not
| From: | Damien Cros | Date: | Wed, 26 Oct 2005 15:00:41 +0000 |
| Subject: | [Quickform] isSubmitted() returns TRUE when it should not | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21644@lists.php.net to get a copy of this message | ||
Hi!
I'm working on a "quickform form" that is shown after another form has been submitted: you submit the first form and then it builds the html_quickform.
At the end of the building part of the html_quickform, there's a
if($form->validate)
If you look at the quickform::validate method in quickform.php, there's a isSubmitted() method that should not return TRUE when the form is built for the first time.
I think it returns TRUE because the first form was submitted before.
How can I fix that?
bye
Damien
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s