Pie Fundraising Apply

"*" indicates required fields

MM slash DD slash YYYY
MM slash DD slash YYYY
MM slash DD slash YYYY
This field is for validation purposes and should be left unchanged.

(function($) { $(document).ready(function() { if(typeof gform !== 'undefined'){ gform.addFilter( 'gform_datepicker_options_pre_init', function( optionsObj, formId, fieldId ) { if ( formId == 15 && fieldId == 6 ) { let newMin = new Date(); newMin.setDate(newMin.getDate() + 2 * 7); optionsObj.minDate = newMin } return optionsObj; }); } let fundStart = $(".fund_start input"); let fundEnd = $(".fund_end input"); let pickup = $(".pickup_date input"); fundStart.on('change', function (){ if(fundStart.val()){ fundEnd .datepicker('destroy') .datepicker({ minDate: new Date(fundStart.val()), // min start date dateFormat: "mm/dd/yy", changeYear: true, changeMonth: true, }); } }) }); })(jQuery);