Back Forward Harness, section, and flow action forms
Help — Client Event Editor

About Harness rules

  Show all 

C-1990 GROVS Use the Client Event Editor to identify a field that controls one or more dynamic elements within a work object form or flow action form. INPUT-FORMAT> C-2526

This form supports the first of two configuration steps:

  1. Use the Client Event Editor to associate client-side event processing with a user input field on a form. This field is known as the controlling field.
  2. Later, in the Field, Label, or Section Include panel for at least one element on the same flow action or work object form, set the Visible When? field or Refresh When? field to Other Condition. B-21692 These are known as the controlled elements. Specify a condition and check the Run on Client? box. See Implementing dynamic form actions and the Client Event Editor. C-1990
  3. You can repeat step 2 for multiple elements. The conditions may vary.

 Choosing the Event

Use the Client Event Editor to associate an event with the value that the user enters into an input field for a property.

Consider the control rule that is to be used to present the controlling property. This rule may be identified in the Format field of the panel.

Select a value for the Event field based on the runtime presentation of the property:

Event

Description

OnChange

To associate an event with properties presented as a text box, text area, or selection list (that is, <INPUT TYPE="TEXT"... >, <INPUT TYPE="TEXTAREA"> or <INPUT TYPE="SELECT" >). The event occurs when the contents of the input field changes. The OnChange event is most useful is for selection lists: by using OnChange rather than OnBlur, the action can occur immediately. BUG-3298

Select OnChange in this field and ApplyConditions in the Action field to reevaluation of Visible When or Refresh When conditions (of one or more sections within a work object form or flow action form when the value of the property changes. GRP-224

OnBlur To associate an event with properties presented as a text box, text area, or selection list — that is, <INPUT TYPE="TEXT"... >, <INPUT TYPE="TEXTAREA"> or <INPUT TYPE="SELECT" >. This event occurs when the input field on the form loses focus; for example, when users press the Tab key or click in another input field.
OnClick To associate an event with properties presented as a checkbox or set of radio buttons.

 Choosing the Action

Select an Action:

 Activity fields

If you selected Refresh This Section for the Action field, you can identify the Activity Name key part of an activity that may affect the content of the section to be redrawn. To find the activity at runtime, the system uses the Applies To class of this rule with rule resolution.

Select an activity that performs only computations and does not send HTML or XML code to the workstation.

If the activity requires input parameters, click  Params   and enter literal constants for input parameters.

Click  Save   to exit the Client Event Editor.

Up About Harness rules