Helpful Information
Category: Web Design, HTML Reference and CSS
Non-CGI form redirection help needed: HTML, CSS, JavaScript, PHP

Simple form question. I would like a form to redirect to a pre-made directory.
lets say the customer enters their name into a field, hits submit, and it will take them to 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" I want the "variable" that the customer enters effect where the page redirects. I hope I have explained this right. Thanks for the help!

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.

privacy (GDPR)