Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Change the validation message in the Dynamics custom portal form

Posted on by Microsoft Employee

is there any way which I can change the validation message in the custom form which i created for the dynamics custom portal? This is D365 online? i really need to add a different message of direct the user to the sign in page which this happens.

errormsg.jpg

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Change the validation message in the Dynamics custom portal form

    awesome thank you.

  • Verified answer
    sathis kumar Profile Picture
    sathis kumar on at
    RE: Change the validation message in the Dynamics custom portal form

    Hi,

    CRM portal form doesn't have a proper ID control to identify but it is possible to hack it by identifying the HTML control.

    Try the following using chrome browser.

    1. Press F12 in Chrome for debugging.

    2. Select the cursor to the error message and following the instruction as per below in the image

    83771.2.png

    83771.2.png

    3. After that adding the query in Custom javascript in Entity Form.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Change the validation message in the Dynamics custom portal form

    HI Sathis,

    Thanks for the reply. I tried to identify the control by using the HTML page. but the message comes from the div class "xrm-editable-html xrm-attribute" .  I tried doing it i the page editor and trying to find the error message. even though the error messages for the form fields are editable in the back end I cannot see how to change the error messages shown before logging in.

  • sathis kumar Profile Picture
    sathis kumar on at
    RE: Change the validation message in the Dynamics custom portal form

    Hi,

    It is possible to change the name by identifying the control using HTML Page.  Also, require developer skill to understand how it works.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans