dimoss
Well-Known Member
Hi
I use the following regex validation in a field element:
/^(190[1-9]|220[0-9])-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/
The above works ok in F 1.5.x BUT in F 3.1.b gives error even if I fill in a correct date format like 1980-03-10
I tried this also but no luck..
/^(19|20)\d\d([- /.])(0[1-9]|1[012])\2(0[1-9]|[12][0-9]|3[01])$/
Thanks.
I use the following regex validation in a field element:
/^(190[1-9]|220[0-9])-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/
The above works ok in F 1.5.x BUT in F 3.1.b gives error even if I fill in a correct date format like 1980-03-10
I tried this also but no luck..
/^(19|20)\d\d([- /.])(0[1-9]|1[012])\2(0[1-9]|[12][0-9]|3[01])$/
Thanks.