Hi,

I have a screen transaction that uses a select drop down list that i
create myself using code in my controller. All works well except when
I have an error on another field, Web2py highlights the error on
screen, but if I've made a selection using the drop down list, the
selection made (if different from the original stored value)  is not
kept and the dropdown returns to the original value.

If I have errors in a form, how do i pass the value selected on a page
to the routine in my controller that generates the drop down?

I thought it was form.vars.fieldname - but it doesn't seem to work :O(

How do I capture the 'last submitted' values on a form so I can re-
display them on a form or use them in my controller?

Any suggestions?

Paul.

Reply via email to