Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

Is there a way to have users enter time (hh:mm) for their answers?

morrisona
morrisona Indianapolis, INCommunity Member Qubie ✭

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!

Best Answer

  • TomG
    TomG Raleigh, NCCommunity Member, Qualtrics Brand Admin Wizard ✭✭✭✭✭
    Accepted Answer

    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.

Answers

  • morrisona
    morrisona Indianapolis, INCommunity Member Qubie ✭

    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.

  • TomG
    TomG Raleigh, NCCommunity Member, Qualtrics Brand Admin Wizard ✭✭✭✭✭

    You can integrate a time picker JavaScript like flatpickr.

  • morrisona
    morrisona Indianapolis, INCommunity Member Qubie ✭

    @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!