'Form' How to Tips:
1. Change Field Required level:
crmForm.SetFieldReqLevel( "
2. Check if the form has changed or not after it was loaded:
alert ( crmForm.IsDirty() );
3. How to bind javsscript event to form and controls:
for form - crmForm.attachEvent( "onsave" ,
for control – crmForm.all.
4. How to get Entity Object Type Code
alert(crmForm.ObjectTypeCode);
5. How to Retrieve Entity Schema Name
alert(crmForm.ObjectTypeName);
6. How to avoid dialog box that appears on the webform some times when u try to close the form
crmForm.detachCloseAlert();
No comments:
Post a Comment