affordit Posted March 24, 2008 Share Posted March 24, 2008 I have a survey form and the lotted time to fill out the form is 5 minutes. I would like it to submit itself after 5 minutes. Is there a way to do this? Link to comment https://forums.phpfreaks.com/topic/97687-form-submit-question/ Share on other sites More sharing options...
soycharliente Posted March 24, 2008 Share Posted March 24, 2008 Javascript? Link to comment https://forums.phpfreaks.com/topic/97687-form-submit-question/#findComment-499853 Share on other sites More sharing options...
wildteen88 Posted March 24, 2008 Share Posted March 24, 2008 You can do this with javascript: setTimeout("submitForm()", 60000); function submitForm() { document.form_name.submit(); } change form_name to the name of your form. Link to comment https://forums.phpfreaks.com/topic/97687-form-submit-question/#findComment-499855 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.