<input type="checkbox" name="color" value="red">Red<br> <input type="checkbox" name="color" value="yellow">Yellow<br> <input type="checkbox" name="color" value="blue">Blue<br> <input type="checkbox" name="color" value="orange">Orange<br> <input type="checkbox" name="color" value="green">Green<br> <input type="checkbox" name="color" value="purple">Purple<br>
If I check more than one item request.vars.color is a list If I check only one item request.vars.color is a string It's easy enough to type check it but was just curious if it is by design. It threw me off because my loop that was returning single letters when I selected only a single item :) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

