CodeIgniter Forums
Not getting values from multiselect box after form validation applied. - 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: Not getting values from multiselect box after form validation applied. (/showthread.php?tid=40061)



Not getting values from multiselect box after form validation applied. - El Forum - 03-29-2011

[eluser]Reneesh T K[/eluser]
I was a problem with handling multi select box. After applying the form validation(Form_validation.php), when trying to get the value from the select box using $this->input->post(select box) it is giving a null value.

I have corrected this problem by editing a function in the Form_validation.php page in system/libraries folder. We can see the new function here:

http://reneeshtk.000a.biz/index.php/home/fixing-multi-select-box-issue-in-codeigniter