Have participants select dates from calendar options | XM Community
Skip to main content

We're hoping to have participants in our study sign up for study visits by selecting available dates on a calendar of some kind. Is there a straightforward way to do this on Qualtrics? I'd love for them to see a calendar (like Google calendar) and pick from the available times.
I'm guessing the not so elegant way to do this would be to create multiple choice options with all the available dates and just keep updating that item.

Hi sbgoldberg
Create a text entry question and insert the following HTML code into the HTML view of your question.
image.pngHTML CODE:
https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/calendar/assets/skins/sam/calendar.css" rel="stylesheet" type="text/css"/>">https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/yahoo-dom-event/yahoo-dom-event.js"> ">https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/calendar/calendar-min.js">

OUTPUT:
image.png


Great - thanks, omkarkewat! How do I populate the calendar with options? Or, are you suggesting we share a link to an external calendar (e.g., Google Calendar)?


sbgoldberg
flatpickr.js is a better, more modern data/time picker than the date picker built into the Qualtrics date question that omkarkewat mentioned. There are a number of Community posts about flatpickr. It has the option to enable or disable specific dates and set min/max dates
However, it seems you may want to schedule people for specific time slots and the number of people per time slot is limited. If that's the case you would probably be better off using a tool that is specifically designed for that purpose, such as Calendly, that you can use directly or integrate with your Qualtrics survey.


Thanks, TomG! We thought about Calendly too. The tricky part for us is that we can't have any HIPAA information stored outside of a HIPAA-compliant platform. So, have people let us know dates they are available avoids this while having them provide their info in Calendly doesn't. We'll take a look at flatpickr.js!


Leave a Reply