The following JavaScript code can be used to set and clear notification on a field.
formContext.getControl("attributename").setNotification("Message");
formContext.getControl("attributename").clearNotification();
formContext.ui.setFormNotification("Your message", "WARNING", "MessageID001");
formContext.ui.clearFormNotification("MessageID001");
Regards,
Arun S Keerthi
No comments:
Post a Comment