HTML - Form Problems
Hello all,
Having some problems with this form. <form id="form1" action="" enctype="multipart/form-data" name="form1"> <div style="padding-left:1px;"> <div class="fleft" style="width:208px;"> <span class="txt2">Enter Your Name:</span> <div class="form"><input type="text" value=" "/></div> <span class="txt2">Enter Your E-mail:</span> <div class="form"><input type="text" value=" "/></div> <span class="txt2">Enter Your State:</span> <div class="form"><input type="text" value=" "/></div> </div> <div class="fleft" style="width:250px;"> <span class="txt2">Enter Your Message:</span> <textarea name="textarea" cols="20" rows="10"></textarea><br /> <br style="line-height:15px;" /> <div class="fright"><a class="link2" href="#" onclick="document.getElementById('form1').reset()"><img alt="" src="images/clear.gif" /></a><img alt="" src="images/spacer.gif" width="17" height="1" /><a class="link2" href="#" onclick="document.getElementById('form1').submit()"><img alt="" src="images/send.gif" /></a></div> </div> I want to have it send the form information through an email account on our domain to a set of addresses. I read somewhere that I should change the information in the contact.asp document but I do not have one. I bought the template I am using and there was not one in the zip file. Do I need to create a contact.asp file? If so, how? Can I do something with the existing code? Any help is appreciated. Similar TutorialsHi there, I created a form, but have a hard time getting it to work properly when I test it with the cgiecho that I was told to use by my web host. Here's a link to the form page: http://www.harmonihomeconsulting.com/contact-hhc.htm I used a script that I found in this forum (renamed it to "submitForm") and adjusted it to reflect my inputs etc. with the goal of having certain fields be required when someone fills in the form. It seems to work when I fill in all the fields, but not when some are left blank. I selected the script as it seemed to be the easiest to understand for someone like myself that know basically nothing about scripts. My web host did provide instructions on another way to make the input required, but it doesn't seem to work either, so I went back to the script in hope of getting that to work, but with no luck. Any assistance with this would be greatly appreciated. Thanks for your help! Hi all, I have a simple form which is passing a value (e.g 324) to another page. e.g <option value='234' >Football for 8 to 10 year olds</option> I also need to pass the name, e.g Football.... Is it possible to pass two things at once in this way? many thanks, Martin. Hi, I'm a new member first post :] I have a website I'm working on and there is a problem with the existing forms. You fill them out and submit but get an error... Not Found The requested URL /cgi-t/form.cgi was not found on this server. This is probably due to incorrect directing of urls within the code do you think? [as] <font color="#255696" size="5" face="Arial"><b><br> </b></font> <FORM METHOD=POST ACTION="http://ledgerlaw.com/cgi-t/form.cgi"> [/as] maybe some problem here I see there is cgi?! Not sure if this is the correct forum but I have a website with a contact form on it http://www.theatreatsea.com/contact.html When a user fills it out I get: realname: inqtype: Contact Us Form whe New York name: ptvrkfg street: txgdSIJwgL address2: xYLiUcuckdCVmwmN city: phone: 80059710967 other: CpfGtYXiaG Send: Send Why is it doing this? Any help greatly appreciated Thanks Hey guys I am making a application form for my website and I have a few questions... After the application is complete and they hit Submit I want a message to come up and say "Thank you for the application" Then it clears all the text boxes etc to default so they know that the application is complete. How do I get that happening? Also I want the application to go to my email however I do not want the application to open a email form, at the moment I have got Code: <form action="MAILTO:contact@xin-gaming.com" method="post" enctype="text/plain"> but that opens up an email form so that they send it as if it was an email which I don't want. I want it to send it to my email but without the applicant knowing that it's going to my email. Sorry for the confusion >< Thank you in advance Hi, I want to load a text file into HTML textarea, edit it and later save it. the following form fails to show the text a simple text file - 1.txt. ----- <html> <script> function saveFile (fname) { document.execCommand('SaveAs',null,fname) } function displayFile (text) { document.formName.file.value = text; } </script> <body> <form name="form1" method="post" action=""> <label>edit this file: <textarea name="textarea" rows="10" cols="50">displayfile("1.txt")</textarea> </label> <input type="button" value="Save" onClick="saveFile('1.txt');"> </form> </body> </html> ------ Ok. so here's the deal. I need to set my site up to where people can create login names w/ passwords etc. I have no clue where to start. Right now, I know how to create a username form and password form, but thats about it. any help?? Plz!?! Hi, I have been making progress making my site but I'm stuck. I have added a html for to my site, but when I test it out, I don't recieve an email with the information. http://pacificnewsnow.com/index2.htm Also, the test under the "Top Story" image appears to but a little chopped off on the top and bottom. Is there a way to fix that? Thanks! I've reduced the errors down to two but I'm stuck on fixing these final connected errors relating to the form apparently not being open, but it is! Could someone please see below and tell me what they think? http://validator.w3.org/check?uri=ht...alidator%2F1.2 Thank you. Hi I'm having problems with the following set of code:- Code: <style> #columns { width: 600px; } #columns .column { position: relative; width: 46%; padding: 1%; border: solid 0px #000; } #columns .left { float: left; } #columns .right { float: right; }</style><div id="columns"> <div class="left column"> <p><b>What are your journey needs?</b></p><input type="checkbox" name="Journey Needs" value="Elderly">Elderly<br> <input type="checkbox" name="Journey Needs" value="Wheelchair User">Wheelchair User<br> <input type="checkbox" name="Journey Needs" value="Mobility Impaired">Mobility Impaired<br> <input type="checkbox" name="Journey Needs" value="Unable to use own/public transport">Unable to use own or public transport<br> <input type="checkbox" name="Journey Needs" value="No public transport available">No Public Transport available<br> <input type="checkbox" name="Journey Needs" value="Group Hire - General Public">Group Hire - General Public<br> <input type="checkbox" name="Journey Needs" value="Group Hire - Community Groups">Group Hire - Community Groups<br> <input type="checkbox" name="Journey Needs" value="Youth">Youth<br> </p> </p> </div> <div class="right column"> <p><b>What is your journey purpose?<b></p><input type="Radio" name="Journey Type" value="Shopping">Shopping<br> <input type="Radio" name="Journey Type" value="Hospital Appointment">Hospital Appointment<br> <input type="Radio" name="Journey Type" value="G.P., Optician, Chiropodists, Physio,etc">G.P., Optician, Chiropodists, Physio. etc<br> <input type="Radio" name="Journey Type" value="Day Care">Day Care<br> <input type="Radio" name="Journey Type" value="Leisure">Leisure<br> <input type="Radio" name="Journey Type" value="Education">Education<br> <input type="Radio" name="Journey Type" value="Visiting (Hospital, etc)">Visiting (Hospital, etc)<br> <input type="Radio" name="Journey Type" value="Other">Other<br> <p> </div></div></p> <b>Please give more details:</b><br> <textarea name="VisitorComment" maxlength="300" lengthcut="true" rows="6" cols="50"> </textarea><br><br> I use two different browsers, IE7 (Version 7.0.5730.13CO) and Google Chrome (Version 12.0.742.142). Even though a simple solution would be to not use any column coding at all, thereby putting them one above the other, this makes the page too long so I am trying to get them side by side. The problem is that the page looks about perfect in IE but in Chrome the wording 'Please give more details' appears at the right-hand edge of the text area, unless you alter the page zoom in which case it appears above the radio functions. I've tried tagging as a table but the situation is then reversed: looks great in Chrome but in IE the check boxes are almost perfectly displayed and the radio functions are squashed. I'm not too familiar with tables or columns at this point. The table tags I hijacked from the Links page ( I was able to understand them enough to both remove and add new ldata to the table) on the site I'm helping develop and the column tags I gleaned from a html tutorial site. Is this just as issue with the way that different browsers display html or am I missing something in the tags? Thanks for looking and hope someone can help. Hi, I am having a problem with the formating of a search box inside a table. All I want is for the text field and submit button to sit exactly in the middle (vertically aligned) inside the table with an equal space above and below (table background is dark colour so very noticeable) In Dreamweaver, it looks fine until published - then there is a large gap below the text field and submit button but small space above. I basically am trying to get the space below the same as the one above. Take a look at the code to see what I mean. <style type="text/css"> <!-- .style2 { font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #FFFFFF; font-size: 12px; } --> </style> <table width="540" border="0"> <tr> <td width="534" height="26" bgcolor="#666666"><form action="http://www.soundscalpel.com/search.php" method="get" name="form1" target="_blank" id="form1"> <label for="textfield"></label> <div align="right"> <span class="style2">Search for Sound Effects </span> <input type="text" name="q" id="q" /> <input type="submit" value="Submit" /> </div> </form> </td> </tr> </table> Hope someone can help Thanks Hello Im sorry I really dont know HTML but i am a self learner and made a form for my website and it works perfectly but my problem is to SUBMIT it the form will open up Outlook Express and people ahve to send an email and junk. I was wondering if there was a way around it to like get it sent straight to my email address? like on freewebs.com if you submit a form it goes to your email (but of course if you want to do more than 25 form requests you ahve to pay) so i was wondering if anyone can help me or give me a code the email i need it to sent is AnatreDesigns@hotmail.com. if you need anything specific just let me know THANK YOU SO MUCH this is my page http://web.vtc.edu/users/cjb06271/CI...nal/order.html there are several things I would like to happen. 1. the right collumn background to be where the right collumn should be(so other links in navbar) 2.The test between the roach pictures to be alligned with the top rather than bottom of pictures (so smaller windows can see) 3. When you size the window smaller than the text, a scroll bar appears, and when you scroll the background no longer exists. If I put it on auto the background will only go as far as the text does. 4. (nice but not required)The cocroachs to be alligned to the left and right of the top bar respectively, and the text in the middle. 5. (nice but not required) the right column background image is being cut in half (as does the top one if you size small enough). any way to make the images ignore the collumns? don't worry about the colors I will be changing them soon script completed, thx Hi all, I have a simple newsletter form, so just the email field and a submit, what I would like to do is to send this data to a larger subscriber form, so one that has name, email (with the data previously entered already added), list to subscribe to etc. Can this be done? Thanks 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 Hi guys, now i know this is my first post here, i have joined because i am really stuck and i would really appreciate any help. First off, just so you know - i know near enough nothing about HTML I am busy designing my site and i cant go much further as there is one issue really bugging me. My website is vBulletin (yes i know its PHP) and im using another script called vBadvanced CMPS (a portal mosification). I have tried to add a navigation bar to the left of my forums and it works! Only problem is, it really breaks up the forum. Take a look for yourself Link Notice the way its all broken up at the bottom? Anyway, i posted my problem on both the vBulletin & vBadvanced websites without much luck. One of the admins told me that i needed to get some errors fixed (all 109 of them)... I managed to narrow the errors down to 67 all in all. Here I really am stuck guys and im sure these errors will be relatively easy to fix for someone who has experience with HTML/PHP. if anybody needs me to i can paste the vBulletin templates that are causing the problems Any help would be great. Thanks Can anyone suggest how i fix the problem i have here with IE? HTML Code: <body> <div id="container"> <div id="header"> <img src="images/thePlacePromotion.jpg" alt="The Place Promotion Agency for Gloucestershire" width="960" height="80" /> </div> <div id="middle"> <a href="http://www.glosfirst.co.uk"><img src="images/Middle.jpg" alt="We're building a new website, meanwhile here's a link to the current Gloucestershire First website." width="960" height="578" border="0" /></a> </div> <div id="bottom"> <a href="http://www.glosfirst.co.uk"><img src="images/slogan.jpg" alt="We're building a new website, meanwhile here's a link to the current Gloucestershire First website." width="960" height="80" border="0" /></a> </div> </div> </body> CSS is: Code: body { background-color: #96be3f; } #container { width: 970px; background-color: #96be3f; height:auto; margin: auto; } #header { width: 960px; padding: 20px auto; margin: auto; } #middle { width: 960px; height: 567px; margin: auto; } #bottom { width: 960px; height: 80px; margin: auto; } the top header on IE is over to the right! Thanks Hurley My OS is windows 7 64bit and have installed: - internet explorer 9 - Mozilla Firefox - Google Chrome My website is getting displayed correctly on Firefox and Chrome but is a bit of a mess on IE9 If you could have a look and let me know if there is anything I could do, would be much appreciated. Here is one page of my site that is bothering me: http://www.dashony.com/Solar%20panel...0projects.html Please check out the white menu, ( SpryMenuBarVertical ) using IE and one of the other 2. Thanks! I recently bean using ssi instead of frames and i now have an issue... I do not know how to keep the menubar on the left hand side at the top... see as my page streaches it centers itself in the midle of the screen... i am using tables to create a framelike effect without the issues that frames create |