> On Monday, June 6, 2011 9:15:27 PM UTC-4, Gwayne aka Mike Veltman wrote: > > And that was it... > > > > Thank you very much. Mmmm, this should go in the book.. > > There's also this method of pre-populating a form field: > http://web2py.com/book/default/chapter/07#Pre-populating-the-form
Yes I know, but I did read in the mailing list that that was not a smart idea. Also those vars do not exist before I create the form. So you would get a error if you do so. I still have one problem that if I do keepvalues=True it will not override. So there I probably have to use the form.vars.name = "fieldvalue" trick Lets test that. With regards, Mike Veltman