Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Script Error

$
0
0

Hi, 

New to / attempting to learn JavaScript and I've added some code to the OnChange of the Phone Field.

function warningOnChange()

{ Xrm.Page.ui.setFormNotification("Please ensure the value entered in the Phone Field is correct.", "WARNING", "1");

I'm getting a script error when the Account Form loads. I've tried enabling legacy Form Rendering but this doesn't work either. I assume I'm doing something wrong. As you can see, the code appears to have worked, as the notification is appearing in the background: 


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>