Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kasper 12 posts 95 karma points
    Feb 16, 2015 @ 11:13
    Kasper
    0

    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

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 16, 2015 @ 11:32
    Jan Skovgaard
    100

    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

  • Kasper 12 posts 95 karma points
    Feb 16, 2015 @ 11:44
    Kasper
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft