can anyone figure out something going wrong here?

i'm trying to get radio buttons that return True/False but show Yes/No
to the user. these buttons look good but no matter what you select,
they return True. this happens in appadmin, so there's nothing strange
in my view code.

    Field('isComplete', 'boolean', default=None,
widget=SQLFORM.widgets.radio.widget,
requires=IS_NULL_OR(IS_IN_SET([True, False], ['Yes', 'No']))),

any thoughts?

thanks,

matt

Reply via email to