murphyb
12-28-2003, 03:47 AM
hello,
I am working on a html page with a form which has a submit button and reset button. The reset button is working ok to clear off the data fields information, but the submit button does not at the moment. This submit button is designed to send the data fileds in the form to the designated recipient. Everytime I press the button, it asks me to save the handler.cgi, and the recipient never receive an email. This cgi file i got from somewhere in the internet, it is supposed to use for testing.
This is my first time creating such form with submit button. How do I get the button? what do i need to attach to the button? How can i test on local pc first prior to upload the files to ISp?
Attach is a cgi file for your review.
Thank you in advance.
Here is my form coding:
-----------------------------------
<FORM Method="post" Action="/cgi-bin/handler.cgi">
<!--- <FORM Method="post" Action="http://www.isp.co.uk/cgi-bin/formmail.pl"> -->
<input type="hidden" name="_MAILTO" value="abc@hotmail.com">
<input type="hidden" name="_SUBJECT" value="New Dealer Application Form">
<input type="hidden" name="_THANKS" value="thanks.html">
---- other data fields ----
---- other data fields ----
---- other data fields ----
.......
<input name="Submit Form" type="submit" id="Submit Form3" value="Submit Form" onClick="('Thank you for your business. Your form have been sent.')">
<input name="Clear Form" type="Reset" id="Clear Form7" value="Clear Form">
I am working on a html page with a form which has a submit button and reset button. The reset button is working ok to clear off the data fields information, but the submit button does not at the moment. This submit button is designed to send the data fileds in the form to the designated recipient. Everytime I press the button, it asks me to save the handler.cgi, and the recipient never receive an email. This cgi file i got from somewhere in the internet, it is supposed to use for testing.
This is my first time creating such form with submit button. How do I get the button? what do i need to attach to the button? How can i test on local pc first prior to upload the files to ISp?
Attach is a cgi file for your review.
Thank you in advance.
Here is my form coding:
-----------------------------------
<FORM Method="post" Action="/cgi-bin/handler.cgi">
<!--- <FORM Method="post" Action="http://www.isp.co.uk/cgi-bin/formmail.pl"> -->
<input type="hidden" name="_MAILTO" value="abc@hotmail.com">
<input type="hidden" name="_SUBJECT" value="New Dealer Application Form">
<input type="hidden" name="_THANKS" value="thanks.html">
---- other data fields ----
---- other data fields ----
---- other data fields ----
.......
<input name="Submit Form" type="submit" id="Submit Form3" value="Submit Form" onClick="('Thank you for your business. Your form have been sent.')">
<input name="Clear Form" type="Reset" id="Clear Form7" value="Clear Form">