Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submit & Reset buttons!!!!!!!

Status
Not open for further replies.

paragvshah

Programmer
Jan 11, 2001
109
IN
Hi friends,

In my register page i have used image instead of default submit

and reset buttons, for that these are the tags in the form:

<form name=&quot;Table3FORM&quot; enctype=&quot;text/html&quot; action=&quot;mailto:abc@abc.com&quot;

method=POST>

<input type=&quot;image&quot; src=&quot;images/submit.jpg&quot; width=&quot;80&quot; height=&quot;30&quot;

border=&quot;0&quot;>

<input type=&quot;image&quot; src=&quot;images/reset.jpg&quot; width=&quot;80&quot; height=&quot;30&quot;

border=&quot;0&quot; onClick=&quot;this.form.reset()&quot;>

but on clicking submit button an alert box pops up with the message:

This form is being submitted using email.
Submitting this form will reveal your email address to the recipient,

and will send the form data without encrypting it for privacy.
You may continue or cancel the submission.
Then the buttons for OK & Cancel are displayed.

on clicking reset button it deletes the data in fields but the same

messagebox arises with same message.

Until now i have not seen this kind of messagebox in any site.

Please provide the solution for this if anyone knows.
 
This is because you are trying to submit via email - which is a client side method - involving the user actually doing the sending.
You need a formmail script which can communicate with a server (cgi) - usually written in PERL, if you want to submit it without this message. Your action will point to the script which will parse all the info, then mail the results... Your ISP will definately have a cgi service.

The reason you haven't seen that message before, is because it is never used I guess.
b2 - benbiddington@surf4nix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top