Calendar default to current date? | XM Community
Skip to main content
Solved

Calendar default to current date?

  • December 19, 2019
  • 1 reply
  • 729 views

Is there a way to create a survey question for "today's date" where it defaults the current date?

Best answer by Kate

There's a couple of steps you need to take, but yes! Easily. First you need to figure out what piping data code gives you the date you want. You can pull this by piping in a date and time. Keep that code handy. ! Create a field where people can type in information. And then create a content validation so that they have to enter a date. ! Then, on the question, set a default choice that is the piped field you pulled. ! ! The only thing to keep in mind is to make sure you're using the same formats. But there you are!

1 reply

Forum|alt.badge.img+19
  • Level 5 ●●●●●
  • Answer
  • December 19, 2019
There's a couple of steps you need to take, but yes! Easily. First you need to figure out what piping data code gives you the date you want. You can pull this by piping in a date and time. Keep that code handy. ! Create a field where people can type in information. And then create a content validation so that they have to enter a date. ! Then, on the question, set a default choice that is the piped field you pulled. ! ! The only thing to keep in mind is to make sure you're using the same formats. But there you are!