Date Formatting Min Length | XM Community

Date Formatting Min Length

  • 16 September 2020
  • 0 replies
  • 22 views

Badge

I'm using Cleave.js to format date fields as such: MM/DD/YYYY or MM/YYYY or YYYY. However, I can go in and type 06/23/20 vs. 06/23/2020 or type in 1 number for YYYY to pass validation. How can I program a min length count without using Qualtrics Minimum Length feature. I'd also rather validation say "Please use the following format MM/DD/YYYY" vs. "Please use 10 characters". Thoughts?


0 replies

Be the first to reply!

Leave a Reply