Submit Interaction Issues

May 19, 2015

I want to change the state of an object on my slide depending on how a user answers a quiz question. I've gotten this much to work across multiple quiz slides with some clever manipulation of triggers, but when I try to submit the last question slide, (depending on how I order the triggers) I either get sent to the results slide which I never want to show or I get sent to the correct slide that I want the user to go to but the last question results don't get submitted to the results slide which I want so I can populate score percentage on the screen I do send the user to. 

 

Story file attached. 

 

Thanks!

7 Replies
Kevin Thorn

Hi Andrew,

Finally getting around to solving your problem.

A couple things. First, your navigation buttons on the quiz slides have two states - Submit and Next. You're wanting two separate behaviors from the same object (button). Unfortunately, we can't assign a trigger to specific states within a single object. So your current setup was firing the first trigger regardless of the button state.

I reconfigured the behavior. From a development perspective it's a bit different than you had, but from an experience perspective it behaves exactly the same way. Meaning, your user won't know or care.

  • Removed the extra states from the buttons
  • Submit button is a single Normal state
  • Create a duplicate button called Next button also with a single Normal state. Place in same x,y position underneath the Submit button. Set initial state to Hidden.
  • On the Submit button
    • keep the 'change state of' triggers to change the feedback panel states.
    • Remove the Submit Interaction trigger (more on this below)
    • Add trigger to change the state of itself (Submit button) to Hidden when clicked
    • Add trigger to change the state of the Next button to Normal when clicked
  • Add the Submit Interaction trigger to the Next button

So, what's going on with this "Submit Interaction" trigger? It not only submits the choice (scoring) into the system variables for the Results slide, it also recognizes it is sitting on a quiz slide and therefore automatically navigates to the next slide. If it's a quiz slide in a sequence of other quiz slides, it will jump to the next quiz slide. If it's the last quiz slide, it will jump to the Results slide.

In your original version you had the Submit Interaction trigger tied to the Submit button. Logically, that makes sense. However, there's no chance for your other triggers to work because the behavior is off and running to the next slide. By moving this trigger off the Submit button, your feedback displays as designed. With the added triggers to hide the Submit button when clicked and then change the Next button to normal - that's where we put the Submit Interaction trigger (or Jump to next quiz slide or Results slide)

I reconfigured both your quiz slides so they follow in sequence and then shows the Results slide. If you want to navigate elsewhere, just add a Jump To trigger to your next buttons. Remember though, if you do, remove the Submit Interaction trigger otherwise it will auto jump to the next slide.

Hope I understood what you were wanting to do, and good luck! [file attached]

Andrew Helms

Great work on this, Kevin! Appreciate it. The only situation I'm still trying to resolve is how to get the last quiz submitted to the results without getting shoved to the results slide. I want the user to jump to the main slide and I want the score to be posted there. Right now, I've got the results slide set up with the same background image as my main slide and have it set to 1/4 of a second time length. so it looks like the slide is lagging just a bit when it appears. It works, but I'd rather be able to have a cleaner jump to the main slide. 

Updated story attached. 

 

Thanks again.

Kevin Thorn

It's coming along nicely, Andrew. One thing that may help is how you're employing the Results slide. Create a Results slide *as* your starting slide so it has the underlying options for reporting to the LMS, but not showing the actual results until completing the last quiz question when returning. 

Another thought would be to create a duplicate (mirrored version) of the starting screen. The duplicate would be the actual Results slide.

You're getting there!

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