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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form submit does nothing

Status
Not open for further replies.

vb6novice

Programmer
Sep 23, 2002
288
US
First try at <form>. HTML is as follows:

Code:
<form method=&quot;POST&quot; action=&quot;mailto:me@mydomain.com&quot; enctype=&quot;text/plain&quot;>

<input type=&quot;text&quot; name=&quot;job_number&quot; size=&quot;23&quot;>

<input type=&quot;submit&quot; value=&quot;Submit form&quot;>

</form>

The only thing that happens is I get a new mail message window with no subject, no content, and having to click Send to make it go.

I thought it was supposed to automatically send the message with the value of job_number in the body.

What am I missing?
 
Users do have to Click on the Send Button to Send emails , Plus if a user dont have Email Client installed Then Email window wont even open up.
Use Server side components to send emails.

Such as CDONTS in ASP.
 
OK.

The truth is that I don't really want to send an e-mail, I was trying to learn how to use forms. I'd rather have the inputs be sent to a file somewhere on the server. What's the simplest way to do that?
 
Using a Server Side Language.

in ASP you can use fileSystem Objects to save stuff to a TextFile.
Or you can Save imgaes into a folder as well.
Or you can also Store information into Database.

You can also do with javaScript by using activeX, Which is not Good, it requires all of your urses to have ActiceX enabled.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top