Hey,
I've got a selection list that lists towns and cities. Now each of these towna and cities is assigned to a certain Area ID.
For example, London is in Area ID 1.
Now how do I get the variable AreaID to change depending on what is selected in the selection box?
Something like;
If SelectionBox=London
$AreaID=1
else
If SelectionBox=Harrow
$AreaID=1
else
if SelectionBox=Manchester
$AreaID=2
else
If SelectionBox=Liverpool
$AreaID=2
End If
Know what I mean?
I'm thinking the above process could be quite a long one, just wondering if you can make a rule for a group of cities like;
If selectionbox = Manchester OR Liverpool OR Newcastle
$AreaID=2
Else
If selectionbox = London OR Harrow
$AreaID=1
End If
I'm not quite sure how to go about this one.
Cheers,
Chris