Skip to main content
Inspiring
August 31, 2021
Question

Tracking number of attempts for drag and drop

  • August 31, 2021
  • 1 reply
  • 332 views

Hi all,

I did research the answer to this question but could not find the simple solution I looked for (always a bad sign...).

Here goes, I have a drag and drop interaction with learners having to place countries in certain boxes (it is on a scale from high to low showing a certain propensity for something).

I want to show a hint after 2 wrong tries.
This I would do using states in a text box (normal = invisible, first state = hint)

So, in order to switch to the "Hint state" I need to track number of attempts.
I thought I could just use an AA to increment a variable by 1 for each attempt. But for that I need that number.
All solutions seem to have to do with an AA for each objects being dragged. But I have 5 drag sources and targets.

There has to be another way to track attempts, no?
Thanks for your help!

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    August 31, 2021

    This tells more about the incompetence of search tools.... I have answered this question multiple times and have even a couple of blogs. 

    For attempts on theD&D level, not on the individual drag level (where Object actions are used) why not use the available built in messages?  Here  a couple of links:

    http://blog.lilybiri.com/d-and-d-feedback-messages

    http://blog.lilybiri.com/showing-hint-with-a-delay

    http://blog.lilybiri.com/custom-failure-messages-slash-attempts-drag-and-drop

     

     

    Inspiring
    August 31, 2021

    Thanks a lot!

    Lilybiri
    Legend
    August 31, 2021

    Hope I guessed correctly what you are looking for? It is pretty simple, I try to use included features as much as possible...