Re: QFC - how do you validate and then buildForm() ?
| From: | Alexey Borzov | Date: | Thu, 27 Jan 2005 17:12:13 +0000 |
| Subject: | Re: QFC - how do you validate and then buildForm() ? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17214@lists.php.net to get a copy of this message | ||
Hi,
Matt Flaherty wrote:
This is my first post to this list (I think). I have a custom QFC action whose effect is to alter the way the form is built. I do not want to process the action unless the form is valid though, but this requires me to build the Page first using Page::buildForm(). This poses a dilemma, as no matter what I try I can not seem to rebuild the Page differently to the way it was first built. Does anyone have a workaround? Much appreciated.I suggest making *two* different pages, triggered by this particular action. IIRC, there is an example for this in QFC.