I am trying to do the following:
I have 3 drop down boxes, each having values 1,2,3,4&5 (of which the user can select any one).
For e.g. the user may select 3 from the first drop down, 4 from the second & 5 from the third.
I want a sum of all the three selected values. i.e. I want 12 as the sum.
However, when I try to sum them up using the formula #var1+#var2+#var3, I get a concatenation of strings rather than the addition of numbers. i.e. my answer is 345 instead of 12.
Am I doing something wrong ?? Or is course lab configured to return only strings from the drop down....??
I am trying to do the following:
I have 3 drop down boxes, each having values 1,2,3,4&5 (of which the user can select any one).
For e.g. the user may select 3 from the first drop down, 4 from the second & 5 from the third.
I want a sum of all the three selected values. i.e. I want 12 as the sum.
However, when I try to sum them up using the formula #var1+#var2+#var3, I get a concatenation of strings rather than the addition of numbers. i.e. my answer is 345 instead of 12.
Am I doing something wrong ?? Or is course lab configured to return only strings from the drop down....??