Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Tracking number of attempts for drag and drop

Contributor ,
Aug 30, 2021 Aug 30, 2021

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!

326
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 30, 2021 Aug 30, 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

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 31, 2021 Aug 31, 2021

Thanks a lot!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 31, 2021 Aug 31, 2021
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources