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
- Click on the textbox with an OnChange action.
- Enter the value in the textbox.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.