Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 940
  • Last Modified:

How to Populate a Text field with the value of a pick list onChange CRM 2011

I need to populate the "Subject" field on the Phone Call record with the value of an Option Set (PickList) named new_callSubject.

What onChange code do I need to place in the picklist field to populate the Subject field?

Thank You!
0
pcgym
Asked:
pcgym
1 Solution
 
Chinmay PatelEnterprise ArchitectCommented:
Hi pcgym,

You will write the following code
Xrm.Page.getAttribute("subject").setValue(Xrm.Page.getAttribute("new_callsubject").getSelectedOption().text);

Open in new window


Regards,
Chinmay.
0
 
pcgymAuthor Commented:
Perfect!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now