Field('b_or_w', 'string', length=1, widget=SQLFORM.widgets.radio.widget,
requires=IS_IN_SET(*[('b', 'black'),('w', 'white')]*), default='b')

On Tue, Mar 27, 2012 at 12:56 PM, Larry Wapnitsky <[email protected]> wrote:

> Field('b_or_w', 'string', length=1, widget=SQLFORM.widgets.radio.widget,
> requires=IS_IN_SET(['b','w']), default='b')
>



-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to