CodeIgniter Forums
$this->validation->field_value problem - 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: $this->validation->field_value problem (/showthread.php?tid=9262)



$this->validation->field_value problem - El Forum - 06-18-2008

[eluser]Computerzworld[/eluser]
I am having a combobox which is created in controller dynamically on change event of other combo and passed to view using ajax. But when I select its value and if I have not entered other field's value and if I submit the form the combo gets deselected again. I have written $this->validation->combovalue = $data->combovalue for the selection purpose. But it doesn't works in my controller. It works perfectly in view. How can I solve it? please help me. Thanks in advance.