Validation errors per field AND per rule |
[eluser]sqwk[/eluser]
At the moment CI uses validation error messages per rule. There is already a library to convert them to be field-based (http://codeigniter.com/wiki/Custom_Valid...per_Field/), but is it possible to have them be field and rule based? Something like this: (In external language file. Should also work with ->set_message()) Code: $lang['id_in_db','places'] = "This place does not exist."; |
Welcome Guest, Not a member yet? Register Sign In |