Page 1 of 1

Re: auto submit form

Posted: Mon May 18, 2015 1:30 am
by WebOutGateway
Hi JosephHanh

To be specific you are setting a timer for each questions and send the answer after the time consumed whether there is an answer or none.
You may use the JQuery function let say you have a form consist of question and you need to wait with delay() function and then submit() the form itself

$(function() {
$('#form').delay(30000).submit();
});

hope it helps

Re: auto submit form

Posted: Fri Apr 08, 2016 4:25 am
by johnmacd
Hi,

Try this:
if (isset($_GET['var']))
{
// SUBMIT FORM
}
else
{
// leave the page alone
}


Thanks