//This should be applied on second value name field on change
function fun()
{
var f1=Xrm.Page.getAttribute("firstvalue name").getValue();
var f2=Xrm.Page.getAttribute("secondvalue name").getValue();
if(f1!=null && f2!=null)
{
var res=f1*f2;
Xrm.Page.getAttribute("result field name").setValue(res);
}
}
No comments:
Post a Comment