Hello Oscar,

yes, that fix my problem

thanks

On 6 avr, 01:35, oscar balladares <liebegr...@gmail.com> wrote:
> This is not especific to PR10,
>
> if you do {{ form_field(form) }} it will output everything needed (errors,
> hiddens, labels, and fields)
> But if you access each filed like:
>
> {{ fom_field(form.somePropertyName) }}
> {{ form_error(form.somePropertyName) }}
>
> etc...
>
> then you must explicity render the hidden fields.
>
> Hope this solve your issue.
>
> Regards!
>
> 2011/4/5 oscar balladares <liebegr...@gmail.com>
>
>
>
>
>
>
>
> > You must render the hiddens fields.
>
> > twig:
> > <form .... >
> > {{ form_hidden(form) }}
> > .....
> > <input type='submit' />
> > </form>
>
> > 2011/4/5 symfonyMan <ezziani.cha...@gmail.com>
>
> >> Hello,
>
> >> i got this error when i try to submit my form. The CSRF token is
> >> invalid. Please try to resubmit the form
>
> >> it worked good in PR8 and when i updated to PR10 ...
>
> >> 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 symfony-users@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> symfony-users+unsubscr...@googlegroups.com
> >> 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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to