You are here: > Home > Support > ToolBook Knowledge Base
Services
talent management whitepapers

Knowledge Base

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:

    • How to HIDE the button when the page is loaded
    • How to SHOW the button when the question is answered

      MANIPULATING THE NEXT BUTTON

      Before you can consider hiding or showing the next button programmatically, you first have to determine if the Actions Editor can even see the next button as an object that you can manipulate.

      If your next button is within one of the standard navigational panels, then you'll want to read this article:
      http://kb.sumtotalsystems.com/community_kb_tb_display.asp?id=Q109483233500136

      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.



        Provide Anonymous Feedback About This Article