Checkbox not consistently triggering field visibility
SummaryCheckbox not working as expected.
When users check or uncheck the checkbox field multiple times, it’s not refreshing the sections as expected.
Error MessagesNot Applicable
Steps to ReproduceFirst check the checkbox field, then one can see the refresh in section, when user checks and clear multiple times, the section is not refreshing.
Root CauseServer interactions to show and hide the field are being overridden by further checkbox clicks.
ResolutionPerform the following local-change:
1. In UserWorkForm, add the following:<script>
pega.u.d.busyIndInterval = 0;
pega.u.d.busyIndInterval = 2000;
</script>2: In the action set for the checkbox, bracket the processing actions with script calls for the function.
As the first action on the checkbox, run the script BusyGo. On the final action for the checkbox, run the script BusyStop3. Adjust timing. If the solution does not work, check the timing of all actions applied to the button.
If necessary, increase the timeout function from 2000 to ensure that the script brackets all actions.
Published May 16, 2017 - Updated May 31, 2017