Developing triggers for each response

I would like to see the response on every question on a quiz. The quiz has standard multiple choice questions with four options (A,B,C,D). How do I create the trigger and the java script code to record that information?

July 31, 2019, 4:07 pm

Click for thumbs down.0Click for thumbs up.0#1

Andre, here's a quick way to accomplish this:

  1. Create a blank text variable that will track which answer the learner clicks. We called it clicked in this example.
  2. Add triggers to assign values A, B, C or D to the variable when the learner clicks on an answer:

  3. Add a JavaScript trigger to send the data to the cloud when Submit is clicked. Here's the code we used (make sure to change answer to the name of the field you are using):

    var player=GetPlayer();


You can also see more examples of using the CloudSet function here:

July 31, 2019, 4:34 pm

Click for thumbs down.0Click for thumbs up.0#2