Welcome, Guest
Username: Password: Remember me

TOPIC: Visibillity of assessments in page source

Visibillity of assessments in page source 1 year 7 months ago #93597

  • stefanverweij
  • stefanverweij's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
Hi,
We are doing an exam later this week with limesurvey, and I was wondering how visible the assessments are in the page sources. I've used the assessment option, added 1 point to correct answers and 0 to wrong answers, and using the question type equation it is pretty easy to calculate the total score using the sum function. However, if I put this equation in the same group as the exam questions (showing the survey group by group) the correct answers can be found pretty easily by inspecting elements in chrome and looking for the code.
I've tried to solve this by adding an extra group to the survey (the last group) and only add a hidden equation question in here with the correct calculations. To the respondents, the last group is not shown (as all questions are hidden in this group), and it records properly to the database. However, does anyone know how safe this is? Is there any way students will still be able to find the correct answers in the page source?

If it is not secure enough, I can always leave out the assessment part and calculate scores in SPSS, but this would lessen the work :)
I am using Version 2.00+ Build 130311, and you can check an example of the survey here. In this demo, the correct answers (goed antwoord in Dutch) have a score of 99, to make it easier to spot in the code. I've also attached the same example as an lss file

Demo link:
www.stefanverweij.nl/lime2/index.php/844788/lang-nl

Thanks in advance and thanks for limesurvey!
Attachments:
Last Edit: 1 year 7 months ago by stefanverweij. Reason: Forgot demo link
The administrator has disabled public write access.

Visibillity of assessments in page source 1 year 7 months ago #93605

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
Really good question.

Think if you don't use {QQ.value} in question text (even in javascript) of a showed group, it's clean.

Or use it in some condition of a question etc ....

Looking at source code of your survey to be sure.

Denis
PS: maybe you can put this information in the documentation (for the "allways hidden" group)
Last Edit: 1 year 7 months ago by DenisChenu.
The administrator has disabled public write access.
The following user(s) said Thank You: stefanverweij

Visibillity of assessments in page source 1 year 7 months ago #93607

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
When placing the related equation on the same page, it might be possible to kind of "read" them by analyzing the related JavaScript. There is no way to work around that other than placing the related calculation on a following page so the calculation is done via PHP (server side) and not client side using JavaScript.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
The following user(s) said Thank You: stefanverweij

Visibillity of assessments in page source 1 year 7 months ago #93657

  • stefanverweij
  • stefanverweij's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
Hi,

Thanks for your quick answers! Just to be sure: if assessments relate to information that was given by the respondent on the same page, it uses (logiically) client side JS, and if it relates to information from previous groups/pages, which are already stored in the database, assessments use php to get the info?

Thanks again, and did you want me to add this info to the wiki?

Best regards,

Stefan
The administrator has disabled public write access.

Visibillity of assessments in page source 1 year 7 months ago #93704

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
Yes, to my knowledge that is the technical background when using assessments.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.112 seconds
Donation Image