Methods available on all types of fields in MS CRM

The following methods are available on all fields:

General field methods Description
{Field}.SetFocus() Sets the focus, changes tabs, and scrolls the window as necessary to show the specified field.Example

// Set focus to the field.
crmForm.all.SOME_FIELD_ID.SetFocus();
{Field}.FireOnChange() Programmatically raises the OnChange event for the specified field.Example

// Set focus to the field.
crmForm.all.SOME_FIELD_ID.FireOnChange();
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


%d bloggers like this: