You will need javascript, if you want a confirm box before submitting.

And by the way: submit_tag also used JS.

On Sun, Dec 26, 2010 at 12:58, jimpass <[email protected]> wrote:
> Hi,
> I'd like to have a confirm dialog box when i submit my form ,
> something like this : <?php echo submit_tag('save','confirm=Are you
> sure?') ?>
>
>  it seems that i can't use the submit_tag in my _form template with
> symfony 1.4, and i prefer do not use javascript, someone can help me ?
> Thanks
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to