Customize Drag & Drop to test quantity.
Hello H5P community,
I need to hire a developer to customize the content type Drag & Drop. I need it to be able to test quantity instead of a right or wrong answer.
Ideally, a dropzone would be given a number of draggables to be dropped in. If the number of draggables is met the dropzone will return correct.
The draggables will be all equal, however, we will not be using the "Infinite number of element instances", instead, we will be adding as many draggables as required to fill the dropzones.
Here is the discussion I had with BV52 who kindly referred me to this forum: https://h5p.org/comment/30972#comment-30972
Here is what I accomplished to do without any customization: https://h5p.org/node/655591
If someone out there can accomplish something like this, I would love for you to get in touch.
Thank you
Alex Guzman
[email protected]
papi Jo
Wed, 12/18/2019 - 19:05
Permalink
Done!
After further discussion with Alex I am pleased to report that I have added a new "draggables quantity & value" feature to my own library of Drag & Drop. More details on my Drupal test site as usual at http://www.rezeau.org/drupal
Go to MENU / H5P Drag & Drop / Drag & Drop activities / Quantities & Values section.
BV52
Wed, 12/18/2019 - 23:55
Permalink
Hi Papi Jo,Thank you for
Hi Papi Jo,
Thank you for creating this and thank you for sharing.
I just tried it out and it very cool! If I'm not mistaken for the last drop zone you created a variable wherein depending on the apples how many worms is needed and/or vice versa.
-BV
papi Jo
Thu, 12/19/2019 - 09:40
Permalink
Thanks for your appreciation!
I've added a "Settings" accordion element to that "apples and worms" activity. So you can see exactly how it works. The idea behind it is practising addition and substraction.
BV52
Thu, 12/19/2019 - 17:54
Permalink
Thanks Papi Jo
Thanks Papi Jo
gege2b
Sat, 04/17/2021 - 12:18
Permalink
thanks !
Hi papi jo, I just post a message here to say thank you ! I'm building some exercices for a MOOC right now and your modifications of the Drag & Drop content is almost exactly what I needed !
I found your contribution before I tried to mess with the code and it'll be a great time saver :)
papi Jo
Mon, 04/19/2021 - 18:45
Permalink
@gege2b,
You're welcome!
gege2b
Fri, 07/30/2021 - 10:07
Permalink
Hi @papijoI need to be able
Hi @papijo
I need to be able to set a maximum (or minimum, BTW) score for the activity, so on validation, if the total score is greater (or smaller) than specified, the activity is validated
I tried to do a little hack but I didn't find where to do that in the code, can you tell me where to look please ?
thanks
gege2b
gege2b
Fri, 07/30/2021 - 10:08
Permalink
maximum and minimum score
Hi @papijo
I need to be able to set a maximum (or minimum, BTW) score for the activity, so on validation, if the total score is greater (or smaller) than specified, the activity is validated
I tried to do a little hack but I didn't find where to do that in the code, can you tell me where to look please ?
thanks
gege2b