i have used @auth.requires_login() before def index():
which works perfectly,i.e.,first you have to login to give some input..
But i want to save in my database how many people and their information in
a database.. How may i do it? Pls help asap
--
Resources:
- http://web2py.com
-
Have you tried the radio widget -- SQLFORM.widgets.radio.widget
(see http://web2py.com/book/default/chapter/07#Widgets).
Anthony
On Saturday, November 26, 2011 4:00:06 PM UTC-5, dlypka wrote:
When I create several radio buttons in a web2py form, they do not auto
deselect when another is
All of the input tags need to have the same name value.
input type=radio name=group1 value=Milk Milkbr
input type=radio name=group1 value=Butter checked Butterbr
input type=radio name=group1 value=Cheese CheeseBr
Matt
More generally, if you give all the radio input elements the same value
for the 'name' attribute, the browser will allow only one to be selected at
a time.
Anthony
On Saturday, November 26, 2011 4:25:54 PM UTC-5, Anthony wrote:
Have you tried the radio widget -- SQLFORM.widgets.radio.widget
Thanks - I had not noticed that fact hidden underneath the ASP.NET
controls all these years.
On Nov 26, 3:31 pm, Anthony abasta...@gmail.com wrote:
More generally, if you give all the radio input elements the same value
for the 'name' attribute, the browser will allow only one to be selected at
5 matches
Mail list logo