Here you will find some answers :

http://wiki.web2py.com/Form_Select_Options_from_DB

<http://wiki.web2py.com/Form_Select_Options_from_DB>For your drop down you
have to define : requires=IS_IN_SET(['red',
'green', 'blue']) instead of requires=IS_IN_SET(['Non-Fiction',
'Fiction', 'Childrens'])

Hope this help!

Richard

On Sat, Dec 4, 2010 at 6:23 PM, VP <[email protected]> wrote:

> I'd like to use FORM(...) to create forms with radio boxes, drop-down
> options, etc.  But I can't find any document on how to do this.
>
> For example, if I'd like a drop-down option for 'red', 'green',
> 'blue', how do I do this using FORM?
>
> Thanks.

Reply via email to