Hola, si te refieres a un formulario de Dynamics CRM (2011/2013) lo puedes hacer así:
var result=Xrm.Page.getAttribute("new_atribute1").getValue()+Xrm.Page.getAttribute("new_atribute2").getValue();
Xrm.Page.getAttribute("new_resultado").setValue(result);
un saludo
Demian Adolfo Raschkovan Blog: http://crmtoall.blogspot.com If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"