-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quiz type not providing 'correct answer feedback' for every question #9
Comments
I think your best bet for achieving this is to look at how it is implemented in Multiple Choice and then try to apply it to 'Drag and Drop'. I think there are some complications in relation to designing this and how it would fit inside 'Drag and Drop'. |
@thomasmars , thanks for the suggestion. I will give it a try because I just need to get the functionality working. Theming & designing is something that the themer will bother, not me (Buhahaha...) >:) ;) Thanks! |
Just thought of updating you that I fixed this by using hook_h5p_semantics_alter() and calling updateFeedbackContent() from the .js file mentioned in hook_h5p_scripts_alter() in my custom .module file.
Regards, |
Cool, glad it worked out :) If you decide to create a pull request for this I would be glad to review it. |
Hello @thomasmars , Thank you :) I would like to create a pull request but since I have used H5P hooks, I will have to create a module also, no? Do I submit that also in the pull request? I am a little new to GitHub, any guidance would be appreciated. |
You would have to translate your hooks into the library. |
Gotcha @thomasmars . |
'Incorrect feedback text' field is added and showScore() is modified to show (in)correct feedback per drag-and-drop question. Also made the 'common' setting as 'false' and changed the label for 'Feedback' field so that it appears on every drag-and-drop question instead of for the whole question set
@thomasmars , Thank you. |
Thanks, current release is full, so hopefully this can get reviewed for the release after this one. |
Hi,
The option for selecting the chosen/not chosen feedback for each question in a quiz is available under 'Tips and Feedback' section only for Multiple Choice questions.
If I choose 'Drag and Drop' as the question type inside a question set, it doesn't give me any option to show some text after the user clicks on 'Check' for that particular question.
Any idea how to achieve this?
Kindly help!
The text was updated successfully, but these errors were encountered: