Dynamics CRM 4.0 · Javascript

CRM 4.0 Change Field Requirement with JavaScript

To change field requirement with JavaScript, simply call the function:

crmForm.SetFieldReqLevel(<string fieldname>,<int value>)

crmForm.SetFieldReqLevel("fieldname", 0); // No Constraint
crmForm.SetFieldReqLevel("fieldname", 1); // Business Required
crmForm.SetFieldReqLevel("fieldname", 2); // Business Recommended

Cheers – Sy

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s