Is there a way to have users enter time (hh:mm) for their answers? I don't want to use a text box as I don't think I can trust people to enter minutes or hours after their answer - lots of ways to mess up my data here! If the answer involved Java please let me know exactly what to do as I've never done Java before. Thanks!
Page 1 / 1
For example: how much time did you spend exercising last week? 5 hours? 45 minutes? Some people might answer in minutes and others in hours so I'm hoping the question itself can help validate the data rather than asking people to type in the units.
You can integrate a time picker JavaScript like flatpickr.
> @TomG said:
> You can integrate a time picker JavaScript like flatpickr.
I went through that page and it looks like that is for choosing dates not a length of time? If I missed something, please let me know!
> You can integrate a time picker JavaScript like flatpickr.
I went through that page and it looks like that is for choosing dates not a length of time? If I missed something, please let me know!
Sorry, I didn't read carefully enough. I thought you wanted them to pick a time instead of a length of time.
You can write your own JavaScript to force them to enter something in the format hh:mm. Integrating something like cleave.js would make it easier.
You can write your own JavaScript to force them to enter something in the format hh:mm. Integrating something like cleave.js would make it easier.
Hi TomG, I am looking exactly for what you are requesting and I found the following> https://community.qualtrics.com/XMcommunity/discussion/15375/totalling-hours-and-minutes-from-a-matrix-question
https://community.qualtrics.com/XMcommunity/discussion/comment/50874#Comment_50874I wasn't requesting anything. I already know how to do it.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.