There is a rating widget in T3 that you can transplant into your
project fairly easily.  Unfortunately web2py.com is down so you can't
download T3 right now.  You can also try using a jQuery plugin to
transform the radio button collection such as this:
http://orkans-tmp.22web.net/star_rating/index.html#demos


On Aug 20, 7:42 am, Marco <[email protected]> wrote:
> Hello everyone!
>
> I am working on an application that requires users to rate items. I'm
> storing the rating as a numerical value, in a field like this:
>
> Field('rating','integer',requires=IS_IN_SET(range(1,6)),
> widget=SQLFORM.widgets.radio.widget)
>
> As you can see, the rating is on a five-point scale. I'm currently
> using the radio widget for this, but the default display I am getting
> for it is five radio buttons in a column. I'd like a more attractive
> and intuitive widget, something exactly like 'rate this post' provided
> by google-groups. Searching google as well as the group for 'rate
> widget' and 'ratings widget' gives no results. Is there something like
> this already in web2py? If not, would you be so kind as to offer some
> tips on how to implement it?
>
> Thanks in advance!
> Marco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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