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

Calendar default to current date?

  • Dec 19, 2019 12:20 AM UTC
  • 1 reply
  • 826 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!
View original

1 reply

Forum|alt.badge.img+19
  • Level 5 ●●●●●
  • Answer
  • Dec 19, 2019 2:48 PM UTC
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!