HTML Form Submit Button Question

Discuss all aspects of programming here.

Moderator: The Mod Squad

Post Reply
boheemee
Black Belt
Black Belt
Posts: 673
Joined: Sat May 11, 2002 7:28 pm
Location: Tacoma,WA

HTML Form Submit Button Question

Post by boheemee »

I have made up an HTML Form for my website for users to input data such as name, address, e-mail etc. What I'm having a problem with is submitting the data. I would like the data to be sent to an e-mail address, or possibly an excel data base (if that's possible), when they click the submit button. This is what I have now :
<form name="form1" method="post" action="mailto:email_address" value="[email protected]">My Form Content</form>
Am I at least on the right track here? Any help would be greatly appreciated.

Thanks....boheemee
[url=http://www.motherboards.org/folding/folding_faq.html][img]http://home.comcast.net/~boheemee/Sigs/GarfieldRct.JPG[/img][/url]
[url=http://valid.x86-secret.com/show_oc.php?id=364528][img]http://valid.x86-secret.com/cache/banner/364528.png[/img][/url]
boheemee
Black Belt
Black Belt
Posts: 673
Joined: Sat May 11, 2002 7:28 pm
Location: Tacoma,WA

Post by boheemee »

Got it working with the action="Mailto:" .....guess the only way to get it to auto send the e-mail without opening Outlook Express is with server side scipting....Thanks for looking.
[url=http://www.motherboards.org/folding/folding_faq.html][img]http://home.comcast.net/~boheemee/Sigs/GarfieldRct.JPG[/img][/url]
[url=http://valid.x86-secret.com/show_oc.php?id=364528][img]http://valid.x86-secret.com/cache/banner/364528.png[/img][/url]
plutoplus1
Pilgrim
Pilgrim
Posts: 2
Joined: Sat Aug 02, 2008 11:28 pm

Same problem...

Post by plutoplus1 »

I keep having the same problem. I've made my form, got the submit button...

But every time I press submit, it opens in Outlook Express. I *just* want it to SEND directly from the website, I don't want to open in outlook express.

Does anyone know what the problem is?
User avatar
thomas_w_bowman
Black Belt 2nd Degree
Black Belt 2nd Degree
Posts: 2884
Joined: Fri Feb 28, 2003 2:59 pm
Location: Minneapolis, MN

Post by thomas_w_bowman »

Server side scripting is like making up an email without using an email program, on a mainframe I can generate email using a utility and parms like:
%XMITIP ( <User_Name/[email protected]>) +
FROM [email protected]+
SUBJECT 'Whatever to Appear as Subject ' +
MSGDD INFILE
(The MSGDD refers to a DD called Infile, which would contain the message text).
This is likely somewhat different in HTML, but you get the idea - never let the system associate the entry with 'EMAIL' or the registry will Open whatever you associate with Email...
Better living thru technology...
"Open the Pod Bay Doors, HAL..."
[url=http://www.motherboards.org/folding/index.html]Join Folding team #: 33258[/url]
plutoplus1
Pilgrim
Pilgrim
Posts: 2
Joined: Sat Aug 02, 2008 11:28 pm

Post by plutoplus1 »

How do you make it not associate with EMAIL then? All that codish stuff you posted made no sense to me...I only know HTML and CSS, but not at expert level.

Is there some HTML code I can use to make this problem (email forms opening in outlook express) stop occurring? Thanks!
Post Reply