you can also so

form=form_factory(SQLField('name'))
form.table.name.widget=radioboxes

has anybody made a radioboxes widget? I was about to make one now.

On Jun 23, 11:37 am, DenesL <denes1...@yahoo.ca> wrote:
> Yes but you have to pre-define the fields that need widgets before
> calling form_factory.
>
> gender=SQLField('gender', requires=...)
> gender.widget=radioboxes #e.g.
>
> form=form_factory(..., gender, ...)
>
> Denes.
--~--~---------~--~----~------------~-------~--~----~
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