set_value with checkbox - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: set_value with checkbox (/showthread.php?tid=41704) |
set_value with checkbox - El Forum - 05-14-2011 [eluser]Unknown[/eluser] Hello my english es very bad, so i will be brief. set_value can be used with checkbox? I tried this Code: form_checkbox('generos[]', $genero->id, set_value(FALSE)) but the fields are not filled again. is this possible or not? thanks. set_value with checkbox - El Forum - 05-14-2011 [eluser]Armchair Samurai[/eluser] Use set_checkbox(), not set_value() - check the [url="http://ellislab.com/codeigniter/user-guide/helpers/form_helper.html"]User Guide[/url] |