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."; |
Messages In This Thread |
Validation errors per field AND per rule - by El Forum - 09-05-2010, 10:27 AM
|