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

changing the year values to 1860-2010

  • September 12, 2019
  • 3 replies
  • 178 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

JeremyK
Level 3 ●●●
Forum|alt.badge.img+7
  • Level 3 ●●●
  • 209 replies
  • September 13, 2019
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/

bstrahin
Level 6 ●●●●●●
Forum|alt.badge.img+38
  • Level 6 ●●●●●●
  • 639 replies
  • September 13, 2019
@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.

  • Author
  • 1 reply
  • September 13, 2019
@bstrahin Yes, exactly. I was able to change the JS for 2010 for not for 1860.

Leave a Reply