How do I change the Date Format in Elementor Forms?

Elementor does not provide us a way to update the dateformat of the Elementor Form date field (see here page for reference)

The jQuery code that best works for me is :

 

This way, I can set the date format to dd/mm/yyyy. For more date formats, please look here

Elementor also tends to add extra pattern check on date field that needs it to be yyyy/mm/dd. With this HTML will keep throwing error and will not let user submit the form. To remove it I have added the second line to remove the attribute.

Now it works perfectly.

Leave a Reply

Your email address will not be published. Required fields are marked *