This example will illustrate the process of creating a general Element that has four buttons contained in the Interaction list. Only one, Button A, is the correct answer.

We will assume that the Button names and Values are as follows:

Button Name

Button Value

Button A

A

Button B

B

Button C

C

Button D

D



To test if the user clicked Button A the condition would look as follows:

IF SELECTEDVALUE = A

A condition that checks for the wrong response would be:

IF SELECTEDVALUE <> A

Because the Interaction list does not contain any button/fields with a higher priority, the ANSWER System variable could also be used to define the condition:

IF ANSWER = A