At a first glance it seems like the validation message is hardcoded in the core, which means it does not seem like it's possible to change it easily using a dictionary item or using some of the existing translation keys in the /umbraco/config/lang dirs unfortunately.
So unless you know how to compile your own custom Umbraco version it's not possible to do out of the box. And doing a custom build for this seems like overkill and if you upgrade at some point then you need to make this custom build once again.
So I think it's better to manipulate the output using JavaScript to change it for instance (asuming it's when the messages are being displayed on the rendered webpage).
Pre-defined member register (Register.cshtml) change messages
Hello
Is it possible to change error messages in the pre-defined member register snippet (Register.cshtml)?
For example i would like to change "Please enter a valid e-mail address" and "A member with this e-mail address already exists".
I am using Umbraco version 7.2.1
Best Regards Kasper
Hi Kasper
At a first glance it seems like the validation message is hardcoded in the core, which means it does not seem like it's possible to change it easily using a dictionary item or using some of the existing translation keys in the /umbraco/config/lang dirs unfortunately.
So unless you know how to compile your own custom Umbraco version it's not possible to do out of the box. And doing a custom build for this seems like overkill and if you upgrade at some point then you need to make this custom build once again.
So I think it's better to manipulate the output using JavaScript to change it for instance (asuming it's when the messages are being displayed on the rendered webpage).
/Jan
Hello Jan
I also had the JS approach in mind, i will try to make it work that way.
Thank you - tak!
Best Regards Kasper
is working on a reply...