I am working on a project using Symfony 1.2.0

In my action I have instantiated an sfForm.

I have the following line in the template: <?php echo $myForm[$myForm-
>getCSRFFieldName()]; ?>

That is outputting the following: <input id="myForm__csrf_token"
type="hidden" name="myForm[_csrf_token]"/>

As you can see, there is no value on the csrf field, so when it
submits it can never validate.

I have done this before without problems. Anyone got an idea why it is
not rendering a value for the csrf field?

Thanks for any help.
--~--~---------~--~----~------------~-------~--~----~
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