Again, it might help to see more code. For example, are you calling 
session.forget() at any point? What does the session look like at each 
stage (i.e., as each form is created and as each is submitted)? It sounds 
like the formkey for each form is not in the session, but not clear why.

Anthony

On Tuesday, June 7, 2016 at 7:55:23 AM UTC-4, Manuele wrote:
>
> Il 07/06/16 13:07, Anthony ha scritto: 
> > We may need to see more code. Do all the forms load on the page? If 
> > so, what happens in the browser network tab when you submit one of 
> > them? If the Ajax calls are being made properly, what happens on the 
> > server in the controller (i.e., where in the code does it fail, and 
> > what does the session look like at each stage)? 
> > 
> > Anthony 
>
> well, it does not really fail... if I submit one of the forms all 
> parameters are correctly sent to the controller but I the form 
> validation silently fails (i.e. form.validate(...) returns False with an 
> empty form.vars.errors storage object). 
>
> The only way I found just now to make it run as expected (to me, off 
> course ;) ) is setting up the session parameter of the validate method 
> of the form to None. But I understand from the manual it's not a safe 
> practice... 
>
>     M. 
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to