Hi everyone I have an app that has question ...

(Hohenstein Administrator) #1

Hi everyone

I have an app that has question with three answers

Answer

A Answer

B Answer C

If the user selects

answer

A I want it to score 5 pts

B I want it to score 3 pts

C I want it to score 0 pts

And then total my points at the end of the survey

How would I go about doing this?

Thanks

(Steven Coile) #2

You can use the switch() function to assign a value to each answer like this:

switch([AnswerColumn], “A”, 5, “B”, 3, “C”, 0, 0)

replacing [AnswerColumn] with whatever column you’re using to store the answer.

(Hohenstein Administrator) #3

+Steve Coile Works Great thanks So Much