Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: form data preview page – Textfield #35581
    brandworker
    Participant

    Very big thank you!!!

    in reply to: Field for request code with restrictions #35542
    brandworker
    Participant

    Big thanks !!!!

    in reply to: Different periods depending on the day of the week #35364
    brandworker
    Participant
      jQuery(function ($) {
        var datepicker = $('.quform-field-1_4').data('kendoDatePicker'),
            timepicker = $('.quform-field-1_5').data('kendoTimePicker');
    
        if (window.kendo && datepicker && timepicker) {
            datepicker.setOptions({
                change: function () {
                    var date = datepicker.value();
    
                    if (date) {
                        var dayOfWeek = date.getDay(),
                            times = [];
    
                        if (dayOfWeek === 0) { // Sun
                             times = [
                                '10:00', '10:30', '11:00', '11:30', '12:00', '12:30', '13:00',
                                '13:30', '14:00', '14:30', '15:00', '15:30', '16:00', '16:30', 
                                '17:00', '17:30', '18:00', '18:30', '19:00', '19:30', '20:00',
                                '20:30', '21:00'
                            ];
                        } else if (dayOfWeek === 1) { // Mon
                            times = [
                                '17:00', '17:30', '18:00', '18:30', '19:00', '19:30', '20:00',
                                '20:30', '21:00', '21:30', '22:00'
                            ];
                        } else if (dayOfWeek === 2) { // Tue
                            times = [
                                '17:00', '17:30', '18:00', '18:30', '19:00', '19:30', '20:00',
                                '20:30', '21:00', '21:30', '22:00'
                            ];
                        } else if (dayOfWeek === 3) { // Wed
                            times = [
                                '17:00', '17:30', '18:00', '18:30', '19:00', '19:30', '20:00',
                                '20:30', '21:00', '21:30', '22:00'
                            ];
                        } else if (dayOfWeek === 4) { // Thu
                            times = [
                                '17:00', '17:30', '18:00', '18:30', '19:00', '19:30', '20:00',
                                '20:30', '21:00', '21:30', '22:00'
                            ];
                        } else if (dayOfWeek === 5) { // Fri
                            times = [
                                '16:00', '16:30', 
                                '17:00', '17:30', '18:00', '18:30', '19:00', '19:30', '20:00',
                                '20:30', '21:00', '21:30', '22:00', '22:30', '23:00', '23:30',
                                '00:00'
                            ];
                        } else if (dayOfWeek === 6) { // Sat
                             times = [
                                '12:00', '12:30', '13:00',
                                '13:30', '14:00', '14:30', '15:00', '15:30', '16:00', '16:30', 
                                '17:00', '17:30', '18:00', '18:30', '19:00', '19:30', '20:00',
                                '20:30', '21:00', '21:30', '22:00', '22:30', '23:00', '23:30',
                                '00:00'
                            ];
                        }
    
                        var dates = [],
                            i = 0,
                            length = times.length,
                            d;
    
                        for ( ; i < length; i++) {
                            d = kendo.parseDate(times[i]);
    
                            if (d instanceof Date) {
                                dates.push(d);
                            }
                        }
    
                        timepicker.setOptions({ dates: dates });
                    }
                }
            });
        }
    });   

    We are in Germany (German) 24 Hour

    in reply to: Different periods depending on the day of the week #35352
    brandworker
    Participant

    Hello thank you that worked well.

    But one more question. Is it possible that you can say if someone books today that the earliest time is only 2 hours later? This works but if I then select tomorrow or next week, it also takes the current time plus 2 hours and not the complete period of the selected day.

    in reply to: Option Field Image change on selection #35215
    brandworker
    Participant

    Perfect. Big Thank You!!!

    in reply to: Fields and Date zoom in on mobile #29878
    brandworker
    Participant

    We have it on Iphone X and Iphone XR.
    It’s not only in the Date Field, it’s also when we click in the Textfields (Name, Message etc)

    in reply to: Fields and Date zoom in on mobile #29865
    brandworker
    Participant

    the link:

    Kontakt


    click on “Kontakt & Anfrage” the fields name, Telefon etc
    or “Informationsgespräch vereinbaren” -> Informationsgespräch” then “Datum” field

Viewing 7 posts - 1 through 7 (of 7 total)
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy