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

Getting an error when save my order form

$
0
0

When I add JavaScript on OnSave() event. the code is that

function customerid()

{
var freeze = Xrm.Page.data.entity.attributes.get("customerid").getValue();

Xrm.Page.getAttribute("new_customerid").setValue("freeze");

}

every time I open form I get this error

  

I done this code to accomplish my following requirement


Viewing all articles
Browse latest Browse all 46379

Trending Articles