Re: QuickForm and submit processing
| From: | Justin Patrin | Date: | Fri, 12 Aug 2005 23:16:52 +0000 |
| Subject: | Re: QuickForm and submit processing | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20400@lists.php.net to get a copy of this message | ||
On 8/12/05, zorro <google@zguy.homeunix.com> wrote:
> If I have a HTML_QuickForm with client side validation then it will have
> an "onsubmit" that points to the validation javascript in the
> resulting page. Now if I want to add an "Are you sure?" confirmation
> dialog after the client side validation has passed, how can I do that?
>
You can always let the data submit to the server and re-display the
form, frozen, with a hidden field or a button which lets your script
know that the form has been approved.
--
Justin Patrin