Maybe you want this : http://www.web2pyslices.com/slice/show/1616/widget-select-or-add-option-ng
Or you can forge you own widget with tag-it : http://aehlke.github.io/tag-it/ Richard On Tue, Aug 19, 2014 at 8:07 AM, Dragan Matic <[email protected]> wrote: > Unfortunately that won't work, if you recreate the form it does not > self-submit, in fact in that case submit button does nothing, try this - it > won't work: > > form=SQLFORM.factory( > Field('some_text', 'string')) > > if form.accepts(request): > form=SQLFORM.factory( > Field('some_text', 'string')) > > return dict(form=form) > > > > > On Sunday, August 17, 2014 3:58:58 PM UTC+2, Kirill Shatalaev wrote: > >> Why not recreate form again? >> if form.vars.field1==None >> dictionary_of_typed_values.append(form.vars.field2)... or something >> like >> form=.... >> return dict(form=form) >> >> ? >> > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.

