Solved
Display an answer option after specific date
Hi there,
I want to display a option after 7 dec and one more option should be shown between 7 oct to 10 oct.
I am not sure If I have to create an embedded variable or do this using javascript.
Thanks
Best answer by TomG
https://www.qualtrics.com/community/discussion/comment/28879#Comment_28879You can pipe the date directly into the first question in the appropriate format (e.g., ${date://CurrentDate/Y%2Fm%2Fd})
You could also pipe the date into the DateNow embedded field in the survey flow prior to the first question block:
DateNow = ${date://CurrentDate/Y%2Fm%2Fd}
Then pipe ${e://Field/DateNow} into your question text.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

For example, for my test I use this date: ${date://CurrentDate/c} which corresponds to the date in format: 2019-09-04T09:45:23+03:00
Then I put a question and display logic to show the question if the embedded data field value is less than yesterday. In this case I don't see the question
!
If I put the date is less than tomorrow, I see the question when taking the survey
!
With the same logic you can have date ranges when a question would be appearing
then I added a display logic to the answer option
!
I changed the logic (greater than and less than) to see if it's working or not. But it doesn't work for me.
Can you please have a look?
Then I made the modifications accordingly.
Just to see how it displays:
!
Now applying the logic on the question:
!
It doesn't work for some reason
I tried this as well and other formats as well, it still doesn't work for some reason.


