Jump to new page based on form data

Hi,

I need to jump to different pages based on user input in current form. I had tried using javascript to jump, it worked for a second or two, then it jump back to the calling form. Here are the methods I used:

url is the intented url, e.g. “form2.htm”

  1. from form “form1”:
    document.forms[“form1”].action = url;
    document.forms[“form1”].submit();

  2. document.forms[0].action = url;

  3. window.locaton = url;

  4. window.location.href = url;

All works, except that it didn’t stay, it jumped back to form1 immediately.

I need to finish a project by the end of Christmas, any help will greatly appreciated!

Jeff

I don’t know if this is appropriate but you could use your server side scripting