HTML - Mailto Form Submit Question
Using the following code, how can I have the information sent to the email address and also redirected to another page when the user clicks submit.
<html> <body> <FORM METHOD = Post action="mailto:code.bro@verizon.net" Enctype="text/plain"> First Name: <input type ="text" name="firstname"/>   Last Name: <input type ="text" name="lastname"/> <br/> <br/><dd/> Comments orSuggestions: <br/><dd/> <textarea name="comment" rows="10" cols="50"></textarea> </textarea> <input name="redirect" Type="hidden" value="index.html"> <input name="next_url" Type="hidden" value="index.html"> <br>           <input type = "submit" value="send"> <input type = "reset" value="clear"> </form> </body> </html> Similar TutorialsHey all. I haven't designed a website in over 5 years and am extremely rusty. I'm trying to create a contact form and i have a question. When i hit submit it opens up outlook and just fills in the too with the e-mail i choose and the body has the content of the form. I don't want it to do this. When i hit submit i want it to send the contents of the form to an e-mail of my choosing and then take you to another page that says "Thank You for your submission" or something along those lines. Right now i have: <form action="MAILTO:example@example.com" method="post" enctype="text/plain"> <h3>Please fill out the form below and someone will be in touch with you shortly.</h3> Name: <br/> <input type="text" name="name"/> <br/> City: <br/> <input type="text" name="city"/> <br/> State: <br/> <input type="text" name="state"/> <br/> Zip Code: <br/> <input type="text" name="zip"/> <br/> Phone #: <br/> <input type="text" name="phone"/> <br/> E-Mail: <br/> <input type="text" name="email" /> <br/> Comment: <br/> <textarea rows="10" cols="80" wrap="physical" name="comments"> </textarea> <br/> <br/> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> What am i missing and how do i go about doing what i want? Thanks in advance!! im going to have a flash code with an html code inside. theres a link to where the flash player is getting the information from which includes a ID number. all i want to do it make a submit form or whatever i'd need, si i can just type in an ID (example: 134579) and it'd put the numbers inside the code and show that ID's information. any help? thanks in advance. Heya Guys, I am new to web creation and i am using Macromedia Dreamweaver 8 to create my websites. I have got a hot spot on a webpage and i want to use mailto to create a new e-mail when the hotspot is clicked on. I have figured out how to get the e-mail to open using the following html (which dreamweaver has created based on the link i typed in): <area shape="rect" coords="573,154,633,175" href="mailto:frosty16@hotmail.co.uk" /> However i was wondering what i had to do to have something come up in the subject field as well Can anyone help? I am in charge of an internal training website at work and I want to know if I have any options with my forms. The quiz has been created in a form and it is currently setup when you hit submit your responses are mailed to your supervisor. In order to this the same quiz has to be duplicated 15 times for each supervisor. This also has to be done for each quiz, which of which there are about 20. I want to know if there is a way to create a form an option to chose from various different recipients. Therefore I will only have to create one quiz and they will have an option to chose from the 15 supervisors listed. I know mailto: is not recommended but up to now it has worked fine. All users will be on Internet explorer 6. Any ideas? I have no idea on how to create a mailto form. I want the user to be able to send information to me, and I want an automated, automatic reply to be sent back to them. I am not looking for anyone to do it for me. Just tell me where I can read up on it. Hey all, I've never had problems with this before, but I can't figure out where I've gone wrong. I am trying to use a simple mailto action on my form, but I am not receiving any email to a number of email addresses (which i have been trying one at a time ). I have checked my spam folders/filters. Any help would be appreciated. Here is the code (with my email address removed) - I have not really done any formatting: Code: <form method="post" action="mailto:me@me.com"> Name: <input type="text" name="Name" size="20"><br> Email: <input type="text" name="email" size="20"><br> <input type="submit" value="Submit"> </form> Thank you for your time! ok. this is my code Code: <html> <body> <h3>This form sends an e-mail to W3Schools.</h3> <form action="MAILTO:(?)" method="post" enctype="text/plain"> Contact:<br /> <form action=""> <select name="names"> <option value="***@hotmail.com">Trevor</option> <option value="***@hotmail.com">Nick</option> <option value="***@hotmail.com">Sam</option> </select> </form> <br/> Name:<br /> <input type="text" name="name" value="your name" size="30" /> <br /> Your e-mail:<br /> <input type="text" name="mail" value="your e-mail" size="30" /> <br /> Comment:<br /> <input type="text" name="comment" value="your comment" size="40" /> <br /><br /> <input type="submit" value="Send" /> <input type="reset" value="Reset" /> </form> </body> </html> as you can see i am trying to send a email to the three adresses though a drop down menu. the (?) is where im not sure what to put. any ideas? guys, im having an issue with my mailto form iv pasted the code bellow: basicly the form dosent seem to be working correctly... i dont have the email arrive in my inbox!! http://www.bristolheatingsolutions.co.uk/contact.html Code: <FORM action="mailto:Patrick@bristolheatingsolutions.co.uk" method="post" enctype="text/plain"> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="4" WIDTH="90%"> <TR> <TD width="30%"><DIV align="right"> <B>Name :</B> </DIV> </TD> <TD width="70%"> <INPUT type="text" name="name" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Address :</B></DIV> </TD> <TD> <INPUT type="text" name="address" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Town :</B></DIV> </TD> <TD> <INPUT type="text" name="town" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Post Code :</B></DIV> </TD> <TD> <INPUT type="text" name="postcode" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Home Tel :</B></DIV> </TD> <TD> <INPUT type="text" name="house Tel" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Mobile Tel :</B></DIV> </TD> <TD> <INPUT type="text" name="mobile tel" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Email Address :</B></DIV> </TD> <TD> <INPUT type="text" name="email address" size="50"> </TD> </TR> <TR> <TD><DIV align="right"> <B>Comment:</B> </DIV> </TD> <TD><textarea name="comment" cols="50" wrap="virtual" rows="4"> </textarea></TD></TR> <TR> <TD> </TD> <TD> <INPUT type="submit" name="submit" value="Submit"> <INPUT type="reset" name="reset" value="Reset"> </TD></TR> </TABLE> </FORM> Hi, I have recently got a book on HTML and XHTML, and I was looking at forms. I would like a form to send the info to my e-mail: Rautoner@hotmail.co.uk , but whenever I try it, it asks if I would like to send it / security warning (which I don't want) and then it opens the url: mailto:Rautoner@hotmail.co.uk (which is wrong). Can anybody fix this? Code: <form action="mailto:Rautoner@hotmail.co.uk" method="post"> Name:<input type="text" name="Name"> Age:<input type="text" name="Age"> <input type="submit" value="Send"> </form> I made a form and cant figure how to get it to submit and not have it all in just a long line of text. I think it has something to do with the enctype. but I'm new to forms. Here is an equivalent to what i have so far. Code: <form enctype="text/plain" method="post" action="mailto:name@address.com"> <input type="text" name="first name" value="John"> <br> <input type="text" name="last name" value="Smith"> <br> <input type="submit" value="submit"> </form> Hi My first post here, so I hope it's a good one! I have a form which I want a javascript function to be able to manipulate the action= line. the reason I want this is so I can manipulate the subject line. the javascript looks like this: Code: <script language="JavaScript"> function getMAILTO(){ var mailto = "andy.plumb@conwy.gov.uk?subject=EN$(FORMNO)"; alert(mailto) document.Enrolment.action = mailto; } </script> I have put the alert in so i can see what the variable produces. The form line looks like this: HTML Code: <form action="mailto:javascript:getMAILTO()" method="post" > HTML Code: <form method="post" action="mailto:xxxxxxxx@xx.com "> <table class="text3"> <tr><td valign="top" width="140">Voornaam:</td><td><input name="requiredvoornaam" type="text" id="requiredvoornaam" class="veld" size="30" /></td></tr> <tr><td valign="top" width="140">Achternaam:</td><td><input name="requiredachternaam" type="text" id="requiredachternaam" class="veld" size="30" /></td></tr> <tr><td valign="top">E-mail:</td><td><input name="requiredemail" type="text" id="requiredemail" class="veld" size="30" /></td></tr> <tr><td valign="top">Telefoonnummer:</td><td><input name="requiredtelefoonnummer" type="text" id="requiredtelefoonnummer" class="veld" size="30" /></td></tr> <tr><td valign="top">Adres:</td><td><input name="requiredadres" type="text" id="requiredadres" class="veld" size="30" /></td></tr> <tr><td valign="top">Woonplaats:</td><td><input name="requiredwoonplaats" type="text" id="requiredwoonplaats" class="veld" size="30" /></td></tr> <tr><td valign="top">Aankomstdatum:</td><td><select name="adag" id="adag"> <option value="Dag">Dag</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="amaand" id="amaand"> <option value="Maand">Maand</option> <option value="Januari">Januari</option> <option value="Februari">Februari</option> <option value="Maart">Maart</option> <option value="April">April</option> <option value="Mei">Mei</option> <option value="Juni">Juni</option> <option value="Juli">Juli</option> <option value="Augustus">Augustus</option> <option value="September">September</option> <option value="Oktober">Oktober</option> <option value="November">November</option> <option value="December">December</option> </select> <select name="ajaar" id="ajaar"> <option value="Jaar">Jaar</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </td></tr> <tr><td valign="top">Vertrekdatum:</td><td><select name="vdag" id="vdag"> <option value="Dag">Dag</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="vmaand" id="vmaand"> <option value="Maand">Maand</option> <option value="Januari">Januari</option> <option value="Februari">Februari</option> <option value="Maart">Maart</option> <option value="April">April</option> <option value="Mei">Mei</option> <option value="Juni">Juni</option> <option value="Juli">Juli</option> <option value="Augustus">Augustus</option> <option value="September">September</option> <option value="Oktober">Oktober</option> <option value="November">November</option> <option value="December">December</option> </select> <select name="vjaar" id="vjaar"> <option value="Jaar">Jaar</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </td></tr> <tr><td valign="top">Welke huisje:</td><td><select name="huisje" id="huisje"> <option value="1">.____Huisje Zomerbries_____.</option> <option value="2">.____Huisje Wervelwind_____.</option> <option value="3">.____Huisje Tornado________.</option> </select> <tr><td valign="top">Aantal personen:</td><td><select name="aantal personen" id="aantal personen"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> </select> <tr><td valign="top">Overige vragen:</td><td><textarea name="bericht" rows="6" cols="23" id="bericht" class="area"></textarea></td></tr> <tr><td valign="top"></td><td><input type="submit" name="sendFormButton" value="Verzenden" id="sendFormButton" /></td> </tr> </table> </form> </td></tr></table> This is what i get once tested... its out of order... Help me plz...... Im not good with those thingz.. hi just wondering if someone can look over this code i have below... i think something is wrong lol its not bouncing emails to me soooo i'm kinda lost i think i have 2 forms working in one which isnt good... but can i have text input and image upload in one form?? i know you guys will be like "man this chick has it all wrong" but be nice thanks in advance kel Code: <br><br><FORM METHOD=POST ACTION="mailto:a*****@***.com" ENCTYPE="text/plain"> Name: <br><TEXTAREA NAME="COMMENTS" ROWS=1 COLS=20> </TEXTAREA> <br> Address: <br><TEXTAREA NAME="COMMENTS" ROWS=5 COLS=20> </TEXTAREA> <br> Upload image here.. For Best Results use an image as close to 1500x1500px as possible: <br><FORM METHOD=POST ACTION="mailto:*****@***.com" ENCTYPE="multipart/form-data"> <INPUT TYPE="file" NAME="upload"> </FORM> <br> <INPUT TYPE="submit" VALUE="Send"> <INPUT TYPE="reset" VALUE="Clear"> <br> </form> <!-- ** END OF FORM ** --> hey all, Thanks for looking at my issue, what i am trying to do is as follows! On my page http://cre8tivepixels.com/Quote%20form.html I have a quote form up the top, that works fine, i then added a section where models could send me three photos, when you click on these tabs it loads the photo up, but all i get is an email with the photo names but NO photos? What do i have to put in my script to make it so i recieve there jpegs, and not just the name of the file? Can this even be achieved? Basically i want the photos that a model submits to be delivered in my email address the same as my Quote Form above? Hope that makes sence? Cheers Dan I have a form with a number of elements. One of these elements is: <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-subscribe.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> Clicking on that element makes the form submit. But if I add a similar element: <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-subscribe.gif" border="0" name="submit2" alt="Make payments with PayPal - it's fast, free and secure!"> ...clicking on that also makes the form submit. So was wondering if anyone knew what the rules were for which elements make a form submit? Cheers, James Hello, I am new at web design, and frustrated by a Submit button constantly opening a new window instead of moving on in the current window. When coming to this forum to look for answers, I found a Submit button I then researched...and now I am even more confused! There's some code in the screen you see right after you log in, that looks like this: Quote: <script type="text/javascript"> <!-- document.write('<div style="margin-top:0px">'); document.write('<input type="submit" class="button" value=" Proceed " accesskey="s" onclick="window.location=\'http://www.htmlforums.com/f-html-xhtml-4.html/\'; return false" />'); document.write('</div>'); //--> </script> Clicking Submit does indeed move you on within the same window, but my questions a 1. How does this work when...it appears to be commented out! Note the <!-- and -->! And if these aren't commenting code out...then what are they there for? 2. What do all the forward and back slashes mean around the address? (I'm curious about the backslash right before the address, and then the forward and backslash right next to each other afterward) 3. I copied this code into my own page kind of like so: Quote: document.write('<input type="submit" class="button" value="Submit" onclick="window.location=\'newpage.html/\'; return false" />'); Every single time, clicking the button results in a white "This page cannot be displayed" screen--but then refreshing that screen causes the right page to come up! Does anyone know why it won't work the first time? Thanks in advance for any help that anyone can provide! I am designing a site for avaition photos that I have taken. What I want to do is have people who have had pictures taken of their aircraft to find the pictures and discretley release them for publication. The 'hard part' is taking the aircraft registry from a submit feild and returning an apropriate result. What I want to have happen is that if the user submits a registry that I have, they are presented with a page that they can fill out their information confirming that they are who they say they are and that the photo can be released. And if they are not in my list they get a 'sorry photo(s) not found' The question is can I do this without ay scripting or a database? IE If the user has the registration, have it point to a 'submittedregistration.html' file? Thanks for your help all!! Hi, I want to create a page that has a form designed to look like a form that members have to now fill out manually (eg registration for an event). When I design the html page with the form submit on it, how can I make the emailed form look like the html page that the user saw instead of just lines of data? This is so people who recieve the form via email, it will look like the original form. Thanks Jaden Help with forms i am trying to get a form on my practice website to work and trying to work out how to get the info from the form sent to my email address when poeple click on the submit button the site it currently is on http://members.iinet.net.au/~garyrei...eb%20services/ I am new to websites and learning heaps as go along not bad for 60yr old hey if you click on the contact us section thats the one i am trying to work out for it to send the info fromthe website to an email address im doing something wrong but not sure what or where if any one can help solve this problem or suggest what i can do to get it working properly that would be very helpful thanks for your help gaza I would like to make simple submit form, so I made this one. But it doesn't want to work. What is wrong? Code: <form method="post" action="mailto:something@mymail.com" enctype="text/plain"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="37%"> Mailing</td> <td width="63%">list</td> </tr> <tr> <td> Name</td> <td><input type=text name=Name size=8></td> </tr> <tr> <td> E-mail</td> <td><input type=text name=E-mail size=8></td> </tr> <tr> <td align="center"><input type=submit name=Sub value=Submit></td> <td align="center"><input type=reset name=reset value=Reset></td> </tr> </table> </form> |