Adding a button to enter the current date or time? | XM Community
Skip to main content

Newbie here. I want to create survey which would be used for data entry. Users will enter the date and time they start entering a case. I'd like to help them by adding a button they can click to fill the current time, but I don't necessarily want to automatically pre-fill the current date and time. That's partially because I don't want people to have to erase data to enter data (in those cases that the correct entry is not the current date/time) and partly because (in my limited experience) going into a survey form that has the current date piped in results in the original data being overwritten with the new date.
I used to know how to do this kind of thing when I designed Access forms. I'm assuming it can be done in Qualtrics?
TIA,
-Scott

Mcknigs - You can do this with JavaScript. I recommend using flatpickr to add a date picker to the input field. There are a number of posts about flatpickr if you search the Community.


https://www.qualtrics.com/community/discussion/comment/26381#Comment_26381Thanks for the response. I've done no Javascript programming in Qualtrics or elsewhere. So far I've just been using the free account to get my feet wet. It appears that I can't use Javascript with a free account. I'll get access to the company's upgraded account eventually, and try to learn how to do this.

Thanks,
-Scott


Mcknigs have you found a solution for the same?
i am trying to do something similar and have no experience with java script


Leave a Reply