General error messages for validation rules in Kohana, regardless the field name

Posted by Toto on Stack Overflow See other posts from Stack Overflow or by Toto
Published on 2010-05-14T13:59:03Z Indexed on 2010/05/23 14:30 UTC
Read the original article Hit count: 250

I'm using Kohana validation library and I want to set up my own user friendly error messages. The problem is that I generate the form dynamically, so field names are not know during development.

Can a set up error messages for the different validation rules (required, digit, ...) regardless the field name? How?

Note: I'm using Kohana v2.3.4

© Stack Overflow or respective owner

Related posts about internationalization

Related posts about form-validation