web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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

I have the same question (0)
  • RaviKashyap Profile Picture
    55,410 Moderator on at

    {bump}

  • Verified answer
    Emmaneul James Abraham Profile Picture
    727 on at

    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

  • Flydancer Profile Picture
    1,332 on at

    Edit: nevermind, just realized it's for portal

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Thanks so much James. I will try this.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans