So the manual is wrong and it should be:
1) give each form a different name
2) pass session to accepts


On 5 nov, 18:42, mdipierro <[email protected]> wrote:
> Session is still needed to prevent double submission. But you can have
> multiple forms on the same page as long as they have different names.
>
> On Nov 5, 4:56 pm, Richard <[email protected]> wrote:
>
> > That's good to hear. If session is not needed to prevent double
> > submission then what does it do for a single form?
> > Richard
>
> > On Nov 6, 1:49 am, mdipierro <[email protected]> wrote:
>
> > > That is no longer an issue.
>
> > > On Nov 5, 6:07 am, Markus Gritsch <[email protected]> wrote:
>
> > > > Some time ago I had the impression, that it is just wrong in the
> > > > documentation, see:
>
> > > >    http://groups.google.com/group/web2py/msg/f4e22ac503828220
>
> > > > Markus
>
> > > > On 3 Nov., 23:25, Richard <[email protected]> wrote:
>
> > > > > Hello,
>
> > > > > on p188 of the docs it says "when multiple forms are present on the
> > > > > same page, the mechanism for preventing double submission breaks, and
> > > > > you must omit the session argument when calling the accepts method".
>
> > > > > I was wondering why this is, and if there is an alternative way to
> > > > > prevent double submission with multiple forms.
>
> > > > > Thanks,
> > > > > Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to