Is there any way allow a date and timepicker in a form question type please?
I think there could be a way using Javascript or Flatpickr but I am still lost looking at the documentation as I’m not technically trained.
Solved
Adding Calendar and Time picker to Form Question type
Best answer by TomG
You can do just the first field like this:
Qualtrics.SurveyEngine.addOnload(function() {
this.getQuestionContainer().querySelectorAll("input[type=text]")[0].setAttribute("type","datetime-local");
});
As for adding a drop-down, that is more complicated. I have a function that does it, but I haven’t yet updated it to work with “New Experience”.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.