About Event Behaviors

The Event behavior specifies an action to perform when a given event occurs. Currently, there is one supported event: value-changed. When data associated with the node for which an event rule is defined is changed, the event rule signals the OSM server to re-render the view and return the new results to the Task web client.

For example, you can combine the Event behavior with Relevant Behaviors to display certain fields in an Task web client based on user selection. Consider that you use a Payment Type field with Cash and Credit Card as options. You can create an Event behavior for the Payment Type to re-render the view after the user tabs out of the field. You can create Relevant rules for Credit Card Number, Expiration, and so forth, so that fields relevant to a credit card payment appear in an Task web client when a user selects the Payment Type of Credit Card.

Note:

See OSM Concepts for more information about behavior default values, inheritance, and declarative syntax.