Report any technical problems you discover and discuss solutions.

Bug - Quiz button not hiding

  • gregers
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #3400 by gregers
Bug - Quiz button not hiding was created by gregers
Quiz 'Submit' button should be hidden after each question.
Now it is hidden at the beginning, but after first question it remains visible.
It allows after clicking it without choosing question to receive max score.

It's possible to patch it after export in file quiz.html adding single line
(...)
$("#checkBtn")
.button({
label: submitBtnText
})
.click(function() {
$(this).hide();
quiz.showFeedBackandTrackResults();
quiz.checked = true;
})
.hide();

Best regards
Gregers

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #3401 by julten
Replied by julten on topic Bug - Quiz button not hiding
Generally the design principle is to disable inactive buttons rather than hide them, but the point s largely the same, we'll have a look at that,

Please Log in or Create an account to join the conversation.

Moderators: ronmjultenJohnSmith
Time to create page: 0.172 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo