Jump to content

redirection form


junell

Recommended Posts

dear all who know :)

i am getting stuck on making (simple) form .

the form main work is to redirect visitors depend on their answer .

if (radio1 go to =  x page
if radio2 go to y page
if radio 3 then : enter email address + d specail code (after submit it should send email 2 support + redirekt to page x (email address and code  are must fields! if user doesnt enter error should be shown) .



<form method="get" action="" name="stepone">
<input checked="checked" name="option1" value="option1" type="radio">option1<br>
<input name="option2" value="option2" type="radio">option2<br>
<input name="trans" value="trans" type="radio">trans<br>
  <br>
  <input name="email" value="">
<input name="code"><br>
  <input type="submit"><br>
</form>

thanks in advanced!

june
Link to comment
Share on other sites

well :) i think this is what i need , but it will will redirect visitor as soon as he choose the choise . .
(i mean without submitting) . but i will use it on the first 2 options .
about the third option it wont help caz :

option3 :
radio + enter email address(text field)+code(text field/password field)
after writting the email address and code it will send it to my email address and procced to x page (like the first option)

can anyone help me in making the last optopn to work propobly ?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.