Drag the words - how to use distractors

What is the capital of Norway? *Oslo* London Berlin Paris

So, four options are shown and only one is correct (there are three distractors).

I note that the ability to add distractors has been added in January 2020 (https://github.com/h5p/h5p-drag-text/pull/51). However, I can't work out how to implement it! The GitHub text says "Enter extra solutions that are wrong as distractors. Use the same asterisk (*) scheme as for the text."

I've tried putting asterisks around each of the answers with Oslo the first item: *Oslo* *London* *Berlin* *Paris* . But that creates 4 blank spots.

I've tried putting asterisks around only Oslo and listing the others afterwards: *Oslo* London Berlin Paris.  That creates one blank spot but Oslo is the only option to be dragged. And the other country capitals are shown as part of the question – after the blank spot.

So, how do I get four options to be dragged to one blank spot with only one answer correct?

Please can you give me an example?

With thanks,


otacke's picture

Hi Kevin!

You currently can't do that, but there's a pull-request for adding that feature: https://github.com/h5p/h5p-drag-text/pull/51

The H5P core team will just have to find some time to review and release it.



Last comment in GitHub is from Jan 2020. Is the feature request dead?
The only other way to build in distractors is with a full-fledged drag-and-drop setup, which is quite cumbersome and "overkill" for a strictly text-based question. 

otacke's picture

Hi GWied!

My request itself is still open, but I am not aware how pull requests get prioritized by the H5P core team or what their resources are.