Naveen Katakam
Naveen Katakam

Reputation: 401

How to change innerHTML of CRM form in MS Dynamics CRM 2015 form?

I have a form in MS CRM 2015 Online. it was updated to 2015 from 2013 recently. I have a requirement such that i have to show multi select check boxes on CRM form. In CRM 2013 i have an option set with some options, with those options i am forming HTML with check boxes using script and am changing HTML. In CRM 2013 i had changed form UI using document.getelemntByID("#element").innerHTML.

but in CRM 2015 javascript is not working. i am unable to get element using doument.getelementbyID.

I am unable to find alternative for this requirement. can any one of suggest me on this?

Upvotes: 0

Views: 814

Answers (1)

James Wood
James Wood

Reputation: 17562

Those JavaScript commands are not supported by CRM and shouldn't be used.

To do this I would suggest building a web resource and embedding on the page. Then you have full control.

Upvotes: 3

Related Questions