I was hoping to avoid those tricks. I too have done this by storing values in the session to be redisplayed. I was hoping that the keepopts argument to SQLFORM would allow you to specify which fields to keep, but it seems that is used for something else.
On Thu, Apr 30, 2020 at 11:48 AM Scott Hunter <[email protected]> wrote: > I recall doing this by "pre-populating" the field you want to keep with > the old value. > > - Scott > > On Thursday, April 30, 2020 at 11:10:42 AM UTC-4, Jim S wrote: >> >> Does anyone know how I can have a form 'keepvalues' but only keep one >> specific field value? I don't want it to keep the values for all the >> fields, just for the one specific field. >> >> Anyone tried this before? >> >> -Jim >> > -- > 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 received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/tgTvG8OqWso/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/b4575285-7562-4a55-9470-0adfcbe354f1%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/b4575285-7562-4a55-9470-0adfcbe354f1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAERBpoBXKf4CXQuuWiLQ%3DErYpLW%3DpZrq_EQc7z3Axbs-TXdN6w%40mail.gmail.com.

