set_value/set_checkbox not keeping the checkbox checked if the form is reloaded. |
[eluser]Brad K Morse[/eluser]
code for creating the checkboxes step_id[] - it needs to have the name step_id[] Code: foreach ($steps as $r) { Screenshot of what it looks like I also tried set_checkbox with no luck. I copied this right from http://ellislab.com/codeigniter/user-gui...elper.html, and it didn't even work. Code: <input type="checkbox" name="mycheck" value="1" <?php echo set_checkbox('mycheck', '1'); ?> /> The other fields in the form retain the data, but not the step_id[] checkbox, any help is appreciated. |
Messages In This Thread |
set_value/set_checkbox not keeping the checkbox checked if the form is reloaded. - by El Forum - 12-09-2010, 02:40 PM
set_value/set_checkbox not keeping the checkbox checked if the form is reloaded. - by El Forum - 12-09-2010, 03:21 PM
set_value/set_checkbox not keeping the checkbox checked if the form is reloaded. - by El Forum - 12-09-2010, 03:38 PM
set_value/set_checkbox not keeping the checkbox checked if the form is reloaded. - by El Forum - 12-09-2010, 03:45 PM
set_value/set_checkbox not keeping the checkbox checked if the form is reloaded. - by El Forum - 12-09-2010, 04:07 PM
set_value/set_checkbox not keeping the checkbox checked if the form is reloaded. - by El Forum - 12-09-2010, 04:09 PM
set_value/set_checkbox not keeping the checkbox checked if the form is reloaded. - by El Forum - 12-09-2010, 04:13 PM
set_value/set_checkbox not keeping the checkbox checked if the form is reloaded. - by El Forum - 12-09-2010, 04:57 PM
|