Re: QuickForm reload for editing
| From: | I. M. Bur | Date: | Fri, 07 Jan 2005 15:19:35 +0000 |
| Subject: | Re: QuickForm reload for editing | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16784@lists.php.net to get a copy of this message | ||
> While processing a correctly filled out form, I'd like to echo back the
> submitted info as a frozen form, and then allow the user to select options:
>
> 1. actually submit the data for processing
> 2. go back to the form, with all the data available for editing.
> 3. abandon the form
>
> 1 and 3 are easy. What can I put in there to send myself back around
> again. It feels like I need to simulate failing validation.
You can achieve this behavior using the HTML_QuickForm_Controller
package, which allows you to build a multipage form (that's what you
want, according to your description).
http://pear.php.net/manual/en/package.html.html-quickform-controller.intro.php
--
I. M. Bur
buralien@gmail.com