How to do if condition on a list box string list

How to do if condition on a list box string list

A form with a checkbox called "I_ want" with 2 options, "General info" and "call back"

and with a checkbox "product" with 2 options, "supportCenter" and "Servicedesk"

I need help for the IF statement where "I_want" is a string list

based on 2 selected value out of listboxes he/she is redirected to a URL

On submit I want to have a script

if (" info " in input.I_want) and input.product == "supportcenter"

{ http://www.manageengine.com/supportcenter  ( then go to)

else if  (" info " in input.I_want) and input.product == "Servicedesk"

  http://www.manageengine.com/servicedesk   (then go to)

}

etc

How to do

Thanks