Continue using the legacy jQuery UI Datepicker

Hello,

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?

Thank you.

The only solution so far has been to downgrade to version 2.10.5, with which the data picker continues to work correctly.

I’m having a similar problem, and support hasn’t been able to help me. The only way to get the data picker working is by downgrading.

Good luck with the solution.

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.

https://www.gravityforms.com/open-support-ticket/technical/

Thank you.