Is there a way to continue using the legacy jQuery UI Datepicker instead of the new WhatSock Datepicker? The recent update broke my forms.
With the jQuery UI Datepicker, I was able to add a callback to optionsObj.onSelect. That callback sent an AJAX request to the backend, and I used the returned data to populate a select field.
It appears that there is no equivalent option available in the new date picker. Is there an alternative way to achieve the same result, or is there a way to temporarily switch back to the previous implementation?
Hi digimark. Switching back to the old jQuery datepicker is not an option.
There is no .datepicker( ‘option’ … ) equivalent in Gravity Forms 3.0+, so pushing a changed option to an already rendered datepicker is not supported. gform/datepicker/pre_init accepts a configure callback which runs every time the calendar is opened, not just at init, so you should be able to use that instead.
If you need help with a specific datepicker option, I recommend opening a support ticket.