I want to implement a countdown timer in vFlow, represented as a button. The countdown should start only when this button is clicked.
To implement this functionality, follow these steps:
- Create a new component fieldset, or if you already have a component, go to its elements tab.
- Click on the “Add Element” tab and add the timer element.
- Provide the required information, such as Sequence, Element Name, and Element Description.
- In the Properties tab, set the timer parameter value in seconds.
- In the timer type parameter, choose “button.”
- Set the IsEnable property to “true” and the IsVisible property to “false.”
- Create a task group and include two tasks: CONTROL_DISABLE and CONTROL_VISIBLE.
- Map this task group to an OnClick event.
- Associate this event with the specific button you want to use to start the countdown.
1 Like