"How can I start a countdown timer as a button in vFlow, triggered only by a button click?"

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:

  1. Create a new component fieldset, or if you already have a component, go to its elements tab.
  2. Click on the “Add Element” tab and add the timer element.
  3. Provide the required information, such as Sequence, Element Name, and Element Description.
  4. In the Properties tab, set the timer parameter value in seconds.
  5. In the timer type parameter, choose “button.”
  6. Set the IsEnable property to “true” and the IsVisible property to “false.”
  7. Create a task group and include two tasks: CONTROL_DISABLE and CONTROL_VISIBLE.
  8. Map this task group to an OnClick event.
  9. Associate this event with the specific button you want to use to start the countdown.
1 Like