HTML_QuickForm2: Get notified when the form has been validated

From: Date: Thu, 20 May 2010 17:20:25 +0000
Subject: HTML_QuickForm2: Get notified when the form has been validated
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-53487@lists.php.net to get a copy of this message
Hi all, My QF2 Captcha element stores the current captcha question and answer in session, and also if the captcha has been solved or not. This behavior means that the developer has to remember to clean up the QF2 captcha session after the form has been validated - otherwise, the form can be re-transmitted again and again, without the need for solving the captcha again. It would be ideal if my captcha element would be notified when the whole form is valid. Then it could clear the session itself. Currently this is not possible. Thoughts? -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.dev (#53487) next »