Forum Moderators: mack

Message Too Old, No Replies

How to send a user to a different page...

Using options

         

Lesjo

2:52 pm on Dec 21, 2004 (gmt 0)

10+ Year Member



I am having a total brain malfunction. Here's my problem:

I have a small page where users would select a set of options which would direct them to a specific page where they would then fill out a form to submit (via formmail).

I have worked out the kinks in the submit page and it works fine, but am having problems with the options page.

Can anyone help me?

The page has two sets of radio buttons, when different combinations are selected could send the user to 14 different pages (specific forms).

I began working in JavaScript to set up if statements and switch statements, but am running into problems.

Is there an easier way?

jatar_k

4:37 am on Dec 22, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld Lesjo,

You could set this up using php, perl, asp or any other scripting language you can think of quickly enough, though javascript should work too.

What exactly are you having problems with?

mack

8:40 am on Dec 22, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



What you could do is have a form handler to decide where your user is sent (what page) for example have then select an option in your form, that option that passes a variable to the handler page. The handler reads the variable and forwards to user to the specific page. (based on the variable)

Sorry if this answer is a little vauge. If you explain a little more what you are trying to do we may be able to offer better advice.

Mack.