on);
                    });
                    return true;
                } else {
                    select.innerHTML = '<option value="">Error loading connectors</option>';
                    return false;
                }
            })
            .catch(error => {
                console.error('Error loading connectors:', error);
                select.innerHTML = '<option value="">Error loading connectors</option>';
                return false;
            });
    }

    // Form Submission Han