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

About Harness rules

 zzz Show all 

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.

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. 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.
  3. You can repeat step 2 for multiple elements. The conditions may vary.

 zzzChoosing 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 HTML Property 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.

Select OnChange in this field and ApplyConditions in the Action field to reevalution 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.

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 check box or set of radio buttons.

 zzzChoosing the Action

Select an Action:

 zzzActivity 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.

zzz About Harness rules