-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to allow dynamic error messages in model validations #470
Comments
Can you give me an example please? |
I found the corresponding thread I opened a while ago. |
Ok, I think we can do a similar solution to what is done under "Evaluating Filter Arguments at Runtime" on http://cfwheels.org/docs/1-3/chapter/filters. It would end up being something like this: Where application.errors is a struct the developer sets up. |
Cool! Thanks Per! |
Hi,
I would like to see the possibility to have dynamic error messages in model validations.
This would be useful for localization.
I know it is possible with plugins like
https://github.com/ellor1138/Localizator
but I would prefer to have this bit in the core functionality.
Regards
tapirus
The text was updated successfully, but these errors were encountered: