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:
- 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.
- 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.
- 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 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. |
Choosing the Action
Select an Action:
Apply Conditions
— To force reevaluation of any Visible When field or Refresh When field that references the current property in a simple Java expression that can be evaluated by JavaScript. For example, changing the property value may cause multiple sections to refresh.
Refresh This Section
— To cause a
single section to be refreshed and redrawn dynamically, based on
the value of this controlling property. The updated form
may contain different values supplied by an activity.
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.
About Harness rules