Massimo, what do you think about putting the rating widget from T3 in
web2py?

On Jun 23, 12:01 pm, mdipierro <[email protected]> wrote:
> 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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to