I want to introduce a date picker question but having issues doing so | XM Community
Skip to main content

Hi,
I am trying to introduce a date picker question by selecting it from import library and then demographics but cannot find it in there please see below.
Demographics.pngDemographics_2.pngI have also tried to introduce a code to the question and I get the error:
JavaScript is not allowed in question text.
Any help would be greatly appreciated!
Thank you,
Yamina

You should use flatpickr instead. There are many Community post about it, such as this.


Hi Tom,
I hope you are well. thank you for this, however when I try it I get an error message saying: JavaScript is not allowed in question text.
I am not sure if it's a rights issue I did flag this to Qualtrics too.
Thank you,
Yamina


Instead of putting JavaScript in the Question Text, click on Add JavaScript (on the left) and put it inside the addOnload function. If you don't have 'Add JavaScript' then it is a rights issue.


Leave a Reply