Mitglied werden
Beitrittsformular
let showThisFieldIf = {
conditional_html_field_aktive_Mitgliedschaft: {
conditional_radio_trigger: [1],
},
conditional_html_field_inaktive_Mitgliedschaft: {
conditional_radio_trigger: [2],
},
}
/* Code from https://element.how/elementor-pro-add-conditional-form-fields/
* You are allowed to use on your website and your clients websites
* No sale or redistribution without permission
* Copyright 2023 by Element.how
* Version 1.1 2023/03/15
*/
document.addEventListener('DOMContentLoaded', conditionalFormFieldFunc);
jQuery(document).on('elementor/popup/show', (event, id, instance) => {
conditionalFormFieldFunc();
});
function conditionalFormFieldFunc() {
function testLogic() {
for (const [conditionalInputID, condition] of Object.entries(showThisFieldIf)) {
let conditionalInput = setInputsElemArray(conditionalInputID);
let match = true;
for (const [conditionID, conditionValues] of Object.entries(condition)) {
let inputs = setInputsElemArray(conditionID);
let selectedInputs = [];
inputs.forEach((input, i) => { if (input.checked) { selectedInputs.push(i); } });
if (inputs[0].tagName == 'SELECT') {
selectedInputs.push(inputs[0].selectedIndex);
}
let adjustedConditionValues = conditionValues.map(e => e - 1);
if (!(adjustedConditionValues.every(condition => selectedInputs.indexOf(condition) > -1))) {
match = false;
}
};
if (match) {
conditionalInput.forEach(e => e.closest('.elementor-field-group').style.display = "block")
} else {
conditionalInput.forEach(e => e.closest('.elementor-field-group').style.display = "none")
}
}
}
testLogic();
/* Add event listeners */
for (const [conditionalInputID, condition] of Object.entries(showThisFieldIf)) {
for (const [conditionID, conditionValues] of Object.entries(condition)) {
let inputs = setInputsElemArray(conditionID);
inputs.forEach(input => {
input.addEventListener('input', function () {
testLogic();
})
})
}
}
function setInputsElemArray(ID) {
let selectors = `[name="form_fields[${ID}]"]`;
let inputs = Array.from(document.querySelectorAll(selectors));
if (!inputs.length) {
selectors = `[name="form_fields[${ID}][]"]`;
inputs = Array.from(document.querySelectorAll(selectors));
}
return inputs;
}
};
1. Vorsitzender & Präsident
Marcel Müller
Frankenstraße 6
53913 Swisttal
Tel. 0172 8428311
2. Vorsitzender
Simon Kumar
Michelbergstr. 7
53913 Swisttal
Tel. 0177 6746678
1. Kassierer
Lars Außem
In der Freiheit 20
53913 Swisttal
Tel. 0157 53675524
1. Schriftführer
Mirko Haybach
Dreeser Weg 1a
53913 Swisttal
Tel 0160 7747211
Bankverbindung
VR-Bank Bonn Rhein-Sieg eG
IBAN: DE58 3706 9520 0078 0810 15
BIC: GENODED1RST
Email: Vorstand@JGV-Odendorf.de
www.facebook.com/jgv.odendorf
Events
VORVERKAUF „KÖLSCHE NACHT 2024“
BEGINNT AB DEM 01.06.2024
Datum: 18.10.2024
Einlass: ab 18:00 Uhr
Location: Am Zehnthof – Odendorf
LIVE-ACTS:
- Mo-Torres
- Domstürmer
- Rabaue
- Knallblech
- Magic Girls

Kölsche Nacht
Fr. 18.10.2024