Validating coach data without exiting a coach
You can use the data change properties of a coach in a client-side human service to validate the coach data without exiting the coach.
About this task
By using the data change mechanism, you can validate
the data entered into the coach while the user is still interacting
with the coach. For example, you can do coach data validation
to ensure that required fields contain data and before dates
precede after dates.
Tip: You
can leverage this same mechanism for more than validation. The
validation mechanism can be used to update variables as the user enters
values in the coach. For example, you can perform calculations and
render the results in the coach. Or you can update a variable
that controls the enablement state of a button in the coach.
For a typical coach validation, you can use a client-side JavaScript that you specify in the coach to be validated. To avoid perceived performance issues with the coach, it is a best practice to use a fast-executing script.
For information on how to perform coach data validation after exiting the coach, see Validating coach data after exiting a coach.
Procedure
To validate the coach data in your client-side human service without exiting the coach, complete the following steps:

.