Re: Quickform "Re-edit"
| From: | Dan Wilson | Date: | Tue, 04 Feb 2003 19:52:26 +0000 |
| Subject: | Re: Quickform "Re-edit" | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3602@lists.php.net to get a copy of this message | ||
Doh! I didn't think I was, so I searched and sure enough, the if statement
wasn't accounting for my edit status.
Thanks,
-Dan
Quoting Bertrand Mansion <bmansion@mamasam.com>:
> <dan@acucore.com> wrote :
>
> > I am trying to use HTML_Quickform and can't seem to get one thing to work.
> >
> > I have built a form and everything works great when saving/submitting the
> > form. But after the 'frozen' form is displayed, I want to allow the user
> to
> > then click another button to immediately edit it again (in case they
> realize
> > they have mis-type something, etc).
> >
> > So I change my 'flag' to indicate that I want to 'edit' the form
> > (which
> loads
> > all the defaults from the database), but the form is still frozen.
> >
> > How can I 'un-freeze' the form to display the input rather than the frozen
> > display?
>
> Just don't call freeze() :)
>
> Bertrand Mansion
> Mamasam
>
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>