30 Replies
Antony Snow

Hi Jyothi,

If you want the variable to be reset when a user revisits the slide, you will need to create a 'reset' trigger as follows:

Action: Adjust variable

Variable: [VARIABLE NAME]

Operator: = Assignment

Value: Value = 0

When: Timeline starts

Object: [SLIDE NAME]

@Phil - apologies for jumping in on this

Antony

jyothi sita

Hi Antony,

Thank you for the help but this might create issues because we were restricting the user from clicking next button by showing an alert popup box until unless he/ she view all the information on the slide. We are changing a variable value to "true" when the user clicks on a button to navigate to next slide. Also we have selected "Reset to Initial state" to the page. If we reset a variable value to "false" on the base layer then the user can't navigate to next slide since we have given condition on next button as follows:

Action: Jump to slide

Slide: next slide

When: user clicks

Object: Next button

On Condition: VARIABLE  value equal to true

Hope you understand my scenario.

Thanks,

Jyothi

Antony Snow

Hi Jyothi,

Sorry, but I'm not sure what you are wanting to achieve here - I was under the impression that you wanted to reset the variable value as well as the button states to reset the entire slide to it's original state?

By resetting the variable (I pressume you only have the one variable on your slide that controls when the user can jump to the next slide), the user will need to view all of the information again to re-activate the next button i.e. set the variable value to true again.

If you could provide some further information about how you want the slide to behave, I'm sure we can resolve this query for you.

Antony

Antony Snow

No problem Jyothi.

To confirm, when a user revisits a slide you would like the following to happen;

  • The button states reset to 'normal' - this is done by changing the slide properties to 'Reset to initial state'
  • The 'next' button becomes inactive again, meaning that they have to view all of the information again - this is done by adding the trigger that resets the variable that controls when this button becomes active

If I have understood your scenario correctly, is your issue now resolved?

Antony

Phil Mayor

Antony Snow said:

No problem Jyothi.

To confirm, when a user revisits a slide you would like the following to happen;

  • The button states reset to 'normal' - this is done by changing the slide properties to 'Reset to initial state'
  • The 'next' button becomes inactive again, meaning that they have to view all of the information again - this is done by adding the trigger that resets the variable that controls when this button becomes active

If I have understood your scenario correctly, is your issue now resolved?

Antony


+!

Emalyn Lim

Hi,

I have a question here. 

What if my slide setting is set to "Resume saved state"?

Example:

Current slide [Quiz 1], user click one of the option and click NEXT instead of SUBMIT.

Then if the user click next to other slides and then back to the slide [Quiz 1], I foresee that the variable would be reset but the option user last clicked was still there.

Point: My slide setting have to be set "Resume saved state"

And I notice that if user click RETRY QUIZ at the result slide, although the quiz are all reset but not the variables used. 

I try to apply triggers to reset variable used in quiz when user click on RETRY QUIZ but it did not work though.

Need help!!

Thanks

Emalyn

Antony Snow

Hi Emalyn,

I'm not 100% sure I understand your question but I think you are wanting to:

  1. Allow the user to revisit the question but have the NEXT button still active once they have answered it once
  2. Reset the variable (and therefore prevent the the user from clicking on NEXT until they have answered the question again) when they click on [Retry Quiz]

Is this correct?

You are correct that the trigger in my earlier post will need to be applied to the RETRY QUIZ button on the result slide rather than on your question slide but you will need to make sure that it is ABOVE the trigger that jumps to your [Quiz 1] slide - Storyline executes triggers from top to bottom so you want to have the reset trigger executed before retrying the quiz.

If I have misunderstood your question, please provide some more information.

Antony

Emalyn Lim

Hi Anthony, 

Thanks for your reply. I have attached a storyline file here for you to take a look. 

My condition of the project is:

  1. Question slide must stay "Resume saved state".
  2. User can jump to other slide from Question slide through both NEXT button and through MENU.
  3. RESULT button at Conclusion slide will only appear if user completed all Questions slides.
  4. RETRY QUIZ button will only appear if user did not pass the passing score.
  5. There is content slides in between the question slides.
  6. Custom made showing correct answer and incorrect answer state in all options when user click submit. (You may refer to Question 1 option state)

My issue came up is when at 2nd attempt of retrying quiz, user did not complete all Questions slide but at point 3, the RESULT button is appears there.

My objective of putting point 3 is because if user did not complete all the Questions slide, and proceed to Result slide, and click on REVIEW QUIZ button, those Question slide that are not complete is blank and did not show the correct answer which I did not want this to happen. Plus, it is not fulfilling point 6.

If NEXT button is disabled if user did not complete the quiz, user can still jump to other slides through MENU.

Hopefully this problem can be solve as my dateline for this project is on Friday 25 October 2013.

Thanks!!

Emalyn

Antony Snow

Hi Emalyn,

Thanks for attaching your .story file.

Having had a look at it, I think your issue is due to the order of your triggers on the 'Failure' layer of the Results slide. Currently, you have them set up so that when the user clicks on [Retry Quiz] the following happens;

  • Reset results 1.7 Results Slide
  • Jump to 1.1 Question 1
  • Set ResultTracker1 equal to false
  • Set ResultTracker2 equal to false
  • Set ResultTracker3 equal to false 

As per my previous posts, the triggers to reset the variables (ResultTracker1, ResultTracker2 and ResultTracker3) need to be ABOVE the trigger that jumps to your 1.1 Question 1 slide - Storyline executes triggers from top to bottom so you want to have the reset triggers executed BEFORE the user is returned to slide 1.1 Question 1.

Antony

Walt Hamilton

Becky,

When you use the wizard to change a variable, if you use =Assignment, you can choose True or False for a TRUE/FALSE variable.  If you choose =NOT Assignment, it changes it from what it is to the other.

If you are setting it to False, and it doesn't work, the problem is something other than setting the variable.

Christie Pollick

Hi, Becky -- I see that Walt has offered you a suggestion here, so please let us know if that is what you had in mind! Also, as this is an older thread and Antony may no longer be subscribed, you are welcome to reach out to him directly using the 'Contact Me' link on his profile page if you wish. Hope that helps! :)

Nikki White
Antony Snow

Hi Jyothi,

If you want the variable to be reset when a user revisits the slide, you will need to create a 'reset' trigger as follows:

Action: Adjust variable

Variable: [VARIABLE NAME]

Operator: = Assignment

Value: Value = 0

When: Timeline starts

Object: [SLIDE NAME]

 

@Phil - apologies for jumping in on this

Antony

THIS!  Thank you!