If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

How to create multiple choice form using combobox

Hello
i'm having a big trouble programming this one ,
i'v attached a picture of what i mean (made in photoshop)
when the user made his choices by clicking on the combobox items he will be redirected to another page depending on what he chooses .
for example :
choosing :
1
and
3
and
2
and
7
will be redirected to page : A

Hope you guys help me with that since i'm a beginner in this and i really need this to be done ASAP .
thank you guys
and by the way this website has some really gooooood stuff , and i'm really surprised their free

This is in asp and is very simple to follow. This only works on windows servers. When you answer 1, 4, and 4 - You go to google.com!
You can edit the if... then statements to suit your needs. Hope this helps.

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
if request.Form("submitted") <> "" then 'check to see if form was submitted
if request.Form("q1") = 1 and request.Form("q2") = 4 and request.Form("q3") = 4 then 'if answers are 1, 1, and 4 then...
response.redirect("http://www.google.com") 'go to web page
end if
end if
%>

if answers = 1111 then response.redirect("http://www.google.com") end if ' answers to questions 1 to 4 in order with no spaces
if answers = 2111 then response.redirect("http://www.bing.com") end if ' answers to questions 1 to 4 in order with no spaces
if answers = 3111 then response.redirect("http://www.yahoo.com") end if ' answers to questions 1 to 4 in order with no spaces

'and so on... You will need to create a function to better do this!
' with this method, you will need way too many if then statements!!!

Hi
that really working !
but i just need to do some changes and i didn't figured out how to do it !
when i click on a choose in some dropdown menu a javascript message showed up and i don't want that message to show up !!
and :
2 * when i choose 1, then 2 then 3 then 7 it redirect me directly to the page of dynamicdrive whithout clicking on the button ? how to let the button do that !?

3 * if i want to do a global result for those drop down menus, i mean if i decided that whatever choice that the visitor has made it will lead him to one unique page everytime in every choice !!?
how to do that ?
and thanks a lots that's been helpful and i'm sorry for not replying for confirmation earlier i didn't have my ID info in the dynamicdrive !
thank you again

thank you philips that was generous from you .
after applying that the button still not involved in the situation, when i choice 1 then 2 then 3 then 7 the redirection page shows up .
how to prevent that and let the button do the calculation and the redirection ?
thank you so much