Drag and drop answers as text?

Feb 02, 2019

I think I have it set up so learners can drop the words into the drop target in any order they wish. 

Now the hard part....

I would like to put a submit button the slide, when learner hits submit their sentence is "locked" and shows up on the next slide as text.

 

3 Replies
Ned Whiteley

Hi Lynn,

This may not be the most elegant solution, but at least it works !

There are some limitations:

1.  Don't reshuffle the words once they have been placed in the box.

2.  The Reset button jumps the user straight back to the sentence building slide. The slide is set to reset to original state on being revisited. That means that it will also reset if you return to it from the final slide.

How this works is by allocating each word to the next available variable (Variable1 to Variable8) when it is dropped into the box by first checking if the variable is blank and also if the previous variable is not blank. Finally, on the second slide, it places all the variables into a text box, separated by a space, to create the sentence.

The text variables (Variable1 to Variable8) are all reset to blank whenever the timeline starts on the sentence building slide.

I have used the eight words you provided in your original slide.

Hope this helps.

Ned Whiteley

Hi Lynn,

It doesn't matter that you cards are in PNG format and not text as you set the actual text you want displayed in the variables. However, the number of words you use is always going to be a problem.

I'm sure there must be a smarter way to do this perhaps in Java Script, but that is outside my ability to deal with. Unfortunately the option above is extremely unwieldy for large numbers of words as the basic calculation for the number of triggers needed (excluding those for buttons and variable reset) is the square of the number of words (i.e. 8 words = 64 triggers, 10 words = 100 triggers etc !!).

Sorry I can't be of more help.

This discussion is closed. You can start a new discussion or contact Articulate Support.