Avatar

Level 4

Hi folks,

     Back after long time to the forums, where I get answers which are helpful in making me good at utilizing designer.

     I am trying to validate the "Date/Time Field" using JavaScript but couldn't get a proper RegEx expression for various invalid user input formats. If anyone can help me out in finding a proper script that would Great.

     My script grown bigger and bigger to accepting invalid dates, but felt like hardcoding. So, instead I decided why can't we prevent a user to enter data into "Date/Time Field" and use only calendar dropdown. Is there is a way to do this?

find my sample testing docment

https://acrobat.com/#d=mYXkrhO2txuEesCfmvxNXg

Thanks in Advance,

Rajesh