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/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Not getting values from multiselect box after form validation applied. (/thread-40061.html)



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