Plaza 365
Plaza 365

No results found for your search

RegisterLog in

4

Visit article

#datefields

#errormessage

#formnotifications

#saveform

#validation

Dynamics 365 CRM - Development

Category

Mar 18, 2023

Published date

Text

Article Type


AI Summary

  • The article titled "Crm Minds" discusses the use of form notifications in Microsoft business applications like Dynamics 365.
  • Form notifications are helpful in preventing the user from saving a form if the form fields do not meet certain conditions.
  • An example is given where there are two date fields, "Start Date" and "End Date," and the requirement is that the "End Date" must be greater than the "Start Date" for records to be saved.
  • The article mentions two options for showing form notifications in this scenario.
  • The first option is to use the setFormNotification() function when the validation fails and clearFormNotification() when the validation passes. This option requires specifying the message, level, and uniqueId parameters.
  • The second option is to use the setIsValid() function, which is called only once and passes the validation result with an error message. This option is considered to have fewer lines of code.
  • The article emphasizes the importance of utilizing form notifications to improve the user experience and ensure data integrity in Microsoft business applications.
  • The final takeaway is that form notifications can be implemented with either the setFormNotification() or setIsValid() functions, depending on the specific requirements and coding preferences.

Registered users can view the full text for FREE!

Sign In Now!

Cookies Consent

We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies.