Problem Setting Error Message For Form - 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: Problem Setting Error Message For Form (/showthread.php?tid=54611) |
Problem Setting Error Message For Form - El Forum - 09-17-2012 [eluser]Swayam[/eluser] Dear All, Please help me with this..i am new in codeigniter..i have a registration form where i have 7 fields ..i m validating all the fields with set_rules...but when user press submit without entering information..it shows field is required individually ..i want a single message if all the fields left blank.. Code: $this->form_validation->set_rules('uname','Username','required|min_length[5]|max_length[12]'); |