change mindate or maxdate per date field…
-
nice to see things in dutch but when i try to change the mindate with this code:
jQuery(document).bind(‘gform_post_render’, function(){
// destroy default Gravity Form datepicker
jQuery(“#input_1_1”).datepicker(‘destroy’);
// create new custom datepicker
jQuery(“#input_1_1″).datepicker({ defaultDate: ‘+1d’, minDate: ‘+1d’, gotoCurrent: true, prevText: ”, showOn: ‘both’, buttonImage: ‘/wp-content/plugins/gravityforms/images/calendar.png’, buttonImageOnly: true });
});It wont work anymore !!!
is it possible to have multiple date fields that i can change the mindate and maxdate or noweekends all these kinds of stuff?
and would be great if this could be in the dutch datepicker….best regards,
johan verweij
- The topic ‘change mindate or maxdate per date field…’ is closed to new replies.