Hi,
Do you mean the overall feedback at the end of the question?
Can you please if possible:
1. Send me a screenshot of what the failed feedback looks like
2. Export the questions and send me a copy so I can import them into our development environment and take a look
3. Send me a link to a page in question so I can view the source.
Thanks!
Alex
Thanks for your response, Alex.
Yes, it is the overall question feedback.
Only the individual response feedbacks are showing.
I have worked around this by combining all of the feedback into the individual responses. It will be okay like this for us.
Sorry I can’s send it to you – proprietary.
OK no problem – If you’re embedding a single question on the page (i.e. not a quiz) I’m pretty sure the general feedback is rendered to the page in a hidden <div> that is only displayed when the Check Answer button is pressed.
It might be worth looking at the page source, or inspect that element in chrome – see if you can see the feedback you have written is actually there.
Sounds like the JS to display that div isn’t working properly.
Again, without seeing the page I wouldn’t know for sure, but I’ll close the ticket if you have a workaround!
Alex
I’ve run into the same issue. My site is using Bootstrap, which has it’s own “hidden” class that overrides the inline style given to the feedback <div>. I ended making the change at line 33 of js-functions.js below to fix (depends on jQuery).
// A generic HIDE and SHOW stuff so you don't need to worry about toggles
function divDisplayShow(id)
{
//this.document.getElementById(id).style.display="block";
$('#'+id).removeClass('hidden');
}
function divDisplayHide(id)
{
//this.document.getElementById(id).style.display="none";
$('#'+id).addClass('hidden');
}
Hi brenthays,
Many thanks – I assume I can simply add that to the next release to fix on other bootstrap sites? It won’t mess any other styles up for other plugins
etc?
Great work, I’ll credit you in the comments for the next release.
Alex
It shouldn’t break anything unless jQuery isn’t loaded. A safer route might be using just pure Javascript to change the class names.