Skip to main content
ransj
Known Participant
August 17, 2015
Question

A quiz that adds numbers together.

  • August 17, 2015
  • 1 reply
  • 237 views

Is there a quiz or a way for a quiz to add up different numbers a participant would choose and give a total at the end.  Example> Question 1 they pick 2  and for Questions 2 they pick 4 and the quiz would give them the total of 6.  Any thoughts. Thanks

This topic has been closed for replies.

1 reply

Lilybiri
Legend
August 17, 2015

Yes, can be done with user variables and advanced/shared actions as long as

you keep to the basic operators: + - / *. You have to use the Expression

command.

ransj
ransjAuthor
Known Participant
August 17, 2015

Yeah,  and no I have not used Expressions, are the examples any where I could look at?

Lilybiri
Legend
August 17, 2015

I have lot of examples on my blog. For your addition example:

Create two Text Entry Boxes, each associated with a user variable, will

label them:

v_one, v_two

Create a third variable v_sum to get the sum. Insert that variable in a

text container.

Create a button or shape button "calc" that will calculate the sum. It will

be displayed automatically in the text container. The advanced action to

attach to that button will look luke:

Expression v_sum =v_one + v_two