Export (0) Print
Expand All
Expand Minimize

<event> (FormXml)

Applies To: CRM 2015 on-prem, CRM Online

Specifies an event for the form or field.

<event
 active=["0" | "1" | "true" | "false"]
 application=["0" | "1" | "true" | "false"]
 attribute="String"
 BehaviorInBulkEditForm="String"
 eventType=["DataEvent" | "ControlEvent"]
 name="String">
 <dependencies />
 <Handlers />
 <InternalHandlers />
</event>

The following describes the attributes, child elements, and parent elements.

Attributes

 

Attribute Description Type Usage

active

Describes whether the event is enabled for the form or the field. The default value is false.

Boolean

Optional

application

For internal use only.

Boolean

Optional

attribute

The name of an attribute for an OnChange event.

String

Optional

BehaviorInBulkEditForm

For internal use only. Do not change this value.

Enumeration (BehaviorInBulkEditForm)

Optional

eventType

Valid values:

  • DataEvent

  • ControlEvent

Enumeration (CrmEventType)

Optional

name

The name of the event to associate scripts with. Valid values:

  • onload

  • onchange

  • onsave

  • tabstatechange

  • onreadystatecomplete

String

Optional

Child Elements

 

Element Description

<dependencies> (FormXml)

Contains the dependencies for an event.

<Handlers> (FormXml)

Contains all the event handlers for an event.

<InternalHandlers> (FormXml)

For internal use only. Contains event handlers defined by Microsoft Dynamics CRM.

Parent Elements

 

Element Description

<events> (FormXml)

Contains all the event definitions for a cell or form.

 

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

0 or more

XPath


//FormXml/forms/systemform/form/events/event |
//FormXml/forms/systemform/form/tabs/tab/events/event |
//FormXml/forms/systemform/form/tabs/tab/columns/column/sections/section/events/event  |
//FormXml/forms/systemform/form/tabs/tab/columns/column/sections/section/rows/row/cell/events/event

Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.
Show:
© 2014 Microsoft