AllCheckbox = document.getElementById('{{ form.include_all.id_for_label }}');
        var specificLeaveGroup = document.getElementById('specific-leave-group');
        var excludeLeaveGroup = document.getElementById('exclude-leave-group');

        // Get the specific leave field (adjust the selector based on your actual form structure)
        var specificLeaveField = specificLeaveGroup.querySelector('input, select, textarea'); // Adjust if it's not an input, select, or textarea

        // Function to tog