The example below demonstrates how to hide a field on an MS CRM form. 
The _c and _d are used to hide the label and the field.

/* Hide a form field */
crmForm.all.ownerid_c.style.visibility = 'hidden';
crmForm.all.ownerid_d.style.visibility = 'hidden';

OR

/* Hide a form field */
crmForm.all.ownerid.style.display ="none";

Advertisements