A clock with more than 24 hours?! | XM Community
Skip to main content
Question

A clock with more than 24 hours?!

  • March 4, 2021
  • 3 replies
  • 29 views

Forum|alt.badge.img

Hello all,
It might sound weird but can help me greatly.
In a question (actually in more than one question) I am asking my participants to enter the amount of time they did an activity during the past week. Since it COULD be more than 24 hours, and I DO need consistency in the manner the respondents enter data, I would like for that question to be able to allow entering [for example] 32 hours and 45 minutes as 32:45
Is that possible?
To put it in a nutshell, I'd like a clock [23:59] able to show its "hour" section more than 23 hours

3 replies

pogi
Level 2 ●●
Forum|alt.badge.img+14
  • Level 2 ●●
  • March 4, 2021

Could you just not use regex validation for that format? Or just separate it out with a form input for hours and minutes then use embedded data to format the number?


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

https://www.qualtrics.com/community/discussion/comment/35250#Comment_35250Well I am not an expert in JS so I would appreciate it if you could give me the code please.


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

See how the form input works for you. Do text input type form. Then set inputs to validate number for hours and minutes. It is a cleaner solution.