Date Filter / Week Starts On
-
Hello,
I use filters that this plugin seems to ignore. The most important is changing the week to start on Sunday.
gform.addFilter( 'gform_datepicker_options_pre_init', function( optionsObj, formId, fieldId ) { optionsObj.firstDay = 0; return optionsObj; });
A secondary is no dates prior to today, less important.
gform.addFilter( 'gform_datepicker_options_pre_init', function( optionsObj, formId, fieldId ) { if ( fieldId == 5 ) { optionsObj.minDate = 0; } return optionsObj;
How can I achieve this with Gravitizer?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Date Filter / Week Starts On’ is closed to new replies.