Re: Re: QuickForm and submit processing

From: Date: Sat, 13 Aug 2005 05:49:06 +0000
Subject: Re: Re: QuickForm and submit processing
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20405@lists.php.net to get a copy of this message
On 8/12/05, zorro <google@zguy.homeunix.com> wrote: > zorro 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? > > What I would like is some way to have a javascript function called > onsubmit but after the validation javascript is successful. > > Can this be done? > Yes. -- Justin Patrin

« previous php.pear.general (#20405) next »