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

Get two values into one field javascriptr

$
0
0

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)

}


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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