I have a bunch of fields on a card and each of them are named Q1A, Q1B, through Q1E and continues Q2A, Q2B...Q2E all the way to field Q5E
The Number in the field name is related to the question number and the letter is related to the answer choice.
So for example if on question 3, they user picked choice D, I would need a 1 to be put into field "Q3D"
I haven't been able to figure out how to change the field name based on the question and answerchoice
I've tried:
Code: Select all
add 1 to field "Q" & QuestionNumber & LetterChoice of card gender
this is my current script
Code: Select all
on RecordResults
switch
case (Gender = "Male")
add 1 to field "Q" & QuestionNumber & LetterChoice of card Gender
break
end switch
end RecordResults