Support » Plugin: Gravitizer - Material UI Styler for Gravity Forms » 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)
  • Plugin Author Mehbub Rashid

    (@mehbubrashid)

    This is Gravitizer lite support thread and gravitizer lite doesnt support datepicker to be convert into material ui…its a pro version feature. So, i think there is no chance to modify any filter related to datepicker..because it simply doesn’t exist in this free version..Are you using pro version?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.