[eluser]helloworldly[/eluser]
Hello,
I am having the same issue. What was your solution exactly?
I'm using CI's form validation. I'm having an issue of getting set_checkbox() working when using multiple checkboxes as an array.
Code:
// more code
<input type="checkbox" value="ABC" name="group[]" <?php echo $this->validation->set_checkbox('group[]', 'ABC'); ?> />
<label>ABC</label><br/>
<input type="checkbox" value="XYZ" name="group[]" <?php echo $this->validation->set_checkbox('group[]', 'XYZ'); ?> />
<label>XYZ</label><br/>
// more code
And
Code:
<input type="checkbox" value="XYZ" name="group[]" <?php echo $this->validation->set_checkbox('group', 'XYZ'); ?> />
isn't working for me either.
Thanks for any help.