Question T5221
Visible to All Users

Is there any solution to hide correct answers from JSON

created 4 years ago (modified 4 years ago)

Hello!

I'm trying to use your library and don't understand is it possible to hide correct answers from user? During page loading user can open (F12) debug tab in Google chrome take a look on response from server.

Clipboard-File-1.png

Is there any solution to hide correct answers from JSON ?

Answers approved by surveyjs Support

created 4 years ago

Hello,

You can set correctAnswer property of each question manually, not in SurveyJSON. Here is live sample in plunker of this approach. Anyway if you want to provide a guarantee of honest passing of quiz then you shouldn't to send correct answers from server to client on any step. You should to check user's data on the server

Thanks, Alex
SurveyJS Team