Hello
I have a SQLform.grid and when validating fields i have some issues
so to come around i have
if request.args and request.args[0] in ['edit', 'new']:
if form.update_form:
if form.update_form.accepts(request.vars):
print request.vars
print request.args
session.flash = T('Diagnoza postavljena')
redirect(URL())
the problem is that reques.vars is not including fileds that are of type
boolean
therefore i did a workaround and whn bool field is set as string it does
but i want to change the text field to be checkbox
any suggeestion? Either on getting the bool value or changing the field to
be checkbox
Thank you
--
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/55aa4f8e-7da4-48c6-a526-f074f6aaa9acn%40googlegroups.com.