Support Article
Submit button clicked twice to trigger button process
SA-95692
Summary
Double ( that is, two) button clicks (after a pause) are required before the button process is triggered. This occurs intermittently.
Error Messages
Not Applicable
Steps to Reproduce
- Enter the Body measurements (that is, Height and Weight).
- Click the Submit button twice (after a pause).
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:
Use the below code to Set Focus on the Submit button.
<script>
setTimeout(function(){
document.querySelectorAll('[data-test-id="myButton"]')[0].focus();
}, 1000);
</script>
In this use case, the test-id of the button is 'myButton'. The name was used instead of the data-test-id.
Published March 28, 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.