[eluser]entropy[/eluser]
I have a form with a checkbox:
Code:
echo form_checkbox(array(
'name' => 'terms',
'id' => 'terms'
),'',False);
I will spare you the whole code. When I submit the form, the controller that receives the post always has the checkbox value FALSE whether it was checked or not.
Code:
if($this->input->get_post('terms'))
array_push($err,'true');
else array_push($err,'false');
The $err array (test array) has the value always set to FALSE and the strlen of the value set to 0.
It is as if the value of the checkbox never makes it to the submit-controller. How is this possible? I double-checked everything!