Restricting Date Range | XM Community
Skip to main content

I created an treatment intake interview survey in Qualtrics that asks for the day that the interview was completed. I know from other surveys I have done that people input the wrong date fairly frequently so I want to restrict the dates that can be entered so that no future dates can be entered.
Is there a way that can be added to the current JS I am using:
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">

Use flatpickr instead - it has an option to set a min and max date. There are lots of Community posts about it.


Leave a Reply