HTML - I Need A Basic Form To Submit, For A Html Web Page
I need a basic form to submit for a html web page.
Can you provide one with a two seperate fields, one text area, and a submit button? Thanks Similar TutorialsCan i just place some html in between the head tags or ?? to make the text change to arial for example? Hi, I am a newbie using HTML to build a form in Sharepoint 2003 and I am not sure if this form is submitting properly. The form looks good! However, the question is: Does the HTML code actually submit any of the data entered in the fields when I hit the Submit button? Thanks for your help. <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252"> <META NAME="Generator" CONTENT="Microsoft Word 97"> <title>This form will serve as a check list for software and hardware requests</title> </HEAD> <BODY LINK="#0000ff"> <FONT FACE="calibri"><SPAN LANG="EN-CA"><h2>This form will serve as a check list for software and hardware requests. </h2> <FONT FACE="calibri" size=3><SPAN LANG="EN-CA"><P>Please allow 4 weeks for delivery.</P> <P>Date: (dd/mm/yyyy) <input type="text" name="today_date" size="10" /> </P> <P>Name <input type="text" name="fullname" size="35" /><br /> </P> <P>User Name<input type="text" name="username" size="35" /><br /></P> <P>Address (address/city/pr/postal code/country) <input type="text" name="addressname" size="35" /><br /></P> <P>Job Title </br> <input type="checkbox" name="business_manager" size="35" /> Business Manager<br /> <input type="checkbox" name="Analyst" size="35" /> Analyst<br /> <input type="checkbox" name="Data Manager" size="35" /> Data Manager<br /></P> <P>Department <input type="text" name="department" size="35" /><br /></P> <P>Line Manager <input type="text" name="line_manager" size="35" /><br /></P> <P>Phone Number <input type="text" name="phone_number" size="12" /><br /></P> <P>Mobile (Cell) Number <input type="text" name="cell_number" size="12" /><br /></P> <P>Email Address <input type="text" name="email_address" size="50" /><br /></P> <P> <input type="checkbox" name="new_user" size="35" /> New User <br/> <input type="checkbox" name="existing_user" size="35" /> Existing User<br /> </P> <P>Start Date (dd/mm/yyyy) <input type="text" name="start_date" size="10" /> </P> <p>Hardware<br /> <input type="checkbox" name="laptop" /> Laptop <br /> <input type="checkbox" name="keyboard" /> Keyboard <br /> <input type="checkbox" name="mouse" /> Mouse <br /> <input type="checkbox" name="usb_headset" /> USB Headset<br /> </P> <input type="submit" value="Click Here to Submit" /> <input type="reset" value="Erase and Start Over"/> </p> </form> <P> </P></FONT></SPAN></BODY> </HTML> how can i submit this form to my email can any1 one edit it and fix it for me please thank you make sure it works iv tried but it don't work cuz i cnt name the form Code: <script> function validate() { var at=document.getElementById("email").value.indexOf("@" && ".") var age=document.getElementById("age").value var fname=document.getElementById("fname").value var lname=document.getElementById("lname").value var address=document.getElementById("address").value var header=document.getElementById("header").value var footer=document.getElementById("footer").value submitOK="true" if (fname.length<2) { alert("Please Enter Your Name") submitOK="false" } if (fname.length>12) { alert("Please Enter Your Name") submitOK="false" } if (lname.length<2) { alert("Please Enter Your Last Name") submitOK="false" } if (lname.length>12) { alert("Please Enter Your Last Name") submitOK="false" } if (isNaN(age)||age<18||age>100) { alert("You have to be over 18 to place a online Order") submitOK="false" } if (address.length<25) { alert("Please Enter a valid Address in the Following Format\n\n House/Flat Number\n\n Name of Road/Street\n\n Post Code\n\n Town and the City") submitOK="false" } if (at==-1) { alert("Please Retype Your Email, The Email you Entered is not Valid") submitOK="false" } if (header.length<3) { alert("Please Enter Your Area Phone Code") submitOK="false" } if (footer.length<8) { alert("Please Enter Your Phone Number") submitOK="false" } if (submitOK=="false") { return false } function shaz() { alert("Are You Sure you want to Reset the Whole Page") } } </script> <body> <BODY BACKGROUND="http://img452.imageshack.us/img452/9413/wallpaperox6.jpg" BGCOLOR="white" TEXT="blue" > <center><IMG SRC="contact.gif"> </center> <form action="choice.html" onsubmit="return validate()"> Name (Max 9 chararcters): <input type="text" id="fname" size="20"><br /> <p> Last Name (Max 9 chararcters): <input type="text" id="lname" size="20"><br /> <p> Age (Over 18's Only ): <input type="text" id="age" size="20"><br /> <p> Address:<br><textarea id="address" cols="40" rows="5" ></textarea> <p> E-mail: <input type="text" id="email" size="20"><br /> <p> Primary telephone: (*<input type="text" id="header" size="2" maxlength="4">) <input type="text" id="footer" size="7" maxlength="8"> <p> Card Type: <select id="cardtype" onchange='alert("You Have selected "+ cardtype.value)'><br> <option value = "Home">Home </option> <option value = "Work">Work </option> </select> <p> <input type="submit" value="Click here To Continue" onClick="validate()"> <body> <form onreset="shaz()"> <input type="Reset"> </body> </html> Hi All, I want to autosubmit my file to google.com. Here is the code I wrote to execute it. Unfortunately output is not what is intended. I tried in IE and mozilla only. Basically I want the script to be browser independent Any help will be appreciated. Below is the code. My file name is autosub.html <HTML> <HEAD> <TITLE>My First JavaScript</TITLE> </HEAD> <BODY onload=""> <FORM NAME="search_Key" METHOD="post" ACTION="http://www.google.com" target="_top" id="search_key"> <p align="center"> Search value : <INPUT NAME="search_value" SIZE="10" MAXLENGTH="3" VALUE="spiderman"></p> <INPUT type="submit" value=Go> </FORM> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- document.write("I love JavaScript"); //--> function myautosubmit() { document.pnr_stat.submit(); document.write("I love JavaScript2"); } </SCRIPT> </BODY> </HTML> When open my autosubmit.html, browser shows "I love JavaScript2" only. Thanks in advance Hi, I got a HTML form whose submit button doesnt seem to be working, Any help would be appriciated. The link to the form is http://new.johnnyshotel.com/contact.html . I tried the same form in a different plain html file and it seems to work but when I insert it back into this webpage template the submit button doesnt seem to work. Thanks in advance. Hello, I'm creating an HTML form. The Submit button is not working - when I press the Submit button, the browser opens a new tab and logs into my Yahoo account. It has never done this before. I'm using IE 9. PLEASE HELP! I'm baffled. Here's the html tags for the form: <form name="guestbook" action="mailto:kjohnson@calbaptist.edu" method="post"> <p><b>First Name:</b> <input type="text" name="fname" size="25" /></p> <p><b>Last Name:</b> <input type="text" name="lname" size="35" /> </p> <p><b>Age level:</b></p> <input name="1" type="radio" value="under18" />Under 18<br/> <input name="1" type="radio" value="18-30" />18-30<br/> <input name="1" type="radio" value="31-45" />31-45<br/> <input name="1" type="radio" value="over45" />Over 45</br> <p><b>Interests (Check all that apply):</b></p> <input type="checkbox" name="sports" />Sports<br/> <input type="checkbox" name="music" />Music<br/> <input type="checkbox" name="crafts" />Crafts<br/> <p><b>Grade Status:</b></p> <select name="gradestatus"> <option> Click on your status</option> <option> High School Student</option> <option> Undergraduate Student</option> <option> Graduate Student </select> <p><b>Comments:</b></p> <textarea name="comments" rows=5 cols=50></textarea> <br /><br /> <input type="submit" name="submit" value="Submit" /> <input type="reset" name="reset" value="Reset" /> </form> Hi all, I'm trying to find a way to have my webpage scroll to the bottom automatically after the script: document.form1.submit() is called. I need to run the function/refresh in order to reload some different data into part of the page, but after the refresh the position of the page is always at the top... making the user have scroll down again. I could set some anchors or use window.scroll(0.500); on the page load, but i only want it to scroll down if that function of form1.submit() is called - and thats only called once the page has already loaded for the first time. So the first time a user goes to the page, it loads normally at the top of the page. Then they scroll down themselves and select an option. Once the select an option, the form1.submit() is called and the page refreshes with new data in it but is still at the top. Is what I want possible? Thanks, Mike How can I place the php form into the html page? Please see the attachment describe what I asking for. thank you. hi, i have just decided to make my own web site! Please could you tell me some bacis things like marquee effects etc. Many thanks , Hi I am trying to add some custom text below a frameset. Basically can anyone add just a simple header below the frameset in the following code> Code: <html> <frameset cols="25%,*,25%"> <frame src="frame_a.htm" /> <frame src="frame_b.htm" /> <frame src="frame_c.htm" /> </frameset> </html> The code comes from this page: http://www.w3schools.com/tags/tryit....tml_frame_cols and I've tried the usual ways of adding a body tag and added a h2 tag below it, but i can't get it to work - either i can get the h2 tag to appear or the frameset. Can anyone help? Thanks So, i am very new to writing html, just started learning. I have created a very basic page for practice(the code is below) using text edit on a macbook. The file is saved with the .html extension. The problem lies in when i try to load the page with a browser(i have tried both safari and firefox), i double click it and the browser opens the file, but it looks exactly like the source file. It shows all the tags and everything that is written in the source code. I have been trying to figure out what i have done wrong for hours now, have tried all the variations of 'doctype' tags and none fixed the problem, have also tried it without a 'doctype' tag and same thing happened. Can someone please look at the source below and give me any help possible? I am very new to this, so maybe it will make complete sense to someone out there. Thanks a lot in advance. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Title</title> </head> <body> <h1>Header</h1> <br> <p>Paragraph contents will go here.</p> </body> </html> Hey there! I'm new to this! I just started learning HTML like week ago and I doing pretty good. but anyways, I was wondering how long does it take to learn HTML, XHTML, CSS and so on to create a social networking like facebook at least? HI, im trying to self learn HTML, things were going ok until i get to FRAMES. I have an INDEX.HTML, which splits the page into 3 frames. Each of the 3 frames then load other pages(banner, main, and menu .HTML). I have my 3 frames, but there is nothing in then, I think its the path I have wrong, but tryed main alternatives. This is a very basic problem, im sure someone can tell me what ive done wrong. Of course im loading these HTML pages from the same folder on my desktop. HTML files attached.. Thanks in aDvance! I have started making a simple website with notepad which me and my friend could use. I've got a bit of a problem though. I know basic HTML but don't know how to get around this: In the folder I have two files: Lauch(Which opens the website), and a folder called Pages. In the folder 'Pages' I want the other pages for the website, but as his system would have different names, I can't exactly put: C:\My Files\HH Tool, if his is C:\His Files. Get me? I tried linking to: \Pages\Information.html . But it didn't work. I'd appreciate and answer ASAP. Thanks for whoever replies or answers. Can any one tell me that what is the basic difference between html and xhtml? Hi I need some help please. I am very un-educted person when it comes to anything www related but could design a bridge from scratch....: I have selected view source from a website and had a look at the HTML that makes it all tick. I have changed a few things (text size and colour) and would like to preview it and see if I have managed to change anything and see if I understand the basics of html. My problem is I copied the source file and pasted in into word from where I changed it. Can one preview the site with any word function or would I require other software?? When I select the "webpage preview" it still comes in html formatt. Could someone please explain (IN PLAIN ENGLISH) how to go about this..... Thanks Hi, newbie here, Say i have a table how do i set the margin on each side, probably without setting the table width, so by setting the margins the table automatically sizes itself to the width of the page -(minus) the width of the margins at each side? I think you can do this in css but i want to learn html first, what is the best way of doing this, so this code below gives a table of no width and height... HTML Code: <table> <tbody> <tr> <td></td> </tr> </tbody> </table> This is what i want, and thanks for any help, |