What is the html code for redirecting someone to  a page on submission of a form based on what is in the form?
95799
Assuming you do this on the server side, look for the user name and password in the request collection in you particular language - the variable name will be the names you give them in the input text items on the form.\n\nIf you are talking client side, have the form call a javascript function on the onclick event, the use a location.replace or location.href method to ship them off.
425901
are you using html?\n\n\nwith html the proper coding would be\n\n<a href='website.com here'><img src='locationof.jpg here'></a>
413185
well u can give the code please???\n\nis JavaScript?
275606
Use the following meta tag in the <head> part of html:\n\n<meta http-equiv="REFRESH" content="15; URL=http://yourURL.com/" />\n\nthe yourURL.com is the place where you wish to redirect. The number 15 is the number of seconds it will take to redirect. You can change it to any other number.
911832
I'm assuming you mean values from form elements in an HTML page. Just specifiy the form elements in your HTML, be sure to mention the servlet in your form action and the method (get/post); the parameters will be sent to the servlet.\n\nTo receive these parameters, use the getParameter(...) method on the request.\n\nThe link in my source explains what I said above with an example.\n\nHope this helps.\n\nAndy
525626
copy and paste the code like this...\n\n<html>\n<title>some page</title>\n<body>\n<p>some content</p>\n</body>\n</html>
754774
I could do that code with just html and 1 programming language!\n\nthe html part is a classic form with at least one <input>\n\nif the language is javascript (it's harder) you request a flat file of the items to be search and you loop through it for the right hits. then you append them to the page.\n\nif it's any other (a cgi style language) you do all the searching on the server, and return a custom html page with the hits on it.\n\nall solutions will require a little programming... but it's not "Rocket Surgery"\n\n\nand you don't need sql for a little search box... only if you have thousands of pages!\n\nand steer clear of Microsoft solutions (ASP), PHP and the rest run everywhere!
196936
You could have the form refresh to a page, say processphp.php then have the fields "hidden" on that page, so that then, when the person hits "next" or something, then the form with the fields from the last form that are now hidden carries the same info to, say, the next page, processcgi.cgi\nhope that helps...\nif you have any more questions just email me
525018
I think you mean make a sort of feedback page. This is done by using a form and PHP.\n\nThis is the code I use on my form:\n\n------\n<form method="post" action="contact.php">\n<i><strong>Name or nickname:</strong></i><br />\n<input type="text" name="nname" size="25">\n<p></p>\n<i><strong>Your E-mail adress:</strong></i><br />\n<input type="text" name="email" size="25">\n<p></P>\n<p> </p>\n<i><strong>Pick a Subject.</strong></i><br>\n<select name="subject">\n<option name="subject">Contribute to our site</option>\n<option name="subject">Suggestions&Comments</option>\n<option name="subject">Affiliate inquiry</option>\n<option name="subject">Question/comment</option>\n<option name="subject">Other</option>\n</select>\n<br />\n<i><strong>Place message into box below:</strong></i>\n<br />\n<font size="1" face="arial, helvetica, sans-serif"> ( You may enter up to 3,500 characters. )<br>\n<textarea name="message" wrap=physical cols=45 rows=11 onKeyDown="textCounter(this.form.message,this.form.remLen,3500);" onKeyUp="textCounter(this.form.message,this.form.remLen,3500);" onClick="this.select()">Enter message here</textarea>\n<br>\n<input readonly type=text name=remLen size=3 maxlength=4 value="3500"> characters left</font>\n<br />\n<input type="submit" value="Send">\n<input type="reset" value="Clear the form">\n</form>\n----\n\nNow I used a javascript to have a cool feature, but let's forget about that for now. First I set up the form with the <form> tag, then gave it the attributes method="post" and action="contact.php". This means that it posts the inputted data on my file contact.php. Let us take a look at the basic code for that!:\n\n<?php\n$to = "support@ohjjin.com";\n$subject = $_REQUEST['subject'];\n$email = $_REQUEST['email'] ;\n$name = $_REQUEST['nname'];\n$message = wordwrap($message, 70);\n$message = $_REQUEST['message'] ;\n$headers = "From: $email, $nname";\n$sent = mail($to, $subject, $message, $headers);\n?>\n\nEverything with the "$" sign then text is a name of something in the form, hence the "REQUEST_" part. It is requesting the defined names. Look up at the code for my form and find all of these excluding $sent and $headers; only the ones with the "REQUEST_" part in it.\n\n You should see name="nname", name="email", name="message", and so on. Everything inputted on the previous form is sent to the php file and processed.\n\nWhat this is doing is receiving the data, compiling it, then using the mail() function to send everything. \n\nI realise this is probably very confusing. Though take some time and mess around with this. If you need extra help you can contact me at administrator@ohjjin.com
1087180
Yahoo's search and its library is written in JAVA. If you look at the web address carefully, you can see that its sending its server parameters using the &var= deliminator. When it sends the form, it will use the getParameter request and show results probably using XML or JSP.
63028
yeah sure .. it can here is a sample code\nfirt HTML page that takes user name and place\n****************** HTML ***********************\n<html>\n<body bgcolor=#ccffcc text=green>\n<h1>\n<form action="jsppage3.jsp" method=post>\nName :<input type=text name=sname size=30><br><br>\nplace :<input type=text name=place size=10 maxlength=4><br> </form>\n</body>\n</html>\n************** JSPPAGE3.JSP **********************\n<%@  page language="java" %>\n<html>\n<body bgcolor=#cdab00 text=red>\n<table border=2 align=center  width=70%>\n<tr><th>Name  <th><%= request.getParameter("sname") %></tr>\n<tr><th>Place <th><%= request.getParameter("place") %></tr>\n</table>\n</body>\n</html>\n**************************************************\nthe jsp takes data from HTML and prints it.. u can change data also if required...\n\nu can mail me at srinubanda2k@yahoo.co.in
1174889
<meta http-equiv="refresh" content="10;url=http://www.yahoo.com" />\n\nPut this in the head of your document iwth the link for redirect.  The number represents the number of seconds before refreshing.  Should work with a link to a file as well.
371940
There are a few ways in doing forms on a website.  One of the most common is to use a PERL script or other form of CGI.  You will need to check with your hosting company to see what you are allowed to do.\n\nYou can also use Frontpage and ASP.  I have not done personally, but have seen it.
674331
idepends what language you're using - depending on how secure you want it, you could put the file in question on a page with an arbitrary name (say "mywebsite.com/gkhkfgksn.html" that is only accessed via an html form which asks users to eneter their email and then use java or php or whatever to validate the form data. (simple validating stuff you should be able to find anywhere - mayve dynamicdrive.com or phpfreaks.com or something). \n\ni like php for my stuff- - i think i'd make users register for the site w/ email address and ask them if they'd like to be added to my mailing list onthe same form, and let it all flow into a mysql DB.
218242
Add target="_blank" to form, i.e. change to \n\n<form method="GET" action="http://www.google.com/search" target="_blank">
517860
make two different pages, one is real and other is blank\nuse case in PHP... if the user is not authorised, direct him/her to the blank page..
951041
Just Insert The Code Into Your Html Page