Can you please check the value of formContext before the var pattern line? Xrm.Page.getControl(fieldName).setNotification(message) and formContext.getControl(fieldName).setNotification(message) are correct syntax for this.
↧