What is the html code for redirecting someone to a page on submission of a form based on what is in the form?
-
Say for istance when someone is going to sign in to a site, how would you redirect them to their personal page based on their user name and password?
-
Answer:
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. If 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.
shakersy... at Yahoo! Answers Visit the source
Other answers
You wouldn't... not though HTML at least. JavaScript, or darn near any CGI based, or Server based scripting is what you would need to do something like this.
pogowolf
Related Q & A:
- How can I add a HTML code to My Yahoo homepage?Best solution by Yahoo! Answers
- What is the HTML code to make your web more accurate?Best solution by Yahoo! Answers
- What is an easy code for a form in PHP?Best solution by Stack Overflow
- What's the HTML code for a scroll box on top of a picture?Best solution by Yahoo! Answers
- What's the HTML code for?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.