add script codes in the quiz result slide

Jan 25, 2019

Hi There, 

I created a graded survey. I want to add the scripts codes to show users' dispositions based on their scale scores on the last quiz result slide which includes %Results.ScorePercent%% (%Results.ScorePoints% points)

Does anyone know hot to do it? I am looking forward to hearing from you. 

Thank you in advance. 

Jan

3 Replies
Jan Tang

Hi Allison, 

What I try to do is to automate the disposition for critical thinking scale survey. For example, if the total score is 7 on the final result page, then it will display "disposition is low" type of message. I am wondering if I can add my script codes to the result page besides the final score. Hope I clearly state what I want to do this time. Thank you. 

Joey Buys

Hi Jan Thang.

If I understand correctly, you are looking at providing learners with additional feedback, in the form of a statement, based on their results (or in this case their knowledge gap). 

I would recommend using questions in your scenario that are being drawn from a Question Bank. This will allow you the freedom to easily add and remove questions to your assessment.

Point your results page to the question bank to track the users progress within the assessment. 

After this, you can add a text box to your results slide with your feedback statement. On this Text Box (or shape) add multiple states to the element with the different feedback statements, for example:

Normal State: No feedback received, State 1: "Disposition is low", State 2: " "Disposition is average", State 3:  "Disposition is high".

Now you can add logic to the slide to have Storyline switch between these different states based on the state of the Results.ScorePercent variable.

For example, Change the state of Textbox 1 to 1, when the timeline starts (slide) if the value of Results.ScorePercent < 5.

Change the state of Textbox 1 to 2, when the timeline starts (slide) if the value of Results.ScorePercent = 5.

Change the state of Textbox 1 to 3, when the timeline starts (slide) if the value of Results.ScorePercent > 5.

This should change your feedback statement accordingly based on the users score.

Hope this helps.

This discussion is closed. You can start a new discussion or contact Articulate Support.