Yes, there is.
First, download the attached script, and install it as a package using the instructions in this KnowledgeBase article:
Now create your textfield element. In the VALIDATION section, use the following settings:
Required: Should be CHECKED
Validation Type: Library
Error Message: Please enter date in format MM/DD/YYYY.
Click on SAVE PROPERTIES to save your changes to the text element, and then click on the SAVE icon in the upper right-hand corner to save the form itself.
Note: This will also work with the calendar date picker.
For this date validation script, in the FORMAT field of the Calendar element, set the format field to:
|Was this helpful? Yes No Print Pdf|