Support Article
onChange actions are not invoked when tabbed out quickly
SA-102217
Summary
On traversing quickly from the Password field to the Verify password field, the actions defined onChange of the Password field are not invoked.
Error Messages
Not Applicable
Steps to Reproduce
- Configure two fields, 'Password' and 'Verify password'.
- Configure an onChange event, on the fields, with actions such as, Post value, Run data transform (to set a few flags), and Refresh-Other-Section. Based on the validations performed on the Password fields, flags are set in the data transform. A few images or icons display using the Visibility When (expression) and the Run visibility condition on the client.
- Enter information in the fields.and tab quickly between the fields while entering the rest of the information.
Root Cause
A defect in Pegasystems’ code or rules.
When a 'Change' action is performed quickly, the code is written to cancel some of the Action events, if the queue is not empty.
Resolution
Perform the following local-change:
- Add a Run script in the list of events which display a Spinner in the 'Change' event.
For an 'onChange' action, the first event displays the Busy Indicator (Spinner) which does not allow the user to click elsewhere on the screen. This is followed by the other events that are configured.
- Hide the Busy Indicator. The final event is a Run script that shifts the focus to the Textbox (for example, password).
Published June 6, 2020 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.