Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Visibillity of assessments in page source

  • stefanverweij
  • stefanverweij's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 6 days ago - 11 years 6 days ago #93597 by stefanverweij
Visibillity of assessments in page source was created by stefanverweij
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!
Last edit: 11 years 6 days ago by stefanverweij. Reason: Forgot demo link
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 6 days ago - 11 years 6 days ago #93605 by DenisChenu
Replied by DenisChenu on topic Visibillity of assessments in page source
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)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 11 years 6 days ago by DenisChenu.
The following user(s) said Thank You: stefanverweij
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 6 days ago #93607 by Mazi
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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The following user(s) said Thank You: stefanverweij
The topic has been locked.
  • stefanverweij
  • stefanverweij's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 6 days ago #93657 by stefanverweij
Replied by stefanverweij on topic Visibillity of assessments in page source
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 topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 5 days ago #93704 by Mazi
Yes, to my knowledge that is the technical background when using assessments.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose