Arithmetic
I have seven radio buttons that a user might check and the values of the buttons are 0, 1, 2, 3, 4, 5, and 6 for a response. The same variable name is used for each radio button option (bdiq). Let's say that the user might select radio button with the value of 4. Is there a way to "change" the value from a 4 to a 2? This is what I have:
<%
Dim bdiq
Dim bdiqscore
Dim totalscore
totalscore = bdiqscore
if bdiq=4 then bdiqscore=bdiq-2 end if
%>
When I do response.write(bdiqscore), I get the answer of 2, but with totalscore the answer is 4 from the radio button selected.