Tech Support > Microsoft Windows > Windows CRM > Picklist
Picklist
Posted by Yogi on December 21st, 2006


I want to know in this code
if(document.crmForm.CFPType.value.indexOf("Party Distributors") < 0)
{
SetPartyReadOnly()
}
what "document.crmForm.CFPType.value.indexOf("Party Distributors") < 0" is
doing.How the above logic can be implemented in CRM 3.0 And i also want to
know in CRM 3.0 how can we get the range of datatype values of Picklist
items like if there is a picklist like
a
b
c
d
e
f
how datatype values of a,b,c can be reterieved?
Thanks.

Posted by Niths on December 22nd, 2006


Hi Yogi,

The code written below checks if 'Party Distributors' exists in the picklist
CFPType.

You can view the picklist options and the associated int index values in the
customizations form of the picklist attribute.

HTH,
Niths

"Yogi" wrote:


Similar Posts