[web2py] Re: populate form with just-submitted values

2014-11-07 Thread John Lofgren
Thanks very much, Leonel! I found that adding keepvalues=True as an argument to form.process() was what I needed. >>> if form.process(keepvalues=True).accepted: ... <<< John On Thursday, November 6, 2014 6:14:56 PM UTC-6, Leonel Câmara wrote: > > FORM has keepvalues=True, you can pass attri

[web2py] Re: populate form with just-submitted values

2014-11-06 Thread Leonel Câmara
FORM has keepvalues=True, you can pass attributes to SQLFORM or SQLFORM.factory and if they aren't options for SQLFORM they're passed to the form. So really all you have to do is add keepvalues=True. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/