![]() |
Set error message for multiple fields within custom rule - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Set error message for multiple fields within custom rule (/showthread.php?tid=83412) |
Set error message for multiple fields within custom rule - groovebird - 09-24-2022 Hi, i want to validate an address and bind a custom rule to one field. Within the rule i can only set one error message for this field, but the address consists of multiple fields. I have access with the data parameter to the fields but i don't know how to set error messages for the other fields. Is there a way to do that? |