HTML - Form To Email - Newbie Help
Hi guys,
i dont know to much about html, but i use dreamweaver and i have just built a new site etc and on one of the pages i have a form. and basically all i want is for the user to input data into the form and click send or w.e and the information then gets sent to my email account. i beleive this is quite simple. I got given a code to input and so i did and put in my details etc, but for some reason when the user presses send or the button it doesnt actually send and the page goes to a 404 error webpage when its meant to link to a thankyou page. Heres the code i already have: <form action="Thankyou Page" method="post" ID="Form1"> <input type="hidden" name="subject" value="Phase Wave Inquiry" ID="Hidden1"> <input type="hidden" name="recipient" value="phasewave@aetnet.co.uk" ID="Hidden2"> <input type="hidden" name="redirect" ID="Hidden3"> <p align="center"> <label></label> <span class="style3">If none of these options are right for you, just fill in this simple form and we will look into the details and get back to you as soon as we possibly can.</span> <p align="center" class="style4">Field with * must be filled in <table width="298" height="238" border="0" align="center"> <tr> <td><div align="center" class="style1">* Name : </div></td> <td width="161"><input name="textfield" type="text" maxlength="20" /></td> </tr> <tr> <td><div align="center" class="style1">* Email : </div></td> <td><input name="textfield2" type="text" maxlength="50" /></td> </tr> <tr> <td><div align="center" class="style1">Mobile :</div></td> <td><input name="textfield3" type="text" maxlength="12" /></td> </tr> <tr> <td><div align="center" class="style1">Home : </div></td> <td><input name="textfield4" type="text" maxlength="12" /></td> </tr> <tr> <td height="40"><div align="center" class="style1">*Brief description of event : </div></td> <td><textarea name="textarea"></textarea></td> </tr> <tr> <td height="40"><div align="center" class="style1">Any questions feel free to ask! : </div></td> <td><textarea name="textarea2"></textarea></td> </tr> </table> <p align="center"><br> <br clear="all"> <input type="submit" name="Submit" value="Submit"> <input type="reset" name="Reset" value="Clear Form"> </form> Any help would be appreciated, or any links to guides etcetc Thanksyou in advance Similar TutorialsHi, and sorry for being yet another individual with the same question. I am a total rookie as far as code, and someone else built this form for me. I know enough to know that given that I do not see an email addy anywhere in the code, that is is not surprising that I am not receiving it. This is a form built into a wordpress site. I assume something is missing at the very beginning where it says "mailsend.php" If anyone could tell me what code I need to add, I would GREATLY appreciate it. Thank you in advance! <form action="mailsend.php" method="post" name="contactform" onsubmit="return fullcheck()"> <table width="196" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" class="formtext">If you would like to schedule a free personal injury consultation, contact the Scott McPherson Law Firm in New Port Richey, Florida today.</td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="16" /></td> </tr> <tr> <td width="67" class="formtext">Name:</td> <td width="129"><input name="name" type="text" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td width="67" class="formtext">Email:</td> <td width="129"><input name="email" type="text" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td width="67" class="formtext">Phone:</td> <td width="129"><input name="phone" type="text" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td width="67" class="formtext">Address:</td> <td width="129"><input name="address" type="text" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td width="67" class="formtext">City:</td> <td width="129"><input name="city" type="text" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td colspan="2" valign="top"><table width="196" border="0" cellspacing="0" cellpadding="0" align="left"> <tr> <td width="65" class="formtext">State:</td> <td width="56" align="left"><input name="state" type="text" class="form_border" style="width:50px;" /></td> <td width="24" class="formtext">Zip:</td> <td width="51"><input name="zip" type="text" class="form_border" style="width:47px;" /></td> </tr> </table></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td width="67" valign="top" class="formtext">Comments:</td> <td width="129"><textarea name="comments" class="form_border" style="width:129px; height:86px; overflow:hidden;" rows="" cols=""></textarea></td> </tr> <tr> <td colspan="2" class="formtext">Please insert what you see in the image: </td> </tr> <tr> <td><img src="captchaImage.php" alt="captcha image"/></td> <td><input type="text" id="captcha_input" name="captcha_input" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><input type="hidden" value="<?=basename($_SERVER['PHP_SELF'])?>" name="pagename" /><img src="images/sp.gif" alt="" width="1" height="13" /></td> </tr> <tr> <td colspan="2" align="right"><input type="hidden" value="1" name="enter" /><input type="image" name="submit" src="images/submit.jpg" /></td> </tr> </table></form> Hi, I want to put in a form to get queries from the user, like so: Name: Email: Comments: 'Send' button and that it will send the information to my email address which is gmail? Thanks script completed, thx Heyy I've made an e-mail form looking like this: <form action="mailto:cs@byvejen.dk?subject=Portfolie Bot" method="post" enctype="text/plain"> <table><tr><td> Navn: <INPUT NAME="Navn" TYPE="text" VALUE="Skriv her" SIZE=20 MAXLENGTH=20><BR> E-mail: <INPUT NAME="E-mail" TYPE="text" VALUE="Skriv her" SIZE=20 MAXLENGTH=50><BR> Emne: <INPUT NAME="Emne" TYPE="text" VALUE="Skriv her" SIZE=20 MAXLENGTH=50><BR> Tekst: <INPUT NAME="Tekst" TYPE="text" VALUE="Skriv her" SIZE=20 MAXLENGTH=500><BR> </td></tr> <tr><td align=center> <INPUT TYPE="submit" value="Send" style="color: #ffffff; background-color: #000000"> </td></tr></table> </FORM> My problem/question is: How do i make an input box heigher ? If i change size it olny get longer..! Thanks in advance.. I have very limited HTML training, but I'm trying to find out how to write some HTML code that will allow a website or blog visitor to: 1. Enter their email address in a form field 2. Select a choice from a drop down menu Once they've done that and hit a submit button, I would like to have the info emailed to me. I know this is possible, but is it possible to have this text on a blog like Blogger, or do I have to have my own webpage with specific settings or formats? Thank you so much in advance. Hi doesn anyone know where to find any javascript code to send an email form through a website. I've found code that lets you make a form that sends through your email client (i.e outlook), but I want it to all be done through the website. thanks Trying to create an order form for a web page that will send a mail to an order inbox. Have 2 problems: - The email appears and the user has to click "send". I do not want that. I want it to be sendt automatically, and the user should only get an output of "Order sent" How can I do this? - Also, the email is very cryptic. Is there any way I can edit the message body to be more easely readable? Appreciate any suggestions. I've created a form and need help getting it to actually work. Here is what I have done so far... http://www.kibit.co.uk/form.html Thanks in advance to anyone who offers help. Hi, I would like to have a html form that automatically emails the input to my email address. It will include a drop down box and text fields. Could anyone help me with this? Thanks. Ok So I was a little premature in adding to my previous post the the form was now working in IE. I've written 2 forms, the first was a very basic general feedback form, asking the user to rate the site as Excellent, Good or Poor, together with a comments field. This is a relaunch of a site than ran into a little disuse and became out of date. (Once the site is live I'll think about adding the details into a topic on this site for you all to see.) The second was as my first post (form redirect) listed. Both were using the method="post" but I'd read that you didn't need this if you were using 'mailto' tag so I removed it. Now it adds the email recipients but removes the email subject and doesn't add the responses into the body of the email. Further reading indicated that for very basic forms the method="get" is better so I changed it. This stopped it working in Chrome. Can't win! Leaving the method out.............still no joy. Hey ho. Will probably get the site host to use Perl (or whatever other they use for other sites they have developed). Benefits? No more headaches for me. Less chance of spammers. Hopefully better security and more likelihood of people using the form as they wouidn't need to give their email address if they didn't want to. And, hopefully, some chance of being able to filter out those inapproriate responses some people like to submit with these forms. i am creating a website in Html script in notepad and have set up a form and would now like it to get the results of the form and send these to my hotmail acount with out gettin the user to have togo through outlook to do this. Is this possible? i have been getting so stressed over this Thanks Sir Minstral Hey guys, I've made a form for my website. It should send the information in my form directly to the emailaddress I added, but it doesn't. I would also like to get some sort of confirmation so that when you have filled in the form and sended it, you get some sort of confirmation that the form was filled in correctly and was send to my emailaddress. Here is the code: HTML Code: <h1>Join us:</h1> <form action="MAILTO:joinus@mysitename.nl" method="post" enctype="multipart/form-data" name="Joinus"> Nickname:<br /> <input type="text" name="name" value="your nickname" /><br /><br /> Age:<br /> <input type="text" name="age" value="your age" /><br /><br /> E-mail:<br /> <input type="text" name="mail" value="your email" /><br /><br /> Name:<br /> <input type="text" name="name" value="your name" /><br /><br /> Main skill:<br /> <input type="text" name="skill" value="your main skill" size="50" /><br /> Country:<br /> <input type="text" name="country" value="your country" /><br /><br /> CoD series: <input type="checkbox" name="name" value="CoD United Offensive" /> CoD United Offensive<br /> <input type="checkbox" name="name" value="CoD Modern Warfare" /> CoD Modern Warfare<br /> <input type="checkbox" name="name" value="CoD Modern Warfare 2" /> CoD Modern Warfare 2<br /> <input type="checkbox" name="name" value="CoD Black Ops" /> CoD Black Ops<br /> <br /><br /> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> Hey, I'm looking for a way to get a form to send an email to one or more recipients when someone hits the Submit button. I've seen the mailto angle, but I'm looking for the form to do the work itself, and don't want the mail app launched on the user's machine. Is this something I'd have to play with servlets and the like for, or is there some way to do it with javascript, html, whatever? hi all :-) pls can anyone advise where to post my query. it regards html code and my smtp server/ i have created a form to email code and have input my smtp script. but for the life of me i cannot get it to work, as to submit my form to email address, and the server is working fine and cannot find anything obviusly wrong with the coding. i think i have visited every web site out there lol....help me pls...thanks in advance Is there a way to have an email form that includes a field where you would enter an email address and this would be used in the "to" field of the email. I used a tutorial on another website to create a Email Form. But the form doesn't work. Can someone help me work out whats wrong. I also want to add a confirmation page. HTML Code: <form action="mailto:exterminate-tcg@hotmail.co.uk?subject=Join Form" method="post" enctype="text/plain"> <table><tr><td> Name: <INPUT NAME="Name" TYPE="text" SIZE=15 MAXLENGTH=50><BR> Email: <INPUT NAME="Email" TYPE="text" SIZE=20 MAXLENGTH=90><BR> Website URL: <INPUT NAME="Website URL" TYPE="text" VALUE="http://" MAXLENGTH=4555><BR> Birthday: <INPUT NAME="Birthday" TYPE="text" VALUE="dd/mm" SIZE=6 MAXLENGTH=5><BR> Set Colecting: <INPUT NAME="Set Colecting" TYPE="text" SIZE=15 MAXLENGTH=11111><BR> Referred By (Optional): <INPUT NAME="Referred By (Optional)" TYPE="text" SIZE=15 MAXLENGTH=30><BR> Comments?<BR><TEXTAREA NAME="Comments?" ROWS=4 COLS=20></TEXTAREA><BR> </td></tr> <tr><td align=center> <INPUT TYPE="submit" value="submit" style="color: #000000 ; background-color: #FFFAFA "> </td></tr></table> </FORM> Ok i am trying to make a page with a form to fill out and when they hit submit it gets send right to my email...but right now when i hit send my outlook comes up to send the email and i know not alot of people have outlook set up...how do i go about doing this??? what do i change in this? <!--Sign Up--> <center> <hr> <h4 class="bold">Sign Up! Become A Member</h4> <p class="height">Please fill all this out and submit it!</p> <form method="post" action="mailto:Email@Email.com" enctype="text/plain"> <fieldset> <legend>Your Information</legend><br> Okay, I shoould probably start off by saying I am a complete and utter noob when it comes to HTML. I can basically do text, links, images, basic forms, and that's it. So I'm not sure if the following question is legitimately an issue or not, or if I'm just being stupid. I'm working on a website for a small organization that I'm head of, and want to make a "contact us" page. I would like to make a form that can be filled out to send an email to, but what I'm doing isn't working - the email won't send. Here's what I'm trying to use: Code: <form action="mailto:someone@something.com" method="post" enctype="text/plain"> <h3>Use this form to send an email to [insert my name here].</h3> Name:<br> <input type="text" name="name" value="Your name here" size="20"> <br> E-Mail:<br> <input type="text" name="e-mail" value="Your E-Mail Address" size="20"> <br> Message:<br> <input type="text" name="message" value="Your Message" size="40"> <br><br> <input type="submit" value="Send it!"> <input type="reset" value="Reset All Fields"> </form> The form shows up, but the email doesn't send. Can somebody help me out, please? Hello all, I am building a website for a church and I am having trouble getting the contact form working properly. Below is the form code I have. I am also new to ipage, so if anyone is familiar with any server setup, it would be greatly apreciated! <form method= "post" action="http://www.ipage.com/scripts/formemail.bml"> <input type="hidden" name="my_email" value="mailto:info@blanchardnaz.org"> Name<br> <input type="text" name="Name" size="25"><br> Email<br> <input type="text" name="Email" size="25"><br> Phone Number<br> <input type="text" name="Phone Number" size="25"><br> <br> <textarea rows="15" cols="50"></textarea> <br> <input type="submit" name="submit" value="Send" > <input type="reset" name="reset" value="Reset" > <input type="hidden" name="thankyou_url" value="http://www.blanchardnaz.org/index.html"> </form> Hello all, I am having trouble pasting this html into my content management system and am looking for a solution. We are attempting to have people visit this page and opt-in for email services such as our newsletter. The form isn't posting properly and isn't functioning correctly. Any help would be greatly appreciated. Thank you. Here's the code the site gives you to post into your content manager: <style> .link, .signupframe { color: #226699; font-family: Arial, Helvetica, sans-serif; } .link { text-decoration: none; } .signupframe { border: 1px solid #000000; background: #ffffff; } </style> <form method=post action="https://app.icontact.com/icp/signup.php" name="icpsignup" id="icpsignup676" accept-charset="UTF-8" onsubmit="return verifyRequired676();" > <input type=hidden name=redirect value="http://www.icontact.com/www/signup/thanks.html" /> <input type=hidden name=errorredirect value="http://www.icontact.com/www/signup/error.html" /> <div id="SignUp"> <table width="260" class="signupframe" border="0" cellspacing="0" cellpadding="5"> <tr> <td valign=top align=right> <font size="1" face="Arial,Helvetica, sans-serif">*</font> <font size="2">Email</font> </td> <td align=left> <input type=text name="fields_email"> </td> </tr> <input type=hidden name="listid" value="11267"> <input type=hidden name="specialid:11267" value="FKCE"> <input type=hidden name=clientid value="693760"> <input type=hidden name=formid value="676"> <input type=hidden name=reallistid value="1"> <input type=hidden name=doubleopt value="0"> <TR> <TD> </TD> <TD><font size="1">*</font><font size="2"> = Required Field</FONT></TD> </TR> <tr> <td> </td> <td><input type="submit" name="Submit" value="Submit"></td> </tr> </table> </div> </form> <script type="text/javascript"> var icpForm676 = document.getElementById('icpsignup676'); if (document.location.protocol === "https:") icpForm676.action = "https://app.icontact.com/icp/signup.php"; function verifyRequired676() { if (icpForm676["fields_email"].value == "") { icpForm676["fields_email"].focus(); alert("The Email field is required."); return false; } return true; } </script> <a class="link" href="http://www.icontact.com"><font size="2">Email Marketing You Can Trust</font></a> |