Form Auto-Submission When Users Are Idle
In this guide, we will demonstrate how to add a trigger for form auto-submission if a user is idle for a specific amount of time.
1. Please edit your form template.
2. Please drag & drop a JavaScript element on your form from the Media section.
3. Please edit the field and add the following JavaScript code.
$(document).idle({
onIdle: function(){
$('.finish').click();
},
idle: 5000
});
You can set the auto-submission time by changing the “idle: 5000” value (In this case value “5000” equals 5 seconds).
4. Now if a user will be idle for 5 seconds, the form will auto-submit.
For any questions, please contact us - support@formyoula.com