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)

How to alert all the required fields on save which are null

(0) ShareShare
ReportReport
Posted on by 1,680

Dear All,

I need to highlight all the required fields  which are null in one go  instead one by one  before Onsave event. Any directions on this will be appreciated. let me know if anyone have gone through this.

Thanks

Drew

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi Drew,

    One possible potion could be to create command button on entity form or may an html button on entity form where you can loop through all the fields and display result under notification in entity form

    Here is the code to lookup all required fields:

    dynamicslollipops.blogspot.ae/.../microsoft-dynamics-crm-2011-validate.html

    Here is the example of showing notifications: garethtuckercrm.com/.../crm-2013-new-features-javascript-notifications

    Hope it will help.

    Thanks

  • Aileen Gusni Profile Picture
    44,524 on at

    Hi Drew,

    I think you can use js to check all fields that are mandatory then check if null then you construct and initialize an array to put all the field name, then you put all in the form notification.

    Example of checking here:

    mehmetgunen.com/check-mandatory-fields-using-javascript-in-crm

    This you must be aware that the performance might be worse.

    Hope this helps.

    Thanks.

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