I appear yo be able to submit all forms in various combinations (i.e.
3 forms on a page, two to one controller, the other to another) - its
just a validation thing I think. All controllers for the page must
have the SecurityComponent.

Probably should raise a trac, but I haven't had time to investigate
all the options yet.

~GreyCells

On Jul 10, 11:50 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 10, 10:53 am, GreyCells <[EMAIL PROTECTED]> wrote:
>
> > I'm starting to use the SecurityComponent in 1.2 mainly to ensure
> > integrity of hidden fields and/or additional fields. All works well
> > but when there is more than one $form->create() per page, the same
> > value is used for the hidden TokenFieldsnnnnnnn id attribute. Although
> > this workd functionally, it obviously means the document fails
> > validation.
>
> > Is this expected behaviour SecurityComponent, or have I missed (yet
> > another) trick?
>
> Hi GreyCells,
>
> Don't think it's deliberate but i noticed that too, and would also
> like it to not do that :).
>
> Were you not finding that if using the security component only the
> first form created (or maybe even neither, don't remember what I
> found) was possible to submit successfully?
>
> Cheers,
>
> AD
>
>
>
> > ~GreyCells


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to