Support Article

Multiple clicks are needed for submit buttons

SA-36636

Summary



Busy indicator is not being displayed when user is submitting the form.

User is unable to know if form is submitted properly ,as a result ending up in submitting the form multiple times.


Error Messages



Not Applicable


Steps to Reproduce

  1. Configure a button in a section, on click of which a modal dialog is launched.
  2. Click on submit button in the modal dialog, no busy indicator is shown.
  3. Users can see that screens are not submitting without multiple clicks and they get errors.
  4. On single click, a wait icon should be shown or submit must be disabled, these are Out-of-the-box (OOTB) buttons.


Root Cause



User wants the BusyIndicator to show up immediately after clicking any button.

Resolution



Add below snippet to UserWorkForm:

Note: User can change the below value to a number which suits better.

<script>
pega.u.d.busyIndInterval = 500 ;
</script>

Published April 18, 2017 - Updated May 3, 2017

Have a question? Get answers now.

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