QFC - calling an validation error
| From: | Daniel Kopp | Date: | Tue, 13 Jan 2004 14:14:17 +0000 |
| Subject: | QFC - calling an validation error | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10146@lists.php.net to get a copy of this message | ||
Hi!
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.
Any ideas?
regards
Daniel
PS.: I am moving my Domain - so maybe my Email won't work in the next days.
Sorry for the inconvenience!