View Full Version : Non-CGI form redirection help needed

29 Sep 2005, 09:51 AM
Simple form question. I would like a form to redirect to a pre-made directory.
lets say www.mysite.com. the customer enters their name into a field, hits submit, and it will take them to www.mysite.com/name. this is going to be for customer proofing, and we will have their directories made at the time the proof is done.

It obviously does not need to work with any cgi, I just can't figure out how to make a form take the input and redirect based on the value of the input.
if the form says "goto www.mysite.com/VARIABLE" I want the "variable" that the customer enters effect where the page redirects. I hope I have explained this right. Thanks for the help!

30 Oct 2005, 03:20 PM
I dabble in JavaScript, the attached file contains a basic page using the script I came up with to solve your problem. Hope it helps.