![]() |
Multiple set_message with min_length rule??? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Multiple set_message with min_length rule??? (/showthread.php?tid=29048) |
Multiple set_message with min_length rule??? - El Forum - 03-29-2010 [eluser]123wesweat[/eluser] Hi there, How can i set different messages for the min_length rule?? like Code: $val->set_message('min_length','field X must have a min. of 5 chars') Code: $val->set_message('min_length','field Y must have a min. of 60 chars') regards, |