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? Quote 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? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/97687-form-submit-question/#findComment-499855 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.