[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2011-09-29
2
Medium Priority
?
934 Views
Last Modified: 2012-05-12
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
Comment
Question by:pcgym
2 Comments
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 2000 total points
ID: 36879804
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
 
LVL 1

Author Closing Comment

by:pcgym
ID: 36892317
Perfect!!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
Screencast - Getting to Know the Pipeline
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month19 days, 3 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question