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 }
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
What do you have in your view? are you using any JavaScript to manage the
form submission?
--
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,
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,
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
6 matches
Mail list logo