how to change date format into YYYY format in Text Entry question? | XM Community
Skip to main content

Hello
In a "Text entry" question How do I change date format such way that enable typing 4 characters of birth into YYYY ?(without using DD or MM) . could not find this kind possibility at the "content type" default possibilities.
Thanks'
🙂

You can use the number validation, min value ~ 1900, max = 2021, decimals =0
Or you could use custom validation, matches regex

^(19|20)\\d{2}$



THANK'S!


Leave a Reply