Form entry with redirect

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to create a form in that will prompt the visitor to enter a
code. When they click on submit, I would like to evaluate the code they
entered and proceed to another page on my site depending on the code.

I am familiar with FP design features, but my only form I set up was to send
an email to contact me. I am not sure how you “evaluate†the person’s entry
and send them to another page based on that entry.

Can anyone help me get started? Any sample code?

Many thanks,
Mark
 
Hi Larkus,

You can do so in Javascript. You don't tell us how that evaluation is
supposed to work, but you can NOT verify against a password in Javascript.
The source code can be viewed, so the password would be viewable.

www.hlrnet.com/injs.htm for some references

Kind regards

Hans
 
Hans,

Thanks. Basically, I want to have user enter a code from a brochure, and
then send them to the page appropriate to that code. If they enter a code
incorrectly, then just want to message them to try again. No passwords are
involved.

Sounds like I will need to learn some javascript. Will download the example
you indicated, and thanks for giving me a good start.

Mark
 
Hans,

Sorry. I thought injs.htm was a sample form. Could not locate it on your
web site. Any chance you have a sample to share?

Thanks,
Mark
 
Back
Top