WP Survey And Quiz Tool
Show Answer (5 posts)

  1. zerodotnine
    Posted 3 years ago #


    I am trying to add a quiz that has 2 'free text' answers for a weekly quiz.

    - I have set each question to 'not required'.
    - I have added the answer to the 'answer explanation'.
    - The pass value of the quiz is set to 0 (as how is the free text to be marked as correct?)

    Firstly the 'SHOW ANSWER' button remains hidden with 'display:none', so the user cannot view the answer once they have filled in their answer to the free text box... By removing display:none with firebug I get the button but clicking it does nothing....

    Secondly I get the error: Warning: Division by zero in /home/zed/public_html/bjui/wp-content/plugins/wp-survey-and-quiz-tool/lib/Wpsqt/Tokens.php on line 122.

    Please help, I have a very tight deadline to get this working for my client.


  2. zerodotnine
    Posted 3 years ago #


    An answer would be hugely appreciated as we have A LOT of quizzes already loaded into the system and are making use of the polls aswell.

    I have checked the 'show answer' functionality on another install and it also appears to not be working. Please help!

  3. zerodotnine
    Posted 3 years ago #

    So I appear to be talking to myself, but it appears that the JS is not firing on the show/hide functionality, any assistance would be super handy please!!

  4. zerodotnine
    Posted 3 years ago #

    So i've upgraded, and tried the version off Git hub, which appears to be the same as the upgrade... Same issue.... reverted all my plugins.. Same issue. I've now wasted an entire day on this, a feature that should be working. Please help!

  5. zerodotnine
    Posted 3 years ago #

    So 'hint' functionality is working, which uses JS,and works pretty much exactly the same way... so why doesn't 'show/hide answer' work????

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Survey And Quiz Tool
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic