PDA

View Full Version : Timer on submit Button


Vishav
03-16-2018, 08:11 AM
Dear all,

My VR interface involves some questions and i used submit button after making choices of options in radio button. I want to add timer on submit button so that if user not respond for 30 seconds;my code pass to next line. I was not able to figure. Please do help as soon as possible

Regards
Vishav

Jeff
03-28-2018, 04:06 PM
Take a look at the viztask (http://docs.worldviz.com/vizard/#VizTask_basics.htm) library. Use the viztask.waitAny (http://docs.worldviz.com/vizard/#commands/viztask/waitAny.htm) command to wait for either a button press or timer event.