Hello,
I am just starting out with some very basic web design and a bit lost. Can anyone tell me how, or point me to the right resources ... I am trying to simply place an input box on a webpage along with a button. That stuff I have already done. However, what I am trying to do is somehow, someway, have the end user type something into that text box and when they hit the go button or press enter, it takes them to that page if it exists, and if not, it tells them that the page is not found and to try again. For example:
http://www.test.com would show the user simply a text box and a button. The user enters 'abc' in the text box and either hits enter or hits the GO button next to the text box. The user then is forwarded to http://www.test.com/abc ... if the user enters 123 in the text box and hits a button and that page does not exist, the user would remain on the main page, http://www.test.com and told to try again because that option is not valid.
Any help, ideas, assistance, or direction about this would be very appreciated.
Thanks,
Joe
I am just starting out with some very basic web design and a bit lost. Can anyone tell me how, or point me to the right resources ... I am trying to simply place an input box on a webpage along with a button. That stuff I have already done. However, what I am trying to do is somehow, someway, have the end user type something into that text box and when they hit the go button or press enter, it takes them to that page if it exists, and if not, it tells them that the page is not found and to try again. For example:
http://www.test.com would show the user simply a text box and a button. The user enters 'abc' in the text box and either hits enter or hits the GO button next to the text box. The user then is forwarded to http://www.test.com/abc ... if the user enters 123 in the text box and hits a button and that page does not exist, the user would remain on the main page, http://www.test.com and told to try again because that option is not valid.
Any help, ideas, assistance, or direction about this would be very appreciated.
Thanks,
Joe