Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

crmForm.all[lookupField].DataValue not support in IE 10

$
0
0

CRM version 2011 and onpremise

I am trying to create Mutliselect lookup and I am saving the value to multilinetextbox which is hidden. it is saving the record properly.

On view mode, I am trying to set the value of multilinetextbox to lookup field using below code

crmForm.all[lookupField].DataValue = value

Value is JavaScript object in having the lookup value. This solution is working fine in IE 9 but not working in IE 10.  DataValue  is coming undefined in IE 10.

I have tried to set value using  xrm object code below but it is not giving any error and not showing value. Please suggest how to set the multiple value into lookup field

Xrm.Page.getAttribute(lookupField).setValue(value);

Lookupfield is starndard lookup. to make it multi select I have set the lookupstyle property

document.getElementById(lookupField).setAttribute("lookupstyle", "multi");

Please suggest.

 

 

 

 

 

 

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 8223

Trending Articles



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