[web2py] Re: Form Checkbox how to Use efectively

2010-05-17 Thread DenesL
On May 13, 5:23 pm, Andrew Evans wrote: > hello I have a form I would like to use multiple check boxes to select > data to use. I am not using any sql > > an example of how I am generating the check boxes > >  TR(INPUT(_type="checkbox", name="browser"), "Browser"), >         TR(INPUT(_type="chec

[web2py] Re: Form Checkbox how to Use efectively

2010-05-17 Thread Andrew Evans
Ok I figured it out for reference I will post here to check if a checkbox has been checked do this if session.the_checkbox_name == "on": expression Cheers Andrew On Fri, May 14, 2010 at 1:32 PM, Andrew Evans wrote: > Hello I have been doing research and still trying to figure how to

[web2py] Re: Form Checkbox how to Use efectively

2010-05-14 Thread Andrew Evans
Hello I have been doing research and still trying to figure how to check if a check box is checked This is what I have but it doesn't work.. I think the values are not passed myDimensions = [] if session.browser and session.browser == "on": myDimensions.append("browser") myMetrics