Restrict users from clicking the link multiple times
There are multiple links in multiple sections which user wants to know if there is a standard approach to restrict users from clicking the link multiple times.
No error message but multiple cases of the same type gets created.
Steps to Reproduce
- On Link control configure on click event, run script action with "pega.ui.HarnessActions.addFlowFromActionsMenu" function.
- At runtime click on the link multiple times.
This is expected behavior.
Perform one of the following local-change:
To enable or disable the link using a flag value, the flag would be true which will enable the link.
- Before the first action, invoke data transform to disable the flag(set it to false) which will disable the link and not allow users to act on the link.
- After all the actions are completed, run the data transform to enable the flag(set it to true) which will enable the link so that users can perform their action. Like this, it is dis-allowing the users by clicking on the screen multiple times.
To introduce a busy indicator on the screen so that users are informed that something is processing on the background.
Follow this link for the script configuration:
100% found this useful