Date Formatting Min Length | XM Community
Skip to main content

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?

Be the first to reply!

Leave a Reply