RE: [PEAR] QFC - calling an validation error

From: Date: Wed, 21 Jan 2004 11:54:25 +0000
Subject: RE: [PEAR] QFC - calling an validation error
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10270@lists.php.net to get a copy of this message
Hi! does really nobody know how to? Actually this should not be too difficult I think ... I just want "isValid" to return false for that page and set a validation error so that the controller will go back to that page regards Daniel > -----Original Message----- > From: Daniel Kopp [mailto:pear@daniu.de] On Behalf Of Daniel Kopp > Sent: Tuesday, January 13, 2004 3:14 PM > To: pear-general@lists.php.net > Subject: [PEAR] QFC - calling an validation error > > Is it possible to tell the controller that there is an > "error" in a form manually? > > Background: > I am working with very complex forms that have numerous > Buttons which have different requirements. So I cannot define > the "rules" in the form itself but have to check before doing > something with the data. So it would be great to just tell > the controller that he should go back to the form and output > some kind of error.

« previous php.pear.general (#10270) next »