Hiding the next button until the question is answered

MINI LESSONS ›› Actions Editor ›› Question Objects ››

MINI LESSON

HIDING THE NEXT BUTTON UNTIL THE QUESTION IS ANSWERED

Looking for a way to keep your user on the page until after they have answered the question?


There are several ways to approach this:

Hide the next button

Ensure that anytime you enter the page, the next button is hidden and it only shows itself after the user answers the question. This solution is discussed below.

Disable the next button

Ensure that anytime you enter the page, the next button is disabled and it only enables itself after the user answers the question. Read more...

Ignore all clicks on the next button

Place a "cover object" on top of the next button so that instead of clicking the next button, the cover object gets clicked. This cover object can be any other object, such as a button, a transparent rectangle, etc. You would then ensure that the cover object is made visible when you enter the page and it is hidden when the question is answered. Read more...


Regardless of approach, only the Instructor version of ToolBook will be able to be used to implement this behavior, since programming will be involved.


BASIC NEEDS

Of the three approaches referenced above, this lesson will cover how to Hiding the Next Button.


There are two fundamental tasks to handle:



HIDING THE BUTTON WHEN THE PAGE LOADS

Use the On Load Page action of the Question Object to ensure the visible property of the Next button is set to false.


This will ensure the button is hidden as the page loads.


 


SHOWING THE BUTTON WHEN THE QUESTION IS ANSWERED

The process to SHOW the button is just a matter of writing the following code within the Actions Editor for the particular question object.


 



Created with the Personal Edition of HelpNDoc: Free Kindle producer