Automatic Timeout | Community
Skip to main content
Answered

Automatic Timeout


We are building a survey on a public kiosk. We need to “timeout” back to the beginning of the survey should there be no activity for a certain period of time. The problem is if we frame this in a page with a timeout or pop-up the page itself is not aware of any interaction with TypeForm or VideoAsk. 

Best answer by mathio-tf

In typeform you can use onQuestionChanged callback to detect when user is responding to the form. However if they take too long to reply to 1 question it will not detect this activity.

Maybe you could display a message near the form when the timeout is about to run out: “You have been inactive for X minutes, form will be refreshed soon. Click here to keep your session.”

View original

3 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14904 replies
  • May 24, 2023

@andrew_videoask have you seen any solutions for this? 

@mathio , i’m assuming they would need to use custom code, but I’m not 100% sure on that possibility!


andrew_videoask
Typeform
Forum|alt.badge.img+5

@dmaxxx If a timeout/automated refresh won’t work, here’s another idea. It’s certainly more advanced and goes beyond the scope of VideoAsk, but it may be worth considering…

You could use a heat or motion sensor to detect if someone is standing in front of the booth. When a person is there, do nothing. When nobody is there, refresh the page.


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • May 30, 2023

In typeform you can use onQuestionChanged callback to detect when user is responding to the form. However if they take too long to reply to 1 question it will not detect this activity.

Maybe you could display a message near the form when the timeout is about to run out: “You have been inactive for X minutes, form will be refreshed soon. Click here to keep your session.”


Reply