Hi, I'm trying to get two lookup field and copy the content into one separate field. The following script works if i pick one one or the other but i cant see to get both value. I'm calling the javascript with OnSave.
function addparty() {
var consultant= Xrm.Page.getAttribute(net_requirednettitude).getValue();
var accountmanager = Xrm.Page.getAttribute(net_accountmanager).getValue();
Xrm.Page.getAttribute("requiredattendees").setValue(accountmanager + "" + consultant)
}