On Tuesday, January 10, 2017 at 3:07:17 PM UTC-8, Sankhajit Das wrote:
>
> I am a very beginner in web2py. so can ne1 pls help me with how to create 
> radio buttons in web2py and link them with database?
>

If you're using SQLFORM(), there's a widget for radio buttons:
<URL:http://web2py.com/books/default/chapter/29/07/forms-and-validators#Widgets>

SQLFORM.process() takes care of updating the database, too, for the table 
that you create it for.  If you're not familiar with SQLFORM(), the image 
blog example is a good place to start (but doesn't show radio buttons).
<URL:http://web2py.com/books/default/chapter/29/03/overview#An-image-blog>


/dps
 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to