HTML Form Submit Button Question

Discuss all aspects of programming here.

Moderator: The Mod Squad

HTML Form Submit Button Question

Postby boheemee » Thu May 01, 2008 4:31 pm

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="Myemail@Myhost">My Form Content</form>
Am I at least on the right track here? Any help would be greatly appreciated.

Thanks....boheemee
Image
Image
boheemee
Black Belt
Black Belt
 
Posts: 673
Joined: Sat May 11, 2002 7:28 pm
Location: Tacoma,WA

Postby boheemee » Sun May 04, 2008 5:54 pm

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.
Image
Image
boheemee
Black Belt
Black Belt
 
Posts: 673
Joined: Sat May 11, 2002 7:28 pm
Location: Tacoma,WA

Same problem...

Postby plutoplus1 » Sat Aug 02, 2008 11:30 pm

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?
plutoplus1
Pilgrim
Pilgrim
 
Posts: 2
Joined: Sat Aug 02, 2008 11:28 pm

Postby thomas_w_bowman » Mon Aug 04, 2008 5:58 am

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/EmailPrefix@EMAIL.COM>) +
FROM NoReply@EMAIL.COM+
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..."
Join Folding team #: 33258
thomas_w_bowman
Black Belt 2nd Degree
Black Belt 2nd Degree
 
Posts: 2884
Joined: Fri Feb 28, 2003 2:59 pm
Location: Minneapolis, MN

Postby plutoplus1 » Tue Aug 12, 2008 9:47 pm

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!
plutoplus1
Pilgrim
Pilgrim
 
Posts: 2
Joined: Sat Aug 02, 2008 11:28 pm


Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests