CodeIgniter Forums
Save URL parameter when $this -> form_validation -> run() == FALSE - 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: Save URL parameter when $this -> form_validation -> run() == FALSE (/showthread.php?tid=60811)



Save URL parameter when $this -> form_validation -> run() == FALSE - El Forum - 07-03-2014

[eluser]Unknown[/eluser]
Hi people.

I have a question about form validation process, I have a function where I recive a parameter but when there is any validation error in the form it's load the vew again showing the error, but I lost the parameter value.

for example localhost/controller/function/parameter.
$this -> form_validation -> run() == FALSE redirects me to localhost/controller/function/ without the parameter.

Any suggestiones?

Thanks a lot for your help.