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