HTML - Simple Form Help Please
I need to create a simple form that tells a visitor they are leaving our site when a link to an external page is clicked.
I would like the like to point to www.mysite.com/warn.asp or warn.html and have a second form recognize which link they clicked from the previous page and forward them there after a proceed link is clicked. This is as far as I have gotten and I am stuck already <form action="http://www.mysite.com/warn.asp" method="post" enctype="application/x-www-form-urlencoded" name="elink"> <a href="http://www.google.com/" onclick="document['elink'].submit()">google</a><br /> <a href="http://www.yahoo.com/" onclick="document['elink'].submit()">yahoo</a> <br /> <a href="http://www.msn.com/" onclick="document['elink'].submit()">msn</a> <br /> </form> Thanks in advance Similar TutorialsI wish to create a simple form for collecting email ids of visitors on my site in excel sheet or on a text file. Is there any way to do it. I have a windows webhosting. Thanks in advance. Hey, I am quite new in here and I have a question about the form tag. Code: <form action=""> <input type="text" value=""> <input type=submit value="Register" name=submit> </form> so and I want to add the string the user types to the end of a link for example http://mydomain.com/script/value Can you help me ? Regards Snoop1990 Hi, check this code out: HTML Code: <div id="Login Top"> <form action = "http://www.bfndevelopment.com/cgi-bin/home/Members/Password/NetLock.cgi?SiteID=19873&LockID=5465&Frame=1" method = "POST"> <input type = "hidden" name = "login" value = "false"> <!-- if "true" and someone tries logging in with no username, they will be --> <!-- prompted to enter there username and password again, on our template --> <table border = 0 <table border = 0 cellpadding = 0 cellspacing = 0 width = 300 height = 100> </td><tr> <table border = 0 cellpadding = 3 cellspacing = 0 width = 300 height = 20> <input type = "text" class="signin" name = "UserName" value="Username"onclick="if (this.value == 'Username') { this.value = ''; }" size = 5> <input type = "password" class="signin" name = "PassWord" value="Password"onclick="if (this.value == 'Password') { this.value = ''; }" size = 5> <input type = "image" src="http://www.islamcentre.net/library/loginbtn.gif" value = "Login"></div> </table> </form> Now, If u view this code on a browser, the login button appears to be slightly raised. What is the problem. I want it to be on the line, not a little higher. if anyone could slightly adjust this to it being on the line it would be much appreciated. Thanks Hey I tried googling this earlier but didn't find alot. What i am trying to do is when someone visits my site they enter their username and a short message. I would like it to send to either a file located on my web site server, where it will store until I read it, or send an email in the background to me so I can read it later. I had an example I tried to use, and it seemed to work, however it did not store the information into the file or email it to me. If you have an example of this please reply. Thanks. I have a form field which is supposed to send the input email address to my client's inbox. I am using GoDaddy hosting, so the form action is "gdform.asp". but when the submit button is hit, it loads a page called www.amazingwomen.org/gdform.asp (which is clearly not a real page). I can't figure out why it would do this! Here is the code: <div id="email" style="position:absolute; top:233; left:30; z-index:3;"> <form action="gdform.asp" method="post"> <input type="hidden" name="subject" value="Amazing Women Newsletter Subscription"> <input type="hidden" name="redirect" value="http://www.amazingwomen.org/index.html"> <input type="text" name="Email" value="your email address" id="email"> </div> <div id="submit" style="position:absolute; top:231; left:190; z-index:3;"> <input type="image" name="submit" src="img/gobut.gif"> </form> </div> I just noticed that the submit button is in a separate <div>. Could this be causing the problem?? Thanks in advance for any help!! >>>I tried putting the submit button in the same div and I still have the same problem :S I need for the form to send the info and then redirect back to the same page (or not at all). <DIV id=regform style="BOTTOM: 60px; RIGHT: 411px; POSITION: absolute"> <FORM action=sendmail.php method=post>sitename.com<b style="COLOR: black;font-family:arial;font-size:20%;"></b> <BR><INPUT size = 15 name=email> <INPUT type=submit value=Submit></FORM></DIV> This code makes my email box move dependent on the size of your web browser window. How can I stop this ? Really appreciate help here. Thankyou. Hello. I am trying to create a page or form and I am not sure how to proceed. What I want to create is a webpage that has a list of several different things to choose from each with it's own check box. When the user selects what they want by checking the check boxes and hitting submit, a new page is created with just the selections they made. THe user can then print this page and use it as a worksheet. There is no reporting or databasing of the information. The final output is a hard copy print out. I started to play with some things that used <forms> for the selections page and this looked close to what I wanted. But for the submit part i was using .asp and this did not seem to work for me. I am not an experienced html person so I was wondering it there was another way to go for this. Maybe point me in a new direction. Hopefully something not too complicated. Thanks in advance for any help! I've basically got 2 boxes, one is email, one is name, and then a submit button. It may be stupid, but I can't link them together (as 1 form). They have images inbetween them so I can't seem to link the code so they all work together? Any ideas? This is probably really simple but I just don't know what to put... What I need is a simple form ( like <form action=""....> kinda thing) but all it needs to do is act as an address bar with a "GO!!!!" button next to it. So you type in "htmlforums.com" and it takes you to htmlforums.com!! Really simple... but I really need to no how to do it.. its just I don't know what you would put into the action="" part of the form since there isn't really anything to put there. But you can't leave it blank i tried.. Hey everyone, I am trying to get the form on the following page to send me an email with an attached file. What am I missing? http://c-41productions.com/Helen/CrewApplication.php I've seen it alot of places, though I cannot seem to get my hand on how it works (as I never think about checking the source when I DO see it!).. How can I get one <select> field option to control another? Like, say I have a list with: 1 2 3 4 and a list with: A B C D ..and when I select "3" in the first list, I want the second list to AUTOMATICLY change to "C". How do I accomplish this? 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. Hello guys, Can anyone help me with a simple form. I need a form like this: A box where the user can enter his email adress. Under it a button: Send this to my email The function will be that a certain text is sent to his email adress. The text is one I choose before. Thanks guys! Hey all I've not done a simple drop menu form in forever and in trying to refresh my memory using tutorials I've stumbled down the rabbit hole and ended up in "I wonderland" There are so many different overly complicated methods and I' starting to get annoyed. So far I have this but it gives "Error on Page" in the browser bottom left bar. HTML Code: <form name='categorymenu' ACTION=URI method=get> <select name='menu' onchange='jump(this.form)'> <option>Categories</option> <option value='index.php?page=device&device=2&cat=animal'>Animal</option> <option value='index.php?page=device&device=1&cat=retro'>Retro</option> </select> </form> Any help to end my frustration would be gratefully appreciated. Hello, I just made my new site for my company and I tried to keep it extremely simple. I used wordpress to do the basic layout automatically and made some simple edits with some basic html i picked up along the way this week. There seems to be two problems though: 1) the form is inside a table which doesnt seem to align properly within any of the popular browsers (firefox/IE/chrome) .... it should look like 1 image instead of 3 separate pieces 2) i eventually got the form to align slightly better but the spot where I "Enter my zip code" doesnt align with the background image behind it.....sometimes it doesnt even say "enter zip code" which is very bad for a user experience. in firefox it doesnt say it, but in chrome it does say it....either way, both are aligned very poorly..... I put my code into this site: http://w3schools.com/html/tryit.asp?...=tryhtml_intro ...and after editing it, i've come to find that it works perfectly within that html editor and looks exactly how i want it to look. but then when i put the code back into my wordpress site, the alignment messes up again...... so i did some research and found out that wordpress has "deprecated" some of the html tags and that they dont work anymore...if i understand correctly. so now i have to find a way to pick new tags or use CSS...this is just so confusing and i thought maybe somebody here might be able to offer me some assistance to help me fix up this form/table problem. my site's url is: http://www.allautoinsurance.org my code that I'm editing is on the right sidebar, where the alignment messes up: <div style="text-align: center;"><span style="font-size: 14pt; font-family: Georgia; color: rgb(0, 0, 0);"><span style="font-size: 14pt;"><span style="font-size: 14pt;">Our free online service instantly browses the best rates in your zip code area at the click of a button. We've helped thousands of people quickly and easily save money on their auto insurance:</span></span></span><br /> <br /> <form action="http://network.mossaffiliatemarketing.com/z/61/CD62/&subid3= "method="post"> <table border="0" cellpadding="0" cellspacing="0" width="225"> <tr> <td colspan="2"><img src="http://www.allautoinsurance.org/wp-content/uploads/2009/08/top.jpg"></td> </tr> <tr> <td class="background1" valign="middle" height="54" width="153"> <style> .background1 { background-image: url(http://www.allautoinsurance.org/wp-c...tom_left.jpg); background-repeat: no-repeat; } </style> <input type="text" name="subid1" value="ENTER ZIP CODE" style="margin-left:30px; margin-bottom:5px; width:110px; border-width:0px; font-size:14px; font-family: Arial, Helvetica, sans-serif;" onClick="javascript:this.value='';"> </td> <td> <input type="image" src="http://www.allautoinsurance.org/wp-content/uploads/2009/08/bottom_right.jpg"></td> </tr> </table> </form> </div> <div style="text-align: left;"><span style="font-size: 12pt;"><span style="font-size: 12pt;"><span style="font-size: 12pt; font-family: Georgia;"><span style="font-size: 12pt;"><span style="font-weight: bold; color: rgb(0, 0, 0); font-size: 12pt;">Step 1)</span> Input your zip code and click the button above to begin browsing the auto insurance providers in your area</span></span></span><br /> <br /> <span style="font-size: 12pt;"><span style="font-size: 12pt; font-family: Georgia;"><span style="font-size: 12pt;"><span style="font-weight: bold; color: rgb(0, 0, 0); font-size: 12pt;">Step 2)</span> Select the auto insurance provider you're most comfortable with by clicking their picture<span style="font-weight: bold; color: rgb(255, 0, 0); font-size: 12pt;"> </span></span></span></span><br /> <span style="font-size: 12pt;"><span style="font-size: 12pt; font-family: Georgia;"><span style="font-size: 12pt;"><span style="font-weight: bold; color: rgb(255, 0, 0); font-size: 12pt;">Warning</span>: Dont <span style="font-style: italic; font-size: 12pt;">always </span>go with the cheapest in the area</span></span></span><br /> <br /> <span style="font-size: 12pt;"><span style="font-size: 12pt; font-family: Georgia;"><span style="font-size: 12pt;"><span style="font-weight: bold; color: rgb(0, 0, 0); font-size: 12pt;">Step 3)</span> Continue with the providers process if they meet your requirements</span></span></span></span><br /> </div> <div style="margin-left: 40px;"><span style="font-size: 10pt; font-family: Georgia;"><span style="font-size: 10pt;"></span></span></div><span style="font-size: 10pt; font-family: Georgia;"><span style="font-size: 10pt;"><br /> <span style="font-size: 12pt;">***We've been showing people how to get insurance quickly and easily for years. We respect your privacy, it is just as important to us as it is to you.</span></span></span> .....thanks for any help, i really appreciate your time and effort. if this code doesnt look smart at all its cuz i used some free WYSIWYG editor to generate it. i actually am very confused lol. thanks again. Best, Kyle P What is a good, simple and secure example code to send a contact us form? If I use html it warns the user that the connection is unencrypted and in internet explorer makes you creat an email account in order for the form to be submitted. I just want to send a few text area values to my email as a contact us form. Thanks! Hey. So I'm pretty good at stuff in general, my problem is that I do not have extensive experience with HTML/CSS so I don't know the best way to do this, or where to look for a way to do this. Basically, I want my layout to be like this: http://people.virginia.edu/~eee2a/Welcome.html in that I want there to be gray space on the side and a middle that scrolls. super simple right? I just don't know how to do it, and I don't know the best keywords to use on google for it. Thanks. Hi all, This is my first post and its so simple that i am a bit embarrassed to post it, I have created a page with a flash video on it, but the only problem is cant workout how to centre the video, some help would be greatly appreciated, Here is the code, http://www.ogeetek.com/dave_test/test.txt And here is the website http://www.ogeetek.com/dave_test/test.html Thanks in advance, 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 |