Title: Problems with &#8220;Submit&#8221;
Last modified: January 29, 2018

---

# Problems with “Submit”

 *  Resolved [resolfe](https://wordpress.org/support/users/resolfe/)
 * (@resolfe)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problems-with-submit/)
 * Hi,
 * I have been using Watu Quiz for several months now and didn’t encounter any problems,
   but today when I tested a new quiz the following problem has arisen:
 * At the last question, after pressing the submit button, instead of checking the
   answers, Watu tries to load the next questions and is caught in a loop since 
   there is no next question ([see screenshot here](https://imgur.com/xgqPzAX)).
 * I checked the settings and found the option “The selected quizzes will NOT use
   Ajax when users submit them.”
    By checking this option the problem is partially
   solved: After pressing the submit button, for a short time the text “question
   6 of 5” is shown, while the Final screen is loading. After the Final Screen is
   loaded the page jumps to the top of the page (it is necessary to scoll down to
   the Final Screen)..
 * In order you can reproduce the problems here are 2 links to my quizzes:
    [– Quiz with “NOT use Ajax…” checked](https://www.catchbudapest.com/ohwad-weekend-challenge-01/)
   [– Quiz with “NOT use Ajax…” unchecked](https://www.catchbudapest.com/ohwad-weekend-challenge-02/)
 * As already stated I never had any problems so far and never had to use the “selected
   quizzes will NOT use Ajax when users submit them” option, but last week I made
   several changes on my site, which could possibly be involved in the described
   problem:
 * – I migrated from http to https
    – I updated the theme, wordpress and Watu quiz–
   I use the plugin Autoptimize in order to optimize HTML, Javascript and CSS – 
   I use Comet Cache
 * Is it somehow possible to get the old quiz-behavior back?
    Thanks in advance!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblems-with-submit%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Bob](https://wordpress.org/support/users/prasunsen/)
 * (@prasunsen)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problems-with-submit/#post-9914927)
 * You have to remove Autoptimize, it has caused a bunch of fatal JS errors on your
   page.
    Even jQuery is undefined. Disable that plugin and you should be fine. 
   Don’t use these plugins, they never work with complex javascript.
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problems-with-submit/#post-9914975)
 * > Don’t use these plugins, they never work with complex javascript.
 * this is kind of … misinformed I’m afraid [@prasunsen](https://wordpress.org/support/users/prasunsen/);
   AO can cause issues, but that’s what the settings-screen is for. the troubleshooting-
   tips [in the FAQ](https://wordpress.org/plugins/autoptimize/faq) explain how 
   to fix such issues. Feel free to reach out to me (futtta-at-gmail-dot-com) if
   you want to discuss the ideal config for AO+your plugin. I’ve yet have to come
   accross a site that can’t be autoptimized actually, which would explain why AO
   has over half a million active installs 😉
 * > Even jQuery is undefined.
 * [@resolfe](https://wordpress.org/support/users/resolfe/) you have probably removed`
   js/jquery/jquery.js` from the list of JS optimization exclusion, start your troubleshooting
   be re-adding it there.
 * frank (ao dev)
 *  Plugin Author [Bob](https://wordpress.org/support/users/prasunsen/)
 * (@prasunsen)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problems-with-submit/#post-9914986)
 * [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/) 
   thanks for correction. Unfortunately we’ve got way too many clients with fatal
   errors caused by similar plugins so I have not checked yours (I really have no
   time to check each one individually). Hopefully your plugin is really different
   and will be able to work with our javascript.
 *  Thread Starter [resolfe](https://wordpress.org/support/users/resolfe/)
 * (@resolfe)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problems-with-submit/#post-9915037)
 * [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/) 
   and [@prasunsen](https://wordpress.org/support/users/prasunsen/)
    Thank you both
   for your support!
 * Adding js/jquery/jquery.js to the list of JS optimization exclusion solved the
   problem.
 * [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/)
   
   I would really like to discuss the ideal config for AO+plugins; I will write 
   you a mail. Thanks a lot!!!
    -  This reply was modified 8 years, 3 months ago by [resolfe](https://wordpress.org/support/users/resolfe/).
      Reason: correction
 *  Thread Starter [resolfe](https://wordpress.org/support/users/resolfe/)
 * (@resolfe)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problems-with-submit/#post-9915040)
 * [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/) 
   and [@prasunsen](https://wordpress.org/support/users/prasunsen/)
    Thank you both
   for your support!
 * Adding js/jquery/jquery.js to the list of JS optimization exclusion solved the
   problem.
 * [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/)
   
   I would really like to discuss the ideal config for AO+plugins; I will write 
   you a mail. Thanks a lot!!!
 * Sorry for the double post, please delete!
    -  This reply was modified 8 years, 3 months ago by [resolfe](https://wordpress.org/support/users/resolfe/).
      Reason: double post, please delete
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problems-with-submit/#post-9915181)
 * happy it works 🙂
 *  Plugin Author [Bob](https://wordpress.org/support/users/prasunsen/)
 * (@prasunsen)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problems-with-submit/#post-9915185)
 * Now I will know at least ONE optimization plugin which doesn’t break our javascript
   🙂
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/problems-with-submit/#post-9915270)
 * so everybody is happy, super! 🙂

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

The topic ‘Problems with “Submit”’ is closed to new replies.

 * ![](https://ps.w.org/watu/assets/icon-128x128.png?rev=1680960)
 * [Watu Quiz](https://wordpress.org/plugins/watu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/watu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/watu/)
 * [Active Topics](https://wordpress.org/support/plugin/watu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/watu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/watu/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/problems-with-submit/#post-9915270)
 * Status: resolved