by Ricardo Flores Cabal.
Hi guys
I'm developing an webapp using angularjs and phonegap. A few days ago, I started to work with quiz services, when I process the quiz, I'm using this url:
Answers are being save it with mod_quiz_save_attempt.
Once the quiz is saved and finished, in my database, in table mdl_quiz_attempts, the attempt has the column preview as "1"
My problem is that "1", when I used mod_quiz_get_user_attempts for getting the attempts of my user doesn't show the attempt that I already did.
Are there a way to make preview as "0" using mod_quiz_process_attempt?
Thank you!