Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

First click on button not working in section with post value

SA-18789

Summary



First click on a button is not working in section with post value.


Error Messages



Not Applicable


Steps to Reproduce


 
  1. Click on the textbox with an OnChange action.
  2. Enter the value in the textbox.
  3. Directly click on the button.


Root Cause



The setup is attempting to fire two separate asynchronous events simultaneously, an ONCHANGE on the input field and an ONCLICK on the button. When the user enters a value in a field, then clicks a button, only the ONCHANGE from the field is triggered. Therefore they have to click the button again in order to trigger the ONCLICK.

Resolution



Remove the ONCHANGE from the input fields, which has fixed the multiple click issue. 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us