In both the API and the Symfony book, I see checkbox_tag examples like
this:
/ Check box
<?php echo checkbox_tag('single', 1, true) ?>
<?php echo checkbox_tag('driverslicense', 'B', false) ?>
=> <input type="checkbox" name="single" id="single"
value="1"checked="checked" />
<input type="checkbox" name="driverslicense"
id="driverslicense"value="B" />
However, using true or false doesn't seem to work for me. Im using the
values 1 and 0 instead.
I wanted to run this by the list to make sure Im not doing something
wrong before opening a ticket against the docs.
Anybody else have the same experience?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---