CRM 2011:
// No Constraint
Xrm.Page.getAttribute("field_schema_name").setRequiredLevel("none");
// Business Required
Xrm.Page.getAttribute("field_schema_name").setRequiredLevel("required");
// Business Recommended
Xrm.Page.getAttribute("field_schema_name").setRequiredLevel("recommended");
CRM 4.0:
// No Constraint
crmForm.SetFieldReqLevel("field_schema_name", 0);
// Business Required
crmForm.SetFieldReqLevel("field_schema_name", 1);
// Business Recommended
crmForm.SetFieldReqLevel("field_schema_name", 2);
Just wish to say your article is as amazing. The clearness for your post is simply great and i can suppose you’re an expert on this subject. Well along with your permission allow me to grasp your RSS feed to stay updated with drawing close post. Thanks one million and please continue the enjoyable work.