Using this component is quick and easy:
Install the application in your environment from the Forge.
After installation, open the screen where two examples are already provided:
A custom button with a label
A button with a timer
In each button's click action, you’ll find a JavaScript block. This is where the main logic runs.
The JavaScript function uses input parameters. Here’s what you need to pass:
buttonId: The ID of your button widget (set via Extended Properties in OutSystems)
buttonId
labelId: The ID of the label text widget for the button
labelId
timerSeconds: (Only for timer button) The number of seconds to disable the button after click — usually set to 60
timerSeconds
You can easily reuse and configure this logic on other buttons by setting the correct IDs and adjusting the timeout duration.