Quizzes: Adding custom numbers / names to questions

Community Novice

For anybody who may be interested, I have developed a small javascript snippet that will allow you to add your own question numbers to quiz questions (useful for grouped questions with different answer types i.e. Question 1(a) multiple choice, Question 1(b) essay). I have copied my code below with instructions on how to use the code.

  1. Copy and paste the code into your custom javascript file.
  2. Add <p class="custom_name">CUSTOM QUESTION NUMBER HERE</p> to any question (in HTML view)

If you are going to use this code, please test it on your test site first and at your own risk.

Labels (1)