[web2py] Re: Howto prepopulate a sqlform's drop-down field

2014-10-22 Thread Tim Sando
Wasn't wasted, as I needed to know how to do this, and your code worked! Cheers! (~3 years later...) -- 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

[web2py] Re: Howto prepopulate a sqlform's drop-down field

2011-06-10 Thread tomt
Hello again, I withdraw my question as I managed to get the obvious working: form.vars.cpaid = 6 # or whatever id is required I failed to get this working earlier, so I mistakenly assumed that the solution was more complex. I must have made some dumb mistake that disabled proper operation. So