In a controller I have a function that generates a form_factory form.

form=form_factory(SQLField('company'),\
    SQLField('gender',requires=IS_IN_SET(['Mr.','Mrs']),
    SQLField(...),

The IS_IN_SET() renders as a drop box, I would like it to render as
radio buttons. I read this AlterEgo item: 
http://www.web2py.com/AlterEgo/default/show/170,
but that's based on a table. Is it possible to do this in
form_factory?


Kind regards,

Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to