CodeIgniter Forums
form validation error message not work currectly - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11)
+--- Thread: form validation error message not work currectly (/showthread.php?tid=77322)



form validation error message not work currectly - isweet479338 - 08-16-2020

Angry  in my project i want to show validation custom error message. 

in my method 
1st call validation libery
2nd validation set rules 
3rd in password fields are requaird and min len 8
4th run validation 

but work like this
error say password requaird not focus on min lan and when i input password as text then alredy say password requird. 
is any link about this


RE: form validation error message not work currectly - Omar Crespo - 09-06-2020

Be sure that the name of your inputs match with the field in the rule, if not, you'll get that kind of problem.