Welcome to the LimeSurvey Community Forum

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

Date stamps for specific question

  • midnightking
  • midnightking's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #207474 by midnightking
Date stamps for specific question was created by midnightking
Hello,

I was looking at my output for past survey and I was wondering if it was possible to obtain a date stamp not just for the start and end but also for when specific random questions are started or submitted.

Thanks
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago - 3 years 5 months ago #207479 by tpartner
Replied by tpartner on topic Date stamps for specific question
You could insert hidden short-text short-text questions and use JavaScript to record a timestamp when a page is submitted.

Alternatively, save timings and work it out in post-survey analysis.

- manual.limesurvey.org/Notifications_%26_data#Save_timings

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 years 5 months ago by tpartner.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • midnightking
  • midnightking's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #207481 by midnightking
Replied by midnightking on topic Date stamps for specific question
I have done both those things. However, the problem still remains that

1- Saving timings gives me the time spent on a question not when it was answered or started. Meaning if 2 questions take equal time I won't know which came first even if I look at the short text question you mentioned along with the timing of non random questions

2- How do I know which question preceded the short free text question, I used this script

<script>
$(document).ready(function(){
if($('#question{QID} input:text:eq(0)').val() == '') {
$('#question{QID} input:text:eq(0)').val(new Date());
}
{
$('#question{QID}').hide();
}
});
</script>
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207484 by tpartner
Replied by tpartner on topic Date stamps for specific question
1) Saving timings gives the time spent in a group regardless of randomization. If there are several questions visible in the group, you have no way of detecting where the respondents eyes/thoughts are.

2) The short-text is in a given group. You know what other question(s) are in that group. Or, am I missing something in your survey set up?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • midnightking
  • midnightking's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #207490 by midnightking
Replied by midnightking on topic Date stamps for specific question
2-Well,I want to know when specific questions appear. For instance, how would I know when someone submitted an answer to a random question like question nf37 in the lss file below for?I had an idea of changing questions (list radio) to the list with comment option and have a date stamp appear in the comment and then hiding the comment. Using the script I mentioned in my earlier reply for the short text, however it doesn't seem to work. Do you know of any Javascript options in that regard? Thank you for responding

File Attachment:

File Name: limesurvey...5(4).lss
File Size:53 KB
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose