Skip to content

Add ability to count down for the nav buttons #259

Description

@pingfan-hu

Many survey platforms support mandatory countdowns on the nav buttons, and I think it's a good practice to also have it for surveydown.

The idea is to add a new parameter called wait in sd_nav(), default to 0 in seconds, meaning no countdown, and it's effective only to the next button (not previous button).

This is to be implemented using JS code, so that there is a live countdown in seconds with the next button, something like Next (30s). The button is in a decayed layout is not clickable while the countdown is active. Then, as the countdown drops to 0s, the button returns to normal layout and can be clicked.

This can be used when the survey designer wants the participants to stay on a certain page for a specific amount of time to ensure their engagement.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions