You can use SQLFORM.factory if you don't have a db table. For a radio 
button, I suppose you could specify the radio widget for a given field 
(see http://web2py.com/book/default/chapter/07#Widgets), or you could build 
the HTML manually (review the details 
at http://web2py.com/book/default/chapter/07#Custom-forms).

Anthony

On Tuesday, October 11, 2011 7:25:29 AM UTC-4, Web2Py Freak wrote:
>
> when using  sqlform-in-html  ,do i have to use a table in the db ,, 
> and how can i create a radio button from there ?

Reply via email to