Customize Drag & Drop to test quantity.

Forums: 

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]

 

 

 

 

 

 

Content types: 
papi Jo's picture

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's picture

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's picture

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's picture

Thanks Papi Jo

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's picture

You're welcome!

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

 

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