I made some major changes in the handling of checkboxes following the
guidelines of Bill's patch.
Now you can do:

INPUT(_name='x',_type='checkbox',value=True) #default on - new
INPUT(_name='x',_type='checkbox',value=False) # default off - new
INPUT(_name='x',_type='checkbox',value='on,_value='on') # default on -
backward compatible
INPUT(_name='x',_type='checkbox',value='',_value='on') # default off -
backward compatible

I think it works and should not break anything but I please test it
before I release it next week!

Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to