HTML - Trouble With Html Forms Email
I recently put several forms on my website. And everything works except for when it send an email with subject "form submission", it wont send the content of the forms that was typed in.
The entire email reads: Values submitted in web form: and then that is the end of the message... even if the forms are filled out... i have the form redirect to a "thank-you" page after you click submit and then i have this code in the thank-you page: <script language="php"> $email = $HTTP_POST_VARS[email]; $mailto = "email@address"; $mailsubj = "Form submission"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); } </script> any help would be appreicated... Similar TutorialsI have run into an issue email html code. It seems that some or all email clients use Quoted-Printable encoding when display messages. Quoted-Printable encoding will change the = the 3d= whick for most tags is not an issue. However, our cart provider uses a form for our add to cart, view cart etc.. and cannot interpret the Quoted-Printable encoding. What happens is the tag in there form ID="cartID" is turned into ID3D="cartID" when displayed in an email client... Which fails on our cart providers server. Any help, ideas or suggestions? I've made my email newsletter using html and uploaded it to my server. I only need to get the html coded newsletter into the gmail client. After searching on google for a couple hours I've gotten frustrated not being able to find the correct method of doing this. I tried clicking and dragging from the uploaded html file in my internet browser, which sort of works except I then lose all the hyperlinks (text and image) in the transfer. What exactly is the process in doing this? Thanks a ton! Hello, this is my first post on this forum so I hope I get this right. Can anyone help me with HTML email forms? I am trying to create some forms where people can submit things on particular pages, I know how to create the form, but i can only make it so when you press submit, the new message in their email will open and all the info they put is in the email and then they have to send it. I want it so when they press submit, it sends to us automatically without them having to send the email themselves. Thanks in advance. I am a newbie and know nothing about html. I am using Ewisoft for setting up my webpages. With that I have set up an email form for my submit page (I have a math help site).All other options are there but there is no option for uploading files. Can I do that with editing HTML code? If so what additional codes should I put? Should I add enctype"multipart/form-data I'm using bluehost. I have created some forms and want them to be submitted to an email address, but when I click the submit button it opens my email program instead of submitting. Site: www.dismantledesign.com/website Here is my form code: Code: <form class="form" action="mailto:matthewtyndall@gmail.com" method="POST" enctype="multipart/form-data" name="EmailForm"> <input type="hidden" name="action" value="verify"><table> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">Name:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <input name="control64609" type="text" value="" size="20"/> </td></tr> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">Email:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <input name="control64610" type="text" value="" size="20"/> </td></tr> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">Phone:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <input name="control64611" type="text" value="" size="20"/> </td></tr> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">City:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <input name="control64613" type="text" value="" size="20"/> </td></tr> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">Subject:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <input name="control64614" type="text" value="" size="20"/> </td></tr> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">Message:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <textarea name="control64615" rows="7" cols="35"></textarea> </td></tr> <tr><td valign=top><font size="2" FACE="Verdana" color="#000000">Verification No.:<small><span style="color:#E00000;" title="Required field">*</span></small></font></td> <td align="left" valign=top><input name="txtNumber" type="text" id="txtNumber" value="" size="10"></td></tr> <tr><td align=right><a title="Don't know why you have to enter this verification number? Click here!" href="http://www.123contactform.com/faq.html"><img border="0" src="http://www.123contactform.com/img/help_icon.gif" alt="contact form faq"></a></td> <td align="left"><img src="http://www.123contactform.com/random.php"></td> </tr> <tr><td></td><td align="left"><input type="submit" value="Send email"/></td></tr> </table> </form> Hiya! All the codes are working well but I have trouble with the email post. When you select an item on dropdown list and then click on the submit button, the email should show Description=Memo pad R62. Problem is that it only shows Description=1 - no words, huh? You can simply copy all these codes and paste on your field so that you can see what I mean. Hope you can help me fix this. Your help much appreciated. Code: <head> <script type="text/javascript"> var option_values = []; option_values[0] = [ "Card A6 - R32", "Memo Pad - R62" ]; option_values[1] = [ "Card A6 - R35", "Memo Pad - R65" ]; window.onload = function() { var select_list = document.getElementById("two"); document.getElementById("one").onchange = function() { // If the selected option has no value, return if (!this.value) { return; } // Remove all options from the select list while (select_list.hasChildNodes()) { select_list.removeChild(select_list.firstChild); } // Create and append the default option var option = new Option("Please select...", ""); select_list.appendChild(option); // Create and append all options from the appropriate nested array var value_array = option_values[this.value]; for (var i = 0; i < value_array.length; i++) { option = new Option(value_array[i], i); select_list.appendChild(option); } } } </script> </head> <body> <form action="mailto:youremail@gmail.com" method="post" enctype="text/plain"> <p>Description</p> <div> <select id="one" name="Description"> <option value="">Please select...</option> <option value="0">Happy Birthday Card</option> <option value="1">Wedding Card</option> </select> <select id="two"></select> </div> <p> <input type="submit" value="Send Email"/> <input type= "reset" value="Clear" /> </p> </form> </body> </html> Currently, I use MS FrontPage to build forms. I'd like to begin to move away from using FP extensions and just use FP for editing. I use several forms and I'd like to hear from anyone that can lead me to any freeware or shareware that I can use to build HTML forms instead of using FP's system. Whatever software I use for forms I'd like it to also include these 3 functions: 1. Allow for form error page 2. Allow for form acknowledgement page 3. Provide built in capability to send completed form data (via Submit) to specified email addresses. I've Googled this a few times but haven't been able to come up with what I'm looking for. I was hoping someone on this forum could help. Thanks i got assigned a task of creating a satifaction survey for the it department. i need help with this. is there any type of step by step guide out there. or better yet would anyone out there be able to create the form for me so i can insert into a web page? thanks! I'm trying to change a paypal form code I want to set up 4 radio buttons(payment plans). Each of the buttons I'd like to change the value part of this line <input type="hidden" name="amount" value="1.00"> into different amounts(chosen by me) how might i go about doing this? I have a series of questions related to forms via html. 1. I am creating an employment application form. The form is pretty long, and I would like to create a "next" button that would bring the applicant to the next section, however I don't want it to submit because I would like to keep the application together in one piece (I might not be able to tell what piece belongs to which applicant, etc.). 2. The dreaded "SUBMIT" button... I've tried all the tutorials on the web that I can find, but I'm not sure I know exactly what's going on. Excuse me, but I am a little bit slow. A thorough explanation of how to create a mailto: myemail@mywebsite.com would be awesome. I don't know how to make it work. I put the "mailto" script in my forms, but nothing happens when I click submit. I will be posting the custom HTML to my form once it is complete so you can copy/paste however you'd like. To contact me directly, just go to: www.happypetpaws.net and click on my "Live Support" button. I'll answer. Thank you for your help! I'm trying to make an e-mail form on a website using HTML that will send the information to me without opening up Microsoft Outlook. The only problem is the web host I'm using doesn't support PHP. Any ideas how this can be done? (I think this is in the right section, if not, I apologize!) I am totally new to web development. I have a project in which i have to make a form. It is not a simple form with only 2-3 input areas but a series of 3-4 pages to be filled by person to enter into database. I need a good software to design a form. pls suggest me one?? i tried front page but it is bull****. also i want to know that in my form I wantr that if user clicks a radio button then a part of form glows up and then user can fill out that options.(I mean to say that by clicking a particular radio button event ) thanks in advance Almon Hi I am currently trying to create a form which has one textbox, two radio buttons and a submit button and when the submit button is selected it will open another page and show the text from the text box and also show which radio button was selected. Currently i have two web pages, Forms.html which will have the textbox, radio buttons and submit button. Then i ahve page.html which i want to show the results. Currently the code in the forms.html page is: Code: <form action="page.html" method="post"> <fieldset> <legend>Testing form</legend> <p><label for="name">Name</label> <input type="text" id="name" /></p> <p><label for="male">Male</label> <input type="radio" value="male" id="male" name="gender" /></p> <p><label for="male">Female</label> <input type="radio" value="female" id="Female" name="gender" /></p> <p class="submit"><input type="submit" value="Submit" /></p><br/> </fieldset> </form> On the page.html the code i have is: Code: <% 'declare the variables that will receive the values Dim text, male, female 'receive the values sent from the form and assign them to variables 'note that request.form("name") will receive the value entered 'into the textfield called name name=Request.Form("text") email=Request.Form("male") comment=Request.Form("female") 'let's now print out the received values in the browser Response.Write("text: " & text & "<br>") Response.Write("male: " & male & "<br>") Response.Write("female: " & female & "<br>") %> However when you select the submit button it does open page.html but it does not show the results. Does anyone know why this is? Have i written the code wrong? Thanks Jeskit For my Web application, the user inputs RNA sequences. The user may input as many as he/she wishes, so I need to provide the option to input how many sequences will be submitted. That number of text boxes/input boxes need to be generated. For instance, if the user enters 4, four text boxes will be generated so the user can input four sequences. Is there a way to do this solely with HTML? Please help! My form is finished and I am trying to set up a thank you page that the advertiser gets when they submit a form. I am still learning and I am looking for a simple HTML code that can give me that. Much information is appreciated. Hello....long time viewer of this site....love it....learnt so much I have a question.... I used emailmeform.com to create my form for my site, but wanted to use my server instead of theirs.......Can't find a way around in the code I have a feeling this is what I need to change: "http://www.emailmeform.com/fid.php?formid=119926" How do I cut them out of the picture so that the form is submitted straight to my email? Here it is as it stands: <form method="post" action="http://www.emailmeform.com/fid.php?formid=119926" enctype="multipart/form-data" accept-charset="UTF-8"> <table width="659" border="0" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td width="480"> <p><font face="Verdana" size="2" color="#000000">Please help the site remain free and fill out the survey.</font></p> <p><font color="#000000" size="2" face="Verdana">Universal password for all eBooks will be emailed to you immediatley</font></p> <p class="style14"><font color="#000000" face="Verdana">*please read our <a href="TOS.html" title="TOS">terms of service</a> before submitting the survey</font></p> <div style="" id="mainmsg"> </div> </td> </tr> </table> <br> <table cellpadding="2" cellspacing="0" border="0" bgcolor="#FFFFFF"> <tr valign="top"> <td width="170" nowrap><font face="Verdana" size="2" color="#000000"><br /> Your Name</font><br /> <br /></td> <td width="351"> <br /> <input type="text" name="FieldData0" value="" maxlength="100" size="30"> <span class="style15"> *required</span> </td> </tr> <tr valign="top"> <td nowrap><font face="Verdana" size="2" color="#000000"><br /> Your Email Address<br /> <br /> </font></td> <td> <br /> <input type="text" name="FieldData1" value="" maxlength="100" size="30"> <span class="style15"> *required</span> </td> </tr> <tr valign="top"> <td nowrap><font face="Verdana" size="2" color="#000000"><br /> Phone Number<br /> <br /> </font></td> <td> <br /> <input type="text" name="FieldData2" value="" maxlength="100" size="30"> <span class="style15"> *required</span> </td> </tr> <tr valign="top"> <td nowrap><font face="Verdana" size="2" color="#000000"><br /> Interested In<br /> <br /> </font></td> <td><br /> <input type=checkbox name="FieldData3-0" value="Shares" id="check30"><font face="Verdana" size="2" color="#000000"><label for="check30">Shares</label></font><br><input type=checkbox name="FieldData3-1" value="Options" id="check31"><font face="Verdana" size="2" color="#000000"><label for="check31">Options</label></font><br><input type=checkbox name="FieldData3-2" value="CFDs" id="check32"><font face="Verdana" size="2" color="#000000"><label for="check32">CFDs</label></font><br><input type=checkbox name="FieldData3-3" value="Futures" id="check33"><font face="Verdana" size="2" color="#000000"><label for="check33">Futures</label></font><br><input type=checkbox name="FieldData3-4" value="FX" id="check34"><font face="Verdana" size="2" color="#000000"><label for="check34">FX</label></font><br><input type=checkbox name="FieldData3-5" value="Other" id="check35"><font face="Verdana" size="2" color="#000000"><label for="check35">Other</label></font><br> </td> </tr> <tr valign="top"> <td nowrap><font face="Verdana" size="2" color="#000000"><br /> Amount availiable to invest<br /> </font></td> <td> <br /> <input type=radio name="FieldData4" value="$0-$10k" id="radio40"><font face="Verdana" size="2" color="#000000"><label for="radio40">$0-$10k</label></font><br><input type=radio name="FieldData4" value="$10k-$25k" id="radio41"><font face="Verdana" size="2" color="#000000"><label for="radio41">$10k-$25k</label></font><br><input type=radio name="FieldData4" value="$25k-$50k" id="radio42"><font face="Verdana" size="2" color="#000000"><label for="radio42">$25k-$50k</label></font><br><input type=radio name="FieldData4" value="$50k-$200k" id="radio43"><font face="Verdana" size="2" color="#000000"><label for="radio43">$50k-$200k</label></font><br><input type=radio name="FieldData4" value="$200k+" id="radio44"><font face="Verdana" size="2" color="#000000"><label for="radio44">$200k+</label></font><br /> <br> </td> </tr> <tr valign="top"> <td nowrap><font face="Verdana" size="2" color="#000000"><br /> Currently trading through<br /> </font></td> <td> <br /> <input type="text" name="FieldData5" value="" maxlength="100" size="30"> <span class="style15">*optional</span></td> </tr> <tr valign="top"> <td nowrap><font face="Verdana" size="2" color="#000000"><br /> Experience<br /> </font></td> <td> <br /> <input type=radio name="FieldData6" value="Beginner" id="radio60"><font face="Verdana" size="2" color="#000000"><label for="radio60">Beginner</label></font><br><input type=radio name="FieldData6" value="Intermediate" id="radio61"><font face="Verdana" size="2" color="#000000"><label for="radio61">Intermediate</label></font><br><input type=radio name="FieldData6" value="Advanced" id="radio62"><font face="Verdana" size="2" color="#000000"><label for="radio62">Advanced</label></font><br> </td> </tr> <tr> <td colspan="2"></td> </tr> <tr> <td> </td> <td align="right"> <input type="text" name="hida2" value="" maxlength="100" size="3" style="display : none;"> <br /> <input type="submit" class="btn" value="Submit" name="Submit" /></td> </tr> <tr> <td colspan=2 align="center"> <br></td> </tr> </table> </form> Thanks so much! hi i have a form that i want to send to emails the form ask for password , user name and secret question , the thing is that i only know html and nothing about cgi scripts so what i did was that i search in google for cgi scripts so i found many but now i dont know what to do do i have to have one page for the form like form.htm and another for the cgi script like form.php or form.asp ? both of this files have to go into my server who host my page ? can you please help me to solve this thank you . rocko I need a form where when you click "Submit" it does not open Outlook. Instead, I want it to email the information to be, but redirect them to a confirmation that the information has been sent. How do I do this? Thank you! I am trying to make an HTML form with each field having an up and a down button next to it. There will be a total of 32 fields in a 4 by 8 table. The fields will be numerical starting with a value of 0. Then you can add or subtract 1 by pushing the corresponding button. I have figured out how to make the individule field using this code: <form> <input type=text name=amount value=5> <input type=button value="up" onClick="javascript:this.form.amount.value++;"> <input type=button value="down" onClick="javascript:this.form.amount.value--;"> </form> I can do this 32 times inside each cell of the table. But obviously I cannot submit this type of form do to the fact that you would end up with a <form> tag inside of a <form> tag. Is there any way around this? So that I can have the fields with their up and down buttons and then in the end be able to press the submit button and have it send the results in a text document to an email address using a php formmail script. |