I have the following code in my model augmenting auth_user. auth.settings.extra_fields['auth_user'] = [ Field('is_club_member', 'boolean' , default=False, writable=True, readable=True, label=T('Are you a Club Member?'), requires=[IS_IN_SET([T('Yes'),T('No')])], widget=SQLFORM.widgets. radio.widget), Field('is_club_admin', 'boolean', default=False, writable=True, readable=True, label=T('Are you an Club Admin?'), requires=IS_IN_SET([T('Yes'),T('No')]), widget=SQLFORM.widgets. radio.widget) ]
when displayed in the forms it shows perfect BUT when I enter information it always appear as TRUE no matter what I choose and the default is not pre-selected... So is "boolean" the right field type for this kind of widget? Why is it not enforcing the default=False attribute? -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.