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

RE: How to change the subject based on selected value of an option set field?

$
0
0

You will need to add custom Javasript on the change of your option set or on Save of Form. Get the option set Text and append it with the Subject Field.

var optionset = Xrm.Page.getAttribute("attributename")

var optionText= optionset.getText();

var  subjectText = Xrm.Page.getAttribute("subject").getValue();

Xrm.Page.getAttribute("subject").setValue( subjectText +" "+ optionText);

please also put the null values  checks .


Viewing all articles
Browse latest Browse all 87499

Trending Articles



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