I have a script which creates a new HTML page which contains form data that will be passed to a cgi program.
1) the user selects form1 items on page 1 and hits Submit
2) which writes code to page two (contains code and form1.values with action to call cgi program). Currently the user must hit submit a second time to run the program.
Is there a way to submit form2 when the 2nd page loads so the user never sees it.
i.e onLoad=Submit(Form2)
Many thanks in advance
Eric
If you create something idiot proof,
Nature will create a better idiot.
1) the user selects form1 items on page 1 and hits Submit
2) which writes code to page two (contains code and form1.values with action to call cgi program). Currently the user must hit submit a second time to run the program.
Is there a way to submit form2 when the 2nd page loads so the user never sees it.
i.e onLoad=Submit(Form2)
Many thanks in advance
Eric
If you create something idiot proof,
Nature will create a better idiot.