quickform concept and redirect?
| From: | Sebastian Ossio | Date: | Mon, 19 Jan 2004 18:39:34 +0000 |
| Subject: | quickform concept and redirect? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10226@lists.php.net to get a copy of this message | ||
I think I misunderstand the concept of quickform. I have seen the examples and allways wonder how you people redirect to the next side. Or don't you?
I mean, when I make a form and process it I would like to get to a congratulations page, or have a next form, in my case I wan´t to redirect the user to the same page with an extra GET variable because I want to have more than one form in my page.
But I cannot use a redirect after my process part because of the nature of Quickform. From what I understand quickform, reloads the page on submit, until it comes to the validation and then hopefully the process part, so in callback function on the process a redirect is not possible. Because unless I´m mistaken redirects only work when headers haven´t allready been sent. So what do you guys do after process? Do you all use just one page? or do you use Quickform Controller all the time?
Sebastian Ossio