changing the year values to 1860-2010 | XM Community
Question

changing the year values to 1860-2010

  • 12 September 2019
  • 3 replies
  • 83 views

I am using the Qualtrics library/Demographics/Calendar & Date Questions/select a date with the drop down menu question in the survey but I want to change the year options to 1860 to 2010 (rather than 1900-2049. When I change the JS values nothing happens. What am I doing wrong? Is there a way to have a date drop down question with 1860-2010 range for the year variable?

3 replies

Userlevel 5
Badge +7
TomG suggested using flatpickr as a replacement for Qualtrics' built-in Date solution. I implemented it in a survey not long after that and was really happy with the result as well as the granular options it gave me. You can specify whatever date range you want and I believe you can specify only the year to show, but don't quote me on that one.

Original post: https://www.qualtrics.com/community/discussion/comment/16566#Comment_16566

Link to their website: https://flatpickr.js.org/
Userlevel 7
Badge +38
@zeynsom it looks like you can update the ranges but skimming through the code those date ranges have to be between 1900-2049. So if you publish you should see that the max for 2010 works but you can't get it to go back to 1860.
@bstrahin Yes, exactly. I was able to change the JS for 2010 for not for 1860.

Leave a Reply