Upgraded JavaScript and OptionSet values
In CRM 4.0 the values returned from a Picklist were integers represented as strings. If you were referring to a Picklist value, you would refer to it like this: if (crmForm.all.new_picklist.DataValue == "2") { // do something } In CRM 2011, the OptionSet value is returned as a true integer so the following code […]
Continue reading