I’m Using the front-end version of my forms to gather data and create new posts but im running into an issue with the date-picker when inside a modal.
The date-picker appears but the field won’t get updated once you pick your date (it will be left blank), The field only updates after you close and open again the modal, which is a very odd behavior, how can I fix this?
In case someone is having this issue and wants to fix this, you need to load the form through ajax once you open your modal, as otherwise the script wont generate the fields required for some of the functionality to work.
You can refer to this here:
http://www.advancedcustomfields.com/resources/acf_form/
Thanks to James Stout from the Advanced Custom Fields support, this is a quality product.