Joomla 6 Notice

We are pleased to announce that all our Joomla extensions have been compatible with Joomla 6 since October 14th, 2025.

For those currently upgrading from Joomla 3 to 4: Instructions for Joomla 4 migration can be found here:

There are standalone documentations Visforms Joomla 4, Visforms Joomla 5 and Visforms Joomla 6.

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

URL öffnen bei Checkboxgruppe

More
5 days 13 minutes ago #12554 by cwesp
Replied by cwesp on topic URL öffnen bei Checkboxgruppe
Hallo Aicha

Danke der Antwort, das mit dem Selektor verstehe ich nicht :-( Das mit dem radiobutton ist mittlerweile klar. Ich habe dazwichen mit radiobutton versucht anstatt checkbox. Daher wohl auch der flasche Code. 

Hier der Code von ChatGPT:

jQuery(document).ready(function () {

    jQuery('.mitgliedschaft-link input[type="checkbox"]').on('change', function () {

        if (jQuery(this).is(':checked')) {

            window.open(
                ' www.tvbirsfelden.ch/verein?view=article&...d-verwaltung&catid=2 ',
                '_blank'
            );

        }

    });

});

Christoph

More
4 days 13 hours ago - 3 days 14 hours ago #12555 by Administrator IV
Replied by Administrator IV on topic URL öffnen bei Checkboxgruppe
Hallo Christoph,

Danke für den Code in Text-Form.

Zitate:
Z1 - von ChatGTP geliefert: .mitgliedschaft-link input[type="checkbox"]
Z2 - Am einfachsten wäre es diese ID im Selector zu verwenden: jQuery('#field1_0').on('change', function () {...}

Voraussichtliche und wahrscheinliche Lösung:
Code:
jQuery(document).ready(function () {     jQuery('#field1_0').on('change', function () {         if (jQuery(this).is(':checked')) {             window.open('www.tvbirsfelden.ch/verein?view=article&...d-verwaltung&catid=2', '_blank');         }     }); });


Wobei gilt und sichergestellt werden muss:
- in '#field1_0' ist '1' die Feld-ID der Checkbox.

Fragen:
F1 - Welche Feld-ID hat das Checkbox-Feld in der Feld-Liste des Formulars?
F2 - Gibt es für uns hier einen Link zum Formular zur Prüfung?

Liebe Grüße, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).
Last edit: 3 days 14 hours ago by Administrator IV.

More
4 days 10 hours ago #12556 by cwesp
Replied by cwesp on topic URL öffnen bei Checkboxgruppe
Hallo Ingmar

F1 - Welche Feld-ID hat das Checkbox-Feld in der Feld-Liste des Formulars?
= ID 508

F2 - Gibt es für uns hier einen Link zum Formular zur Prüfung?
www.tvbirsfelden.ch/verein/revival-legenden  
Es handlet sich um die Passivmitgliedschaft 2. Passivmitgliedschaft 1 Plan B

Ich kann Euch auch Zugang zum Backend geben. Natürlich ausserhalb diesem Thread :-)

Gruss
Christoph
 

More
3 days 14 hours ago - 3 days 14 hours ago #12557 by Administrator IV
Replied by Administrator IV on topic URL öffnen bei Checkboxgruppe
Hallo Christoph,

Danke für die Feld-ID und den Link zum Formular.
Zunächst erstmal das Folgende.

Das HTML-Element der 2. Option der Checkbox-Gruppe (Ich werde TVB-Passiv-Mitglied):
Code:
<input id="field508_1" ...>


Wahrscheinliche JavaScript-Lösung:
Code:
jQuery(document).ready(function () {   jQuery('#field508_1').on('change', function () {     if (jQuery(this).is(':checked')) {       window.open(         'https://www.tvbirsfelden.ch/verein?view=article&id=488:verein-mitgliedschaftsantraege-und-verwaltung&catid=2',         '_blank');     }   }); });


Wobei in #field508_1 gilt:
- 508 ist die Feld-ID der Checkbox-Gruppe.
- 1 ist die Feld-ID der 2. Option der Checkbox-Gruppe, da die Nummerierung mit 0 beginnt.

Frage:
F3 - Funktioniert der obige JavaScript-Code mit jQuery('#field508_1') bei dir?
Momentan hast du deinen alten ursprünglichen JavaScript-Code für Radio-Button mit jQuery('.mitgliedschaft-link input[type="radiobutton"]') in den FEWAs des Formulars stehen.

Liebe Grüße, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).
Last edit: 3 days 14 hours ago by Administrator IV.

More
2 days 10 hours ago #12559 by cwesp
Replied by cwesp on topic URL öffnen bei Checkboxgruppe
Hallo Ingmar

super, es funktioniert, sehr cool. Vielen, vielen Dank. 

Jetzt werde ich mich mal, wenn Zeit vorhanden, mich dem annehmen und alles studieren. Hoffentlich check ich dann die Logik und kann beim nächsten Mal davon lernen.

Ich habe die Seite nun wieder nur mit Login eingestellt. Das ganze ist noch nicht fertig und wird erst noch publiziert..

Danke und Gruss
Christoph

More
2 days 9 hours ago #12560 by Administrator IV
Replied by Administrator IV on topic URL öffnen bei Checkboxgruppe
Hallo Christoph,

Danke für dein Feedback und ich freue mich über den Erfolg.

Zu: dem annehmen und alles studieren.
Es lohnt sich, ist mit dem modernen JavaScript sogar recht einfach und super leistungsfähig.
Spaß macht es auch. 

Liebe Grüße, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum