Validation library usage for form validation. Need help - 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: Validation library usage for form validation. Need help (/showthread.php?tid=34012) |
Validation library usage for form validation. Need help - El Forum - 09-15-2010 [eluser]prashid[/eluser] I am using Validation library as autoload. Now problem is when I type in URL http://localhost/CIB/test/ get error below and if browse http://localhost/CIB/test/check_user working fine. I understand that default values are required if not calling check_user. But I don't want to call check_user as default instead I want to call default index at start and once user click button than check_user should be called. Am I right here? So whats the solution here?. Should I use defaults in order call index at start? if yes whats the professional way to code when there are many fields. Thanks Code: //ERROR Validation library usage for form validation. Need help - El Forum - 09-15-2010 [eluser]Thorpe Obazee[/eluser] Try using the new Form validation Validation library usage for form validation. Need help - El Forum - 09-16-2010 [eluser]prashid[/eluser] Thanks for the reply. Form_Validation library is working but I want to use Validation library thats why asking solution to my problem. Validation library usage for form validation. Need help - El Forum - 09-16-2010 [eluser]danmontgomery[/eluser] Validation library is deprecated in 1.7.2 (removed in 2.0) and replaced with form_validation, so you're not going to get much help with it. Validation library usage for form validation. Need help - El Forum - 09-16-2010 [eluser]prashid[/eluser] Got it |