PDA

View Full Version : form



MaGiCSuN
September 14th, 2001, 09:35
I want my form redirect to my next page if they have filled it in

I have a page join.html with the form on it, and when they click on "join" the form has to redirect to join2.html
How do i do that?
and if you know the code please tell me where to put it

Thnxx

Love,
Mirna

MaGiCSuN
September 14th, 2001, 10:08
Please?!

LeX
September 14th, 2001, 10:31
Uhh...

<INPUT TYPE="hidden" NAME="next-url" VALUE="http://www.domain.com/page2.html">

I doubt it works though. I found this in an old project that I abandoned years ago. For this code to work you would need a script I think. Not sure. You can try...

Mekhu
September 14th, 2001, 10:37
Just add this below the <form> tag and it should work fine...

<input type=hidden name="redirect" value="join2.html">

and then maybe on join2.html you could put the below so when they are done filling your forms they are sent to a thank you page.

<input type=hidden name="redirect" value="thankyou.html">

Mekhu

MaGiCSuN
September 14th, 2001, 11:04
Thnxx! :biggrin2:

trenzterra
September 16th, 2001, 09:44
The field "redirect" really worked? didn't know that!

Canuckkev
September 16th, 2001, 12:56
Hmm....or you could send it to that page in the script the form is sent to. If there is no script for the form, just a form with no reason, you can you method="LINK" and action="join2.html" but having a form that submits no where seems pretty pointless. Just add a redirect line at the bottom of the script. Easiet way, makes most sense.