please take a look at the book : http://web2py.com/books/default/chapter/29/11#Voting-and-rating
and do a little modification on the table should have field to store the user clicked and on controller that check condition if the user ever clicked. best regards On Wednesday, May 8, 2013 6:34:41 AM UTC+7, sasogeek wrote: > > How do I make a counter? basically i want to make a button that increases > a counter number when it is clicked... more like a voting button. anytime > it is clicked, the counter goes up by one. and every user can click the > vote button only once... How do I achieve that.... -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.