CodeIgniter Forums
set_value and validation - 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: set_value and validation (/showthread.php?tid=43789)



set_value and validation - El Forum - 07-23-2011

[eluser]Unknown[/eluser]
I have an application that has a form which had validation for all fields and I was using the set_value to pass values to the db and to the inputboxes. The client then said they dont want any validation except for 1 field so I commented out all the validation rules the other fields. After this was done the form stopped working apparently set value didn't contain any value. If I un-comment the validation rules everything works as expected. Is there a requirement to have validation to use set_value? any idea here?


set_value and validation - El Forum - 07-24-2011

[eluser]Sudz[/eluser]
if you do not want any validation then just ingore "set rules" for that particular field