tags:

views:

202

answers:

1

i want to display a radio button into my from so i did:

 SQLField('active',requires=IS_IN_SET(('True','False')),widget=SQLFORM.widgets.radio.widget)

but it display an error:

AttributeError: 'NoneType' object has no attribute 'widget'

So how can fix it??

Is there any solution to display radio buttons into my from?? Thanks in advance

Neveen Adel

A: 

You may be running a very old web2py version. Please bring this up on the web2py mailing list.

mdipierro