Log in

View Full Version : multiple choice form with combobox



the cute
09-19-2012, 10:15 PM
hello guys
reffering to this thread :
http://www.dynamicdrive.com/forums/showthread.php?68574-How-to-create-multiple-choice-form-using-combobox

i tried to make an else if that contain 3 item : s1 ,s2, and s3 ..
i want to make a redirection to www.xxxxxxx.com if :
anything from "s1" is selected, and for s2 and s3 there is some specefic items ..
exmple
if (url=='Anything872'){
goto='http://www.dynamicdrive.com/forums/showthread.php?t=68574';
}

anything = s1
8 = s2
72 = s3

is this possible ? i'v tried many tutorials but without any success. if someone could help me through this i'll be grateful !
thank you Guys
and thank you dynamicdrive !!:cool:

bernie1227
09-20-2012, 03:31 AM
Please use
tags around your code.

If I am reading this correctly, if multiple cases are true, do something? Is that right? If so, just use && (meaning and) in the if statements, ie:
[code]
if(something && something else){
do something
}