Title: Paginate + Randomize and two problems
Last modified: January 15, 2023

---

# Paginate + Randomize and two problems

 *  Resolved [szponix93](https://wordpress.org/support/users/szponix93/)
 * (@szponix93)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/paginate-randomize-and-two-problems/)
 * This is on site: [https://gra.adamgola.pl/4-2/](https://gra.adamgola.pl/4-2/)
 * Password: AG_LETSGOINSIDE
 * Blue button starts a quiz.
 * Sorry for next topic, but I love your support 🙂 And I hope that we are able 
   to do perfect solution.
 * Problem:
 * I have a quiz with 10 or 12 questions. I check option “Randomize” questions and
   Answers. Next I choose a 5 questions from a bank:
 * > [View post on imgur.com](https://imgur.com/a/KX9Eoj1)
 * Next, I set a time: a 20 seconds for every question. So I would like generate
   question by question (one question – next button – one question – next button–
   etc). Every question has Paginate option:
 * > [View post on imgur.com](https://imgur.com/a/xJRu84O)
 * 1. The first question is empty. Next question appears after 20 seconds:
 * > [View post on imgur.com](https://imgur.com/a/wOdwuhS)
 * 2. When next question appears I am able to waiting and after end of time, next
   question is generate but “next button” remains:
 * > [View post on imgur.com](https://imgur.com/a/96bWKqb)
 * Steps for reproduce:
    1. Go to [https://gra.adamgola.pl/4-2/](https://gra.adamgola.pl/4-2/)
    2. Password: AG_LETSGOINSIDE
    3. Start a test (click to blue button at the bottom)
    4. _First problem here_
    5. Wait a 40 seconds
    6. _Second problem here_
 * The second problem is probably bug. And first – can I join paginate option with
   a Randomize function and a question bank? If yes, how disable first blank question?
 * **Other information:**
    - <span style=”text-decoration: underline;”>all</span> my questions are “select
      all that apply”,
    - <span style=”text-decoration: underline;”>all</span> my questions in this 
      quiz has “paginate” option,
    - my wordpress is almost clear – I have Elementor plugin, xpro for elementor
      plugin (addons for elementor), akismet antispam and oceanwp theme.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpaginate-randomize-and-two-problems%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Harmonic Design](https://wordpress.org/support/users/harmonic_design/)
 * (@harmonic_design)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/paginate-randomize-and-two-problems/#post-16373960)
 * Hi szponix93,
   first, before anything, I just want to thank you for your thorough
   explanation of the problem and included relevant information – with screenshots!
   How I wish everyone did that when asking for support 🙂
 * So let’s start with the good news. This is a very easy thing to fix.
 * It is caused by your specificity unique combination of settings and question 
   types (pagination on all questions, randomized order, timer per question, and
   select all that apply as the first question type) – so this is an issue that 
   actually hasn’t ever come up with 8000+ daily active users (at least no one has
   asked for support yet)!
 * It’s already very late on my end, so I will not be able to offer a solution tonight,
   but can guarantee one of two things tomorrow. Tomorrow, I will either A) send
   you some custom code that you can add to your site that will fix the issue for
   you, or B) I’ll push an update to HD Quiz tomorrow that will fix this weird edge
   case of settings for everyone!
 * _Also, in case you are wondering_, the issue is due to the timer mixing in with
   pagination, mixing in with the select all that applies “next” button that only
   appears when the timer per question is active (since the user can select multiple
   options before “completing” the question and moving to the next).
 * The solution _should_ be as easy as checking for that combination, and then removing
   the very first `hdq_jPaginate` div once the quiz loads. Stay tuned!
 *  Thread Starter [szponix93](https://wordpress.org/support/users/szponix93/)
 * (@szponix93)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/paginate-randomize-and-two-problems/#post-16374472)
 * Thank you for answer and your support 🙂 
   I’m just at the development stage, 
   so users are not using the project yet. So I can wait for a global fix 🙂
 * Please let me know when fix will be on production environment. That resolve also
   first issue, with empty question?
 *  Plugin Author [Harmonic Design](https://wordpress.org/support/users/harmonic_design/)
 * (@harmonic_design)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/paginate-randomize-and-two-problems/#post-16375391)
 * Good news!
 * I managed to track this down, and wow is it specific. As it turns out, not only
   do you need that specific combination of settings that you have, but you ALSO
   need to have the results set to “Below quiz”.
 * I’ll be able to add in a fix for this in the next version, but for now, all you
   have to do is set the results back to “above quiz” and everything should work
   perfectly for you (found under quiz settings -> advanced tab).
 *  Thread Starter [szponix93](https://wordpress.org/support/users/szponix93/)
 * (@szponix93)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/paginate-randomize-and-two-problems/#post-16375414)
 * Whaaat!? 😀
 * Yes, now it works perfect when I change “below” to “above” 🙂
 * I didn’t even mention this option – it was probably the last thing I would have
   thought of. Good catch!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Paginate + Randomize and two problems’ is closed to new replies.

 * ![](https://ps.w.org/hd-quiz/assets/icon-256X256.gif?rev=2936040)
 * [HD Quiz](https://wordpress.org/plugins/hd-quiz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hd-quiz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hd-quiz/)
 * [Active Topics](https://wordpress.org/support/plugin/hd-quiz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hd-quiz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hd-quiz/reviews/)

## Tags

 * [pagination](https://wordpress.org/support/topic-tag/pagination/)

 * 4 replies
 * 2 participants
 * Last reply from: [szponix93](https://wordpress.org/support/users/szponix93/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/paginate-randomize-and-two-problems/#post-16375414)
 * Status: resolved