Change a datepicker after initialization in CRED.
jQuery(window).bind("cred_form_ready", function() { jQuery( ".js-wpt-date" ).datepicker( "option", "yearRange", "2002:2015" , ).datepicker( "option", "dateFormat", 'yy-M-dd' ).datepicker("setDate", 'November 24, 2017'); });
Let us know if this snippet is not working for you:
This snippet doesn’t work