Home > MS CRM 4.0 > Basics for crmForm javascripts

Basics for crmForm javascripts

Check if the form has changed ( by user or code ) Since it was loaded
alert( crmForm.IsDirty() );  
Binding to crmForm save event
This coding method is easier to manage and more productive then putting your code In the OnSave event box.

crmForm.attachEvent( "onsave" , OnCrmPageSave ); 
Retrieve Entity Object Type Code
  1. alert( crmForm.ObjectTypeCode );  
Retrieve Entity Schema Name
alert( crmForm.ObjectTypeName );
Remove (detach) MS window close alert

  1. crmForm.detachCloseAlert();  

Categories: MS CRM 4.0
  1. February 18, 2013 at 6:16 pm

    You really produced a handful of outstanding points throughout ur posting, “Basics for crmForm javascripts Chitrarasan’s Blog”. I will end up coming to ur site eventually. Many thanks -Dominga

  1. No trackbacks yet.

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

%d bloggers like this: