Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

{Portal} Display warning/ recommendation message on change of field in portal

(0) ShareShare
ReportReport
Posted on by 55,410 Moderator

Hi,

I have an entity form which contain an amount field. I want to display a warning message/ recommendation if the amont value is less than certain value (say 500). Is there any way I can display this just like the other required field validators?

*This post is locked for comments

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: {Portal} Display warning/ recommendation message on change of field in portal

    Thanks so much James. I will try this.

  • Flydancer Profile Picture
    1,332 on at
    RE: {Portal} Display warning/ recommendation message on change of field in portal

    Edit: nevermind, just realized it's for portal

  • Verified answer
    Emmaneul James Abraham Profile Picture
    727 on at
    RE: {Portal} Display warning/ recommendation message on change of field in portal

    Hello Ravi

    You can use Jquery script, Like below. 

    $(“#amount).change(function()

    {

    If( parseInt($(this).val()) > 500)

    {

    $("#amount").parent().after("<div class='validation' style='color:red;margin-bottom: 20px;'>Please enter amount less than 500 </div>");

    }

    });

    Thanks

    James

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: {Portal} Display warning/ recommendation message on change of field in portal

    {bump}

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans