When I use the datepicker on the frontend in my form, I receive the following error:
"Uncaught TypeError: Object [object Object] has no method 'zIndex' "
As a workaround, I modified the core file form_display.php at line 1510 and commented out the following line :
//wp_enqueue_script("gforms_datepicker", GFCommon::get_base_url() . "/js/datepicker.js", array("jquery-ui-datepicker"), GFCommon::$version, true);
and replaced it with the following code to load GF's own verison of the datepicker script.
wp_register_script('gforms_ui_datepicker', GFCommon::get_base_url() . '/js/jquery-ui/ui.datepicker.js', array('jquery'), GFCommon::$version );
This fixed the problem, for now, but I do not want to leave the code hacked. Can you suggest a better solution please?
Here is a screencast of the problem for more info: http://screencast.com/t/KewvOldDPdmk