if (crmForm.all."PickListAttributeName".SelectedText == "Other")
//or use to .SelectedIndex or .DataValue
{
crmForm.SetFieldReqLevel("theOtherField".id, 1);
//set it to required
}
else
{
crmForm.SetFieldReqLevel("theOtherField".id, 0);
//set it to not required
}
MS CRM 2011: Extended handling of Save events in Microsoft Dynamics CRM 2011
-
About 1.5 ago I wrote post which describes how to work with additional
parameters during save of form. I decided to go through all available
standard for...
7 hours ago