Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i get errors and mistakes #1

Closed
vitorregisrr opened this issue Jun 9, 2018 · 1 comment
Closed

How can i get errors and mistakes #1

vitorregisrr opened this issue Jun 9, 2018 · 1 comment

Comments

@vitorregisrr
Copy link

vitorregisrr commented Jun 9, 2018

How can I get the number of errors and success with JAVA? is there a way? What is the name of the variable that holds these datas?
My back-end need to get this data and send it to the database using JAVA, I need to save the results for later analysis.
Very good, easy and functional your framework, congratulations and thank you!

@jchamill
Copy link
Owner

Yes, you can do this using the callbacks. Use the answerCallback to keep track of the number of correct/incorrect responses. Note that the answerCallback accepts two parameters, the second parameter is a boolean that represents if the user answered the question correctly. Then you can use the finishCallback to then send the data to a backend system. Of course, you will have to write your own code in the callbacks to send the data to a backend system. There is a callback example in the demos folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants