Regex for D.O.B limited to ages 10-18 | XM Community
Skip to main content
Solved

Regex for D.O.B limited to ages 10-18

  • December 18, 2018
  • 1 reply
  • 29 views

I need a regex that will only allow the participant to enter their date of birth (mm/dd/yyyy) thats equivalent to the ages between 10-18 years old. Thanks

Best answer by TomG

You can't do this with regex. You have have use JavaScript. Check this thread: https://www.qualtrics.com/community/discussion/comment/6695#Comment_6695

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • December 18, 2018
You can't do this with regex. You have have use JavaScript. Check this thread: https://www.qualtrics.com/community/discussion/comment/6695#Comment_6695