web
You’re offline. This is a read only version of the page.
close
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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans