+ 3
How to redirect to an empty form after 2 mins of inactivity with JS?
At work we have this form (survey) sitting on a booth. The problem we need to solve is that whenever a customer leaves without filling out the whole form, we don't have a way to automatically redirect to the link of an empty version of it, so when a new customer arrives he/she doesn't get confused. Please help!
2 ответов
+ 4
setTimeout(function() {
document.forms[0].submit();
},1000*60*2);