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

Error in the alert using JavaScript.

$
0
0

Hi all!!

I am getting an error when creating an alert in java-script. Here is my code and am getting an error as like this

function myTrimBoardNumber() {
debugger;
    var value = Xrm.Page.data.entity.attributes.get("telephone1").getValue();
    if(value== "" || value ==null)
    {
    Xrm.Page.ui.setFormNotification(‘Please fix the following error(s):’, ‘Information’);
    }
    }
Kindly help me..

Thanks in advance.


Viewing all articles
Browse latest Browse all 55831

Trending Articles



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