Saturday, 6 October 2007

How to get text of the Picklist values using javascript code

Hi Folks,

A lot of you may have done this earlier, But this could still be useful for newbies.

I could not find a solution to get the text of the selected pick list value on the change of the pick list event using javascript in MS CRM 3.0 forms. So i thought to post it here.

var oField1 = crmForm.all.{picklist field schema name};


This will give you the text of the pick list. Hope this may help you and save some time.

No comments: