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.