Hi Qualtrics Community,
I was wondering if anyone knows how to add a time picker in the format of a 12hr clock with the ability for the participant to select either AM/PM. I currently have a time picker however, it is in the 24hr clock format. Below are the codes I have used so far and a screenshot of the preview which work but again, I would like it to be in the 12hr clock format with the ability to select either AM/PM.
Header:
Solved
How do I add a time picker in a 12hr format with the ability to select AM/PM?
Best answer by rondev
Change capital H to small 'h', so the code is:
jQuery("#"+this.questionId+" .InputText").flatpickr({enableTime: true, noCalendar: true, dateFormat: "h:i K"});
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.