TimePicker does not save the time entered by the respondent in Qualtrics Survey Report | XM Community
Skip to main content
Solved

TimePicker does not save the time entered by the respondent in Qualtrics Survey Report

  • March 2, 2021
  • 11 replies
  • 179 views

Forum|alt.badge.img

Hello y'all,
I am asking my respondents to enter the time that they do a specific activity during the day/night so I ended up adding a timePicker which honestly does not look good as I guess I had to put it in the question section of the "text entry" question.
Also, to double-check the question I published my survey and answered that specific question and although the survey's response counter goes up by one, the time that I entered in that TimePicker question does not show up in the Qualtrics report. It is totally BLANk as if no one answered it.
I have been searching a lot for a good step-by-step method of creating a TimePicker question in Qualtrics but have been unsuccessful.
I would appreciate the help as I have no experience with Java whatsoever.
Best,
Mo

Best answer by ahmedA

You are adding an input element in your question using JS. Qualtrics won't record that because it's not part of the survey database.
In a single text entry question, like question 12, just add the code I gave above, and everything should work.

11 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • March 2, 2021

No need use a separate library.
Just add this to your question JS:
Qualtrics.SurveyEngine.addOnReady(function () {
    this.questionContainer.querySelector(".InputText").type = "time";
});
Demo. With the selected option on the next page.


Forum|alt.badge.img
  • Author
  • March 2, 2021

Thank you for your reply. I actually already have that one in my question but my problem is that whatever time that I enter, does not show up in my Qualtrics survey report when I "submit" my answer
Also, although this setting hh:mm:AM/PM comes in handy for me, I would like a timepicker that does not have AM/PM as well


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • March 2, 2021

About the second question. 12/24 hrs format depends upon the system settings, if your user is using AM/PM they'll get that, if the use is not, then they won't get that. Which, I feel is safer, considering the possibility of getting faulty data because of the confusion on the participant's end. Read more details about it here.
As for your first problem, what type of question are you using? What do you mean by survey report, the PDF? Have you tried downloading the data, is it missing from there also? If yes, then you are probably making a mistake somewhere. Whether you enter time or number or whatever in the text entry box, Qualtrics treats it as text and stores it.
The fastest way to check if something is getting recorded is to pipe the value on the next page and see if it displays the same value, if yes, then its being saved.


Forum|alt.badge.img
  • Author
  • March 2, 2021

How did you do the second page:
"With the selected option on the next page."
Can I have it on the final report when I want to analyze my data?


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • March 2, 2021

Forum|alt.badge.img
  • Author
  • March 2, 2021

https://www.qualtrics.com/community/discussion/comment/35110#Comment_35110I actually downloaded the report as PDF and the time that I entered does not show up. It is completely blank.


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • March 2, 2021

Okay. That shouldn't happen.
What type of question are you using.


Forum|alt.badge.img
  • Author
  • March 2, 2021

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Answer
  • March 2, 2021

You are adding an input element in your question using JS. Qualtrics won't record that because it's not part of the survey database.
In a single text entry question, like question 12, just add the code I gave above, and everything should work.


Forum|alt.badge.img
  • Author
  • March 4, 2021

https://www.qualtrics.com/community/discussion/comment/35126#Comment_35126Thank you! I entered the JS code in the "Answer" box and it worked.
I am now looking for a generous "Clock" that is able to show more than 24 hours cuz I am asking my participant to enter the amount of time they did an activity during the week. Like 34 hours and 45 minutes of something
Is 34:45 possible?


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • March 4, 2021

That's not time. That's duration. Clocks track time.
Just have two dropdowns one for hours and the other for minutes.