Re: [web2py] Re: Loop on form.process(). Validation is not done

2012-09-14 Thread Luis Furtado
No, I don't manage the form submission. Just use jQuery to: 1. fill in user_id 2. populate a select dropdown depending on an option on another select 3. add some titles in the form -- index.html {{ extend 'modelo.html' }} {{ =response.toolbar() }} R_ID = {{ =session.r_id }

[web2py] Re: Loop on form.process(). Validation is not done

2012-09-14 Thread Massimo Di Pierro
Make sure you are using 2.0.9 because there is a subtle issue in 2.0.x (x<9) which may affect the behavior in your case. On Friday, September 14, 2012 9:04:49 AM UTC-5, Luis Furtado wrote: > > I'm calling session.forget() to try and fix the problem, but it didn't. > Anyway, the problem was there

Re: [web2py] Re: Loop on form.process(). Validation is not done

2012-09-14 Thread Bruno Rocha
What do you have in your view? are you using any JavaScript to manage the form submission? --

[web2py] Re: Loop on form.process(). Validation is not done

2012-09-14 Thread Luis Furtado
I'm calling session.forget() to try and fix the problem, but it didn't. Anyway, the problem was there before that. I just removed it and it made no difference. The whole behaviour of the app is variable. Sometimes it does the validation phase and then I fill it w/o errors and, after submitting,

[web2py] Re: Loop on form.process(). Validation is not done

2012-09-14 Thread Massimo Di Pierro
An Niphlod implies, session.forget() breaks the form logic. Unless you do form.process(session=False) On Thursday, 13 September 2012 13:43:30 UTC-5, Luis Furtado wrote: > > Hello, > When I submit the form no validation errors are shown and, after a few > seconds, it just shows the form again,

[web2py] Re: Loop on form.process(). Validation is not done

2012-09-14 Thread Niphlod
why are you calling session.forget() ? On Thursday, September 13, 2012 8:43:30 PM UTC+2, Luis Furtado wrote: > > Hello, > When I submit the form no validation errors are shown and, after a few > seconds, it just shows the form again, totally blank even if I had filled > some fields. > If I inclu