Are you trying to create an ajax form submit? If so, you should be wrapping
the form with the zone. As far as the confirm dialog goes, you could either
use a confirm mixin or if you chose to use a zone style approach, on submit
return another zone for your confirm dialog.

On Wed, Dec 10, 2014 at 3:47 AM, Carlos Gómez Montiel <ibe...@gmail.com>
wrote:

> Hi there
>
> How can I prevent ajax form's event submit when the user clicks a submit
> button?
> I need to prevent the event for show an confirm dialog before it will be
> submited.
>
> My form:
>
> <t:form t:id='form1' t:zone='zone1'>
>     <t:submit value="send"/>
> </t:form>
>
> <t:zone t:id='zone1' id='zone1'>
> </t:zone>
>
> Thanks in advance
>



-- 
George Christman
CEO
www.CarDaddy.com
P.O. Box 735
Johnstown, New York

Reply via email to