HTML - Organizing And Html Form
Hey,
So I have a form which right now...gets the job done, but my boss doesnt like the way it looks >.> he wants it to be less columnar and more uh...ya know like multiple text boxes on one line, just make it look nicer and less like a businessy form, although thats what it is Ive tried doing things like removing <tr> tags, but then the form just looks like crap, with like half my screen spacing ... lol Let me know if it is even possible to have this much control over a form (without a immense knowledge of website development..) Thanks, Paul Similar TutorialsWill organizing code into tabbed lines and line breaks create an inconsistency in the way web pages look in different browsers? Example: Code: <html> <body> <head> </head> <div> </div> </body> </html> I am a beginner at wp design and a newbie at actually coding html but I can already see the need to develop a clear set of guidelines for using folders to organize my work. For example, I am inclined to want to make 3 folders for each website, one called webpages, one called images and one called CSS. Is this useful/ a good idea? Or should I create a folder for each webSITE and then a folder within for each webPAGE? I am guessing that mirroring this structure on my webspace would be helpful - would facilitate uploading and downloading. Please comment also on relative references - at least I think this topic is related. I would appreciate any insight from some of you veterans out there to keep me from pulling out what little hair I have left script completed, thx Hello, With a HTML form, is there anyway I can allow the user to send the form to my email without it opening up a email program? I currently have this... HTML Code: <form method="post" action="mailto:support@huntswebdesigns.co.uk"> If it is possible, what would I need to change in this? Cheers guys. Hi, I'm trying to create a form with two boxes for an insurance site. I want that in the first box the user will select the type of insurance and in the second box type the zip code. For every insurance type, the surfer will be directed to a different URL. This is the code that I have, but of course that it doesn't work: HTML Code: <form name="mainform"> <tr> <td colspan="2"> <select name="src" id="type"> <option value="http://www.mysite.com/results-car.html">Auto</option> <option value="http://www.mysite.com/results-home.html">Home</option> <option value="http://www.mysite.com/results-life.html">Life</option> <option value="http://www.mysite.com/results-health.html">Health</option> <option value="http://www.mysite.com/results-motorcycle.html">Motorcycle</option> <option value="http://www.mysite.com/results-business.html">Business</option> </select> </td> <input type="hidden" name="source" value="google" /> <tr> <td><input type="text" name="zipcode" maxlength="5" id="zip" /> </td> </tr> <tr> <td colspan="2" style="text-align:center;"><input type="submit" id="button" value="Go"/></td> </tr> </table> </form> For example, for auto insurance the URL should be: HTML Code: http://www.mysite.com/results-car.html?zipcode=10001&source=google Thanks!! i have a working order form on my website. the problem is i have 300 items in the form and when someone submits the form, i get all 300 items emailed to me, when all i want is the items orders. example: person orders itemC only i get in the email: itemA: itemB: itemC:1 itemD: etc x 300 when all i want in the email is: itemC:1 is that possible? I am storing all of my shopping cart information in a db and then retrieving whenever someone wants to checkout. I want all the products to be transferred to google checkout as soon as i click their checkout button. for some reason when i click the image that is supposed ot take me to google checkout it begins to download the picture of the google checkout to my computer? it worked until i tried having it save more than 1 product.. here is my code PHP Code: $cart_set1 = get_cart($cookie_id); while($row = mysql_fetch_array($cart_set1)) {?> <?php $number=1; ?> <form method="POST" action="https://sandbox.google.com/checkout/api/checkout/v2/checkoutForm/Merchant/722419656118816"> <input type="hidden" name="<?php echo "item_name_".$number; ?>" value="<?php echo $row['product_name']; ?>"/> <input type="hidden" name="<?php echo "item_quantity_".$number; ?>" value="<?php echo $row['qty']; ?>"/> <input type="hidden" name="<?php echo "item_price_".$number; ?>" value="<?php echo $row['product_price']; ?>"/> <input type="hidden" name="<?php echo "item_currency_".$number; ?>" value="USD"/> <input type="hidden" name="<?php echo "ship_method_name_".$number; ?>" value="UPS Ground"/> <input type="hidden" name="<?php echo "ship_method_price_".$number; ?>" value="10.99"/> <input type="hidden" name="<?php echo "item_description_".$number; ?>" value="<?php echo $row['size']; ?>"/> <input type="hidden" name="tax_rate" value="0.0875"/> <input type="hidden" name="tax_us_state" value="NY"/> <input type="hidden" name="_charset_"/> <?php $number++; ?> <?php } ?> <input type="image" name="Google Checkout" alt="fast checkout through google" src="http://checkout.google.com/buttons/checkout.gif?merchant_id=722419656118816&w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180"/> </form hi guys i just added a protection to my forum - which look like this just a simple hyperlink thing can sm1 help me to modify it into to look into like this- regards ian I'm having a bit of trouble setting up my e-mail form on my website. www.dynamitede.com - the form and coding is in the HTML. I found a script for an HTML e-mail form. I'm just looking to have people fill out this form, I am emailed the results, and a download box comes up for the e-book or they can be taken to another page. I'm assuming I'm missing some sort of other coding that has to be configured with the form. I have tried the free apps and tools, but they look ugly. Any assistance is appreciated! Probably a simple fix for an experienced coder. The problem I am having with it is the mailto part. Whenever I click send, it automatically opens Microsoft Outlook. Here is what I need: 1) Make it so that it sends to the e-mail I specify without opening Microsoft Outlook. 2) Make all the fields required to be sent. Code: <title>multiple-choice quiz form</title> </head> <body bgcolor=#ffffff> <h3><font size=6><center>Rate Your Support</center></font></h3> <h3><center>Please remember that we are not owned by or affiliated with Facebook. We therefore can not edit or change your profile. We cannot edit wall-to-walls, inbox messages, deactivated profiles, groups, fan-pages, notifications, settings, or Facebook Chat.</center></h3> <form method="mail" action="mailto:jobrewer@packer.edu?subject=Rate Your Support" enctype="text/plain"> <p>1. Who helped you with your problem?:<BR> <input type="radio" name="1.The staff member who helped me with my issue was" value="maison"> funnytim<BR> <input type="radio" name="1.The staff member who helped me with my issue was" value="quatre"> Lightning Yoshi<BR> <input type="radio" name="1.The staff member who helped me with my issue was" value="soleil"> The Listener<BR> <p>2. Was your problem responded to in a reasonable amount of time?<BR> <input type="radio" name="2. The word which means fish is" value="maison"> 1 - 72+ hours<BR> <input type="radio" name="2. The word which means fish is" value="valise"> 2 - 48-71 hours<BR> <input type="radio" name="2. The word which means fish is" value="soleil"> 3 - 36-47 hours <BR> <input type="radio" name="2. The word which means fish is" value="poisson"> 4 - 24-35 hours<BR> <input type="radio" name="2. The word which means fish is" value="poisson"> 5 - 24- hours<BR> </p> <p>3. Was your question properly diagnosed by our staff?:<BR> <input type="radio" name="3. The word which means suitcase is" value="renard"> No<BR> <input type="radio" name="3. The word which means suitcase is" value="valise"> Barely<BR> <input type="radio" name="3. The word which means suitcase is" value="soleil"> Somewhat<BR> <input type="radio" name="3. The word which means suitcase is" value="poisson"> Mostly<BR> <input type="radio" name="3. The word which means suitcase is" value="poisson"> Fully<BR> </p> <p>4. Were you given any type of directions to solve your problem?:<BR> <input type="radio" name="3. The word which means suitcase is" value="renard"> No<BR> <input type="radio" name="3. The word which means suitcase is" value="valise"> Somewhat<BR> <input type="radio" name="3. The word which means suitcase is" value="soleil"> Yes<BR> </p> <p>5. Did your supporter type in complete sentences, use correct grammar, punctuation, and spelling, etc.?:<BR> <input type="radio" name="3. The word which means suitcase is" value="renard"> No<BR> <input type="radio" name="3. The word which means suitcase is" value="valise"> Somewhat<BR> <input type="radio" name="3. The word which means suitcase is" value="soleil"> Yes<BR> </p> <p>6. Was your topic locked before the issue was resolved?:<BR> <input type="radio" name="3. The word which means suitcase is" value="renard"> No<BR> <input type="radio" name="3. The word which means suitcase is" value="soleil"> Yes<BR> </p> <p>7. Did you receive the solution you needed?:<BR> <input type="radio" name="3. The word which means suitcase is" value="renard"> No<BR> <input type="radio" name="3. The word which means suitcase is" value="valise"> Barely<BR> <input type="radio" name="3. The word which means suitcase is" value="soleil"> Somewhat<BR> <input type="radio" name="3. The word which means suitcase is" value="poisson"> Mostly<BR> <input type="radio" name="3. The word which means suitcase is" value="poisson"> Fully<BR> </p> <p>8. Would you recommend us to a friend?:<BR> <input type="radio" name="3. The word which means suitcase is" value="renard"> No<BR> <input type="radio" name="3. The word which means suitcase is" value="valise"> Maybe<BR> <input type="radio" name="3. The word which means suitcase is" value="soleil"> Definitely<BR> <p>9. On a scale of 1-10 (with 10 being best), what would you rate Facebook Forum Support?:<BR> <input type="radio" name="3. The word which means suitcase is" value="renard"> 1/10; I didn't get any support whatsoever<BR> <input type="radio" name="3. The word which means suitcase is" value="valise"> 2/10 <BR> <input type="radio" name="3. The word which means suitcase is" value="soleil"> 3/10 <BR> <input type="radio" name="3. The word which means suitcase is" value="renard"> 4/10<BR> <input type="radio" name="3. The word which means suitcase is" value="valise"> 5/10<BR> <input type="radio" name="3. The word which means suitcase is" value="soleil"> 6/10<BR> <input type="radio" name="3. The word which means suitcase is" value="soleil"> 7/10 <BR> <input type="radio" name="3. The word which means suitcase is" value="renard"> 8/10<BR> <input type="radio" name="3. The word which means suitcase is" value="valise"> 9/10<BR> <input type="radio" name="3. The word which means suitcase is" value="soleil"> 10/10; The support was very useful<BR> </p> <p>10. <br><form method="post" action=""> <textarea name="comments" cols="40" rows="5"> Enter your other comments here about your experience with our Facebook Support System... </textarea><br> </form> <br> <br> <br> <br> <input type="submit" value="Send Form"> <input type="reset" value="Clear Form"> </form> </body> </html> Hi, For a course I'm taking, we are learning to make HTML forms. I'm having trouble with my form, however. My submit button won't submit [that is, refresh to] the results.php page I have set up for the form submission. The querystring in the URL contains the information I've entered on the form, but it won't display the new page. My reset button, however, works totally fine and completely resets the data. Can anyone help? What do i do? What im trying is the action is "http://website.com/images/" but what im trying to do is where the user can enter its own text like "Image1.png" so when they do hit submit. It will enter the action= "http://website.com/images/" in the address bar and then what ever the user typed in it will followed right behind it for example ="http://website.com/images/image1.png" Code: <form name="input" action="http://website.com/images/" method="get"> Search: <input type="text" value="" /><br /> <input type="submit" value="Submit" /> </form> This is what i have so far. Not entirely sure its correct. Because it always have the "?=" Before the text so it will always get the address wrong. Does anyone know what i mean. Or is it even possible to have something were they don't have to enter the ".png" the code will insirt it at the end. Hi, I have set up a basic HTML form that asks a customer a series of questions. My question is, using PHP or similar can anybody help witht he code to, Provide basic data validation, all fields require a response and then to email the data direct to me without using the clients email software. All the internet help I can find refers to put functions in seperate files, but I can't do that as I don't have access to the host servers! I intend to put a capatcha on it to prevent spamming, again this seems to rely on other php files too. Is there away that you can create functions that are called, but are not in seperate files? Any help would be greatly received. - Jason Hi guys, Ok so I am creating a form for a business and what needs to happen is there is a form full of questions, using both check boxes, radio buttons and text areas and then it gets sent to a email but when it gets sent to the email I need all the data entered to be placed next to each other in the email. Eg: Form Type of car: _________ Model: _________ kms driven: _________ then in the email I'll recieve: car model, 1999 model, 50,000km can anyone help with this at all? thanks in advance. HI i'm creating an html form which will be posted to a php file. The problem is the are multiple input fields which need to have the same name/id. If they have the same name or id what will be submitted to the php file, will it just append one value to the other? Does it make a difference if i use id or name? Thanks Hi All, I'm far from a HTML pro so need some help with this one. I need to automate some auditing as much as I can. What I was thinking was to create a html form with yes/no answers. when a NO answer is provided, a description of why this is bad is shown, to either copy and paste into a word doc or even better, auto generate the document. i.e. Web form with question and radio button Y/N answers; Q1. Is there an Anti-Virus Y/N Q2. Are MS updates up to date Y/N Q3. Are all firewalls on Y/N Q4. Are Password complexities met Y/N As you can see, Q1 and Q3 were answered with a NO. so would like details on these questions shown/generated/exported to word. i.e. Q1. Is there an Anti-Virus; Anti-Virus is required to prevent malicious software bla bla bla Q3. Are all Firewalls on; Firewalls prevent attacks bla bla blab laa. IS this easy to do? Taking it slow... I need a web page. This web page will be composed of an irrelevant amount of questions, possibly twenty (20). An prospective applicant should be able to come to this web page, fill out the questions, and press a submit button. The questions should then be taken from that web page, put into either a Word document (.doc) or a PDF file (.pdf) in their corresponding areas. As a side note, the prospective applicant should not be able to see or edit the actual Word document or PDF file. He or she should just be able to fill in answers to the questions given and then submit and be done until called for an interview. This Word document or PDF file would then be emailed to the designated person that handles job applications. All of the necessary information would be already filled in, allowing for, lets say, an immediate interview with the prospective applicant once they arrive at the business instead of having to fill out the form by hand, possibly wasting 20-30 minutes. How would I go about making this? Is it even possible? Do I have to buy expensive software? Thanks in advance! OK, sad to say, I just registered to ask this question (and I'm sorry if this is in the wrong section, too). I'm fairly new at HTML and PHP, and I get a blank page whenever I use this form: This is the HTML part: Code: <html> <head> <title>HTML</title> </head> <body> <form action="PHPServer.php" method="post"> <input type="text" name="from" value="Sender" /> <br/> <input type="text" name="to" value="Receiver" /> <br/> <input type="text" name="subject" value="Subject" /> <br/> <input type="text" name="msg" value="Message" /> <br/> <input type="submit" value="Send E-Mail" /> </form> </body> </html> This is the PHP part: Code: <html> <head><title>PHP Server</title></head> <body> <?php $to = $_POST['to']; $subject = $_POST['subject']; $from = $_POST['from']; $message = $_POST['msg']; if(mail($to, $subject, $message, $from)){ echo "Mail sent"; }else{ echo "Failed to send mail"; } ?> </body> </html> Again, all I get when I press the submit form (with all valid information) is a blank white page on the PHP part (aka www.website.com/PHPServer.php) and the title as PHP Server...Help please and thanks I'm trying to build this form...so far most-everything looks like it is in working order...but i am still not getting emails forwarded to me when the form is submitted...im somewhat new at html, so any help would be appreciated! (and yes i put my real email addy into the form, i just removed it as i am posting on here) ----- HTML Code: <form action="http://www.bigbiz.com/cgi-bin/forms.cgi" method="POST"> <input type=hidden name=F_to value="email@email.com" /> <input type=hidden name=F_subject value="New Estimate Appointment" /> <p><span class="style6">Schedule Your Appointment</span></p> <p> </p> <p>Customer Information:</p> <p> </p> <p> Name:</p> <p> <input name=name size="10" maxlength="30"> </p> <p> </p> <p>Phone Number: <p> <input type="text" size="10" maxlength="30" name="phone"> </p> <p> </p> <p>Email Address: <p> <input name=F_from size="10" maxlength="40"> </p> <p> </p> <p>------------</p> <p><br/> Vehicle Information:</p> <p> </p> <p>Make :</p> <p> <input type="Make" size="10" maxlength="20" name="make"> </p> <p> </p> <p>Model:</p> <p> <input type="model" size="10" maxlength="20" name="model"> </p> <p> </p> <p>Year :</p> <p> <input type="year" size="10" maxlength="4" name="year"> </p> <p> </p> <p>Reason for bringing in vehicle:</p> <p> <textarea rows="5" cols="28" wrap="physical" name="comments"></textarea> </p> </p> <p> </p> <p>------------</p> <p> </p> <p>Schedule your apointment:</p> <p> </p> <select name="month"> <option></option> <option>January</option> <option>February</option> <option>March</option> <option>April</option> <option>May</option> <option>June</option> <option>July</option> <option>August</option> <option>September</option> <option>October</option> <option>November</option> <option>December</option> </select> <select name="day"> <option></option> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> <option>13</option> <option>14</option> <option>15</option> <option>16</option> <option>17</option> <option>18</option> <option>19</option> <option>20</option> <option>21</option> <option>22</option> <option>23</option> <option>24</option> <option>25</option> <option>26</option> <option>27</option> <option>28</option> <option>29</option> <option>30</option> <option>31</option> </select> <select name="time"> <option></option> <option>8:30 AM</option> <option>9:00 AM</option> <option>9:30 AM</option> <option>10:00 AM</option> <option>11:00 AM</option> <option>11:30 AM</option> <option>12:00 PM</option> <option>12:30 PM</option> <option>1:00 PM</option> <option>1:30 PM</option> <option>2:00 PM</option> <option>2:30 PM</option> <option>3:00 PM</option> <option>3:30 PM</option> <option>4:00 PM</option> <option>4:30 PM</option> <option>5:00 PM</option> </select> <p>*Note we are open Monday - Friday, 8:30 - 5:30</p> <p> </p> <input type=submit value="Send" name="submit" /> <input type=hidden name=F_fields value="'Name:'+name,'Contact Number:'+phone,'Email Address:'+F_from,'Vehicle Make:'+make,'Vehicle Model:'+model,'Vehicle Year:'+year,'Appointment Month:'+month, 'Appointment Day: '+day,'Time:'+time" /> <input type=hidden name=F_required value="name,phone,F_from,month,day,time" /> <INPUT TYPE=HIDDEN NAME=F_ok_url VALUE="http://www.website.com" /> </form> Hi all, hoping someone out there may be able to help. I need to create a form of drop down menus with the end result once submitted being a different website. IE. Choosing different options on the drop down menu will lead to a different site. Example. Q1. Yes Q2. Yes Q3. Yes Submit - Takes you to a football site. Q1. No Q2. Yes Q3. Yes Submit - Takes you to a golf site. Any ideas on this would be mostly appreciated, I can only work with html. |