Skip to content

Extended validate function #41

@alex1897

Description

@alex1897

In addition to the ticket #28 it would be good to have the id's of the given and the correct/wrong answers.

What I would like to archive is to show the user something like that:
Bildschirmfoto 2023-10-19 um 20 30 21
Source: https://www.daypo.com/c-cpi-14.html#test

I am using this function:
$this->quiz_attempt->validate($quiz_question_id)[$quiz_question_id]

But that function does not provide me enough information to be able to show it in the way above.

Multiple choice:
Bildschirmfoto 2023-10-19 um 20 22 50

Single choice:
Bildschirmfoto 2023-10-19 um 20 22 18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions