Support

Account

Home Forums Front-end Issues disableTimeRange ACF Timepicker not working? Reply To: disableTimeRange ACF Timepicker not working?

  • I just found the correct answer
    <script type=”text/javascript”>
    (function($) {
    acf.add_filter(‘time_picker_args’, function( args, $field ){
    args.hourMin= 7;
    args.hourMax= 22;
    args.stepMinute = 15;
    args[‘showSecond’] = false;
    return args;
    });

    })(jQuery);

    </script>

    on this site all the args name for timepicker are listed
    https://trentrichardson.com/examples/timepicker/