Skip to main content

I want to add a datepicker script for the Field - Date of Birth in my Forms.

We want Date of Birth in MM/DD/YYYY Format.


In addition to that if someone tries to enter the date manually & if it’s not in MM/DD/YYYY Format, there should be custom validation that warns user to add in that format

Are you able to access the HTML of your form fields? There’s a default field type called “date” which provides date picker functionality in MM/DD/YYYY format that also prevents users from entering invalid date formats.


You can use this by adding type="date" to the list of the input field’s attributes.


Reply