Skip to main content
alfredmack
Inspiring
December 3, 2019
Question

Hide Default Submit Button in Drag and Drop Quiz

  • December 3, 2019
  • 1 reply
  • 1498 views

Hi,

I have a drag and drop slide with 3 drop targets and 1 drag object with one attempt set. Now I want to hide a submit button until a drag object is dropped in any of the three drop targets to avoid empty submission, unfortunately default submit button has no id which I can use to hide. I have tried to refer similar issues in the forum and I saw another idea of making another button and put on top, when I tried this I came to notice that the button is still clickable even when is behind another button. Any help please..

This topic has been closed for replies.

1 reply

Lilybiri
Brainiac
December 3, 2019

Stacking interactive objects is NEVER a good idea, although some experts claim it works. It used to be possible for SWF output but is to be avoided for HTML5 output.

 

The Submit button is an embedded object, like all the quiz buttons. You can drag it out to the scratch area, you can activate the Auto Submit (works only for correct answers). Moreover you can use the Object actions.  That may be a solution for  you to avoid empty submit. Create a counter variable which you increments which each object action. Add a second decision to that action, which checks the value of the counter and shows a previously hidden text (or state of a multistate object) to warn if the counter variable is still equal to zero.

alfredmack
Inspiring
December 3, 2019

Thanks for your quick response, I'm expecting my users to pick wrong/correct answer for this case I think auto submit won't be a solution to my problem.

alfredmack
Inspiring
December 3, 2019

What about my other proposal?


Please correct me if I'm wrong, In this case the object action(s) will be executed when the item is dropped in "drop target". For this case user will still be able to click submit button since object action can't hide it or disable it to be clicked.