07-20-2007, 10:16 AM
[eluser]Référencement Google[/eluser]
Hi,
I have a very simple problem on how to handle that simply with CI. I would like some checkboxes checked attribute to be checked by default (when loading the page the first time)
If I make that:
There is no options that the checkbox have to be already checked before posting.
How to do it ?
Christophe
Hi,
I have a very simple problem on how to handle that simply with CI. I would like some checkboxes checked attribute to be checked by default (when loading the page the first time)
If I make that:
Code:
<input class="checkbox" id="alow_pub" name="alow_pub" type="checkbox" value="1"<?=$this->validation->set_checkbox('alow_pub', '1')?> />
How to do it ?
Christophe