• Resolved zpaparidis

    (@zpaparidis)


    Hello.
    Is there a function I can add in my functions.php with which a cookie will be set when a quiz is completed succesfully (quiz passed)? So that I can write some code to mark the quiz as completed…
    Many thanks in advance

    PS. A slight bug. If I click on retake quiz, after I fill the form with the contact details and proceed to the next page, the quiz shows a notification to “fill in all the required fields”. I can complete the quiz without problems but the notification doesn’t make sense, as all the required fields are filled :/.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @zpaparidis,

    I need to talk to our developer regarding your request. I will get back to you as soon as I hear back from him.

    Also can you please share the quiz URL with which you are ex5this bug so that I can check.

    Kind regards,
    Kriti

    Hi @zpaparidis,

    I have talked to our developer regarding your query.

    We have an action for this.

    do_action('qsm_quiz_submitted', $results_array, $results_id, $qmn_quiz_options, $qmn_array_for_variables);

    This hook fires after quiz is submitted with following parameters.

    You can use this hook to write your custom function.

    Kind regards,
    Kriti

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘set cookie after successful completion of quiz’ is closed to new replies.