Java or other to schedule appointments with date restriction | XM Community
Skip to main content
Solved

Java or other to schedule appointments with date restriction

  • June 2, 2019
  • 1 reply
  • 14 views

Forum|alt.badge.img+2
Hi, I am using a survey to schedule appointments but I want to keep respondents from scheduling anything sooner than 5 days in advance. I didn’t see a way to do this without custom code and don’t know how to code it myself sadly..

Best answer by Ronv

I tried using display logic and piped text to do this and it seems to be working. I inserted a new question that is only displayed if the date entered is less than five days from the date defined by the piped text ${date://OtherDate/m%2Fd%2FY/+5 day} My respondents are told in the message to go back and enter a later date. !

1 reply

Forum|alt.badge.img+2
  • Author
  • Answer
  • June 2, 2019
I tried using display logic and piped text to do this and it seems to be working. I inserted a new question that is only displayed if the date entered is less than five days from the date defined by the piped text ${date://OtherDate/m%2Fd%2FY/+5 day} My respondents are told in the message to go back and enter a later date. !