Copied to clipboard

Flag this post as spam?

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


  • Mads Justesen 11 posts 121 karma points
    May 09, 2022 @ 11:24
    Mads Justesen
    0

    Change error message when number of characters are exceeded.

    Hej there.

    Is there any way to alter the error message when a user enter to many characters into a text area? Currently the message is as shown in this image

    enter image description here

    However the client would like it to say something like "Limit exceeded by X symbols" as they find the current error message to be confusing.

    Kind Regards Mads Justesen

  • Nik 1625 posts 7295 karma points MVP 7x c-trib
    May 10, 2022 @ 09:25
    Nik
    100

    Hi Mads,

    Yes this is possible. The text that is shown here is controlled by a Language file which you can override.

    If you create a "user" language file by following the instructions here: https://our.umbraco.com/Documentation/Extending/Language-Files/

    you can override the core language files.

    To change this text in particular, you need to override the "textbox" area and the "Characters_exceed" value, the defaults can be found here:

    https://github.com/umbraco/Umbraco-CMS/blob/a676322fee8dc484e592cf2d051babbadc43a2ed/src/Umbraco.Core/EmbeddedResources/Lang/en.xml#L2390

    Thanks

    Nik

  • Mads Justesen 11 posts 121 karma points
    May 16, 2022 @ 08:26
    Mads Justesen
    0

    Thank you very much Nik

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies