[eluser]Unknown[/eluser]
After submitting my form, this is what I see:
When I print_r($_POST) I see my variable 'shipping_option' and it's value => 'same'.
When I print_r($this->input->post('shipping_option')) I see it's value 'same'.
When I look at my smarty console I see my records for this field:
[shipping_option] =>
[shipping_option_error] => The shipping option field is required.
My rule is: 'shipping_option' => 'required|isset'
My field is: 'shipping_option' => 'shipping option'
I load the following in my controller construct:
$this->load->helper(array('form', 'url'));
$this->load->library('validation');
For the life of me I can't figure out why $this->validation doesn't pick up my 'shipping_option' field. All other fields in my form are fine.
NB: This input-radio button ('shipping_option') has a jQuery.onchange event attached to it which performs an ajax call and retrieves shipping carrier options based on the shipping address provided by the ajax post values.
Any help would be greatly appreciated. Let me know if you need more info. I've been banging my head on this for a few days now...