Skip to main content
Known Participant
September 17, 2018
Question

Drag&Drop quiz - oblige users to answer before continuing the course

  • September 17, 2018
  • 2 replies
  • 263 views

Hello there,

Our client asks us to oblige users to answer the drag&drop before continuing the course.

We thought about hiding the "continue" button until the elements are dropped somewhere, but we see no options to do so.

Would you have an idea to resolve this issue?

Thank you in advance!

    This topic has been closed for replies.

    2 replies

    Lilybiri
    Legend
    September 17, 2018

    Can you have a look at:

    D&D Feedback messages - Captivate blog

    You can use the same workflow used here to show the warning message, to hide/show an extra Next button.

    mnoemiAuthor
    Known Participant
    September 19, 2018

    Thanks to both of you, we'll try to figure out how to use variables (have never used them before) and we'll get back to you!

    Have a nice day!

    Lilybiri
    Legend
    September 19, 2018

    Maybe you could start by downlloading my explanatory table with all system variables:

    System variables in Captivate 8/9 and 2017 - Captivate blog

    I have some very old blog posts, need to update it, which explains use of variables. Although the screenshots are from an old version the explanatino is still valid:

    Curious about Variables in Captivate? - Captivate blog

    Unleash the Power of Variables in Captivate with Advanced Actions - Captivate blog

    RodWard
    Community Expert
    Community Expert
    September 17, 2018

    You can trigger actions when a specific drag source object is dropped on a specific drag target object.  In order to gain access to these 'Object Actions' you first need to select the Drag Target object and then look for the Object Actions button in the Drag and Drop tab.

    It can be tricky to set up but the usual approach is to set up User Variables for each of the Drag Objects and have the Object Action for that specific object assign its relevant User Variable to 1 if the object has been dropped on the correct target.  This will be done via the first decision block of a Conditional Advanced Action that is also unique for each drag object.  The second decision block in each of these Conditional Advanced Actions then checks to see if all of the variables have been set to 1.  If so, this would indicate that the user has successfully completed the interaction and then the Continue button would be shown.