Joomla 5 Mitteilung

Wir freuen uns mitteilen zu können, dass seit dem 29. Januar 2024 alle unsere Joomla Erweiterungen mit Joomla 5 kompatible sind.

Für alle die gerade noch von Joomla 3 auf 4 aktualisieren: Anleitungen für die Joomla 4 Migration gibt es hier:

Es gibt nun auch eine eigenständige Dokumentation für Visforms für Joomla 4 und für Visforms auf Joomla 5

Forum

Visforms Subscription Inhaber können in unserem Forum Fragen stellen. Bitte mit dem entsprechenden Benutzer anmelden.
Jeder kann lesend auf das Forum zugreifen.

Bitte stellen Sie nur 1 Frage pro Thema.

Wichtig Angaben für fast jede Frage:
V1: Welche Visforms-Version läuft?
V2: Welche Joomla-Version läuft?
V3: Welche PHP-Version läuft?

conditional logic fields do not show

Mehr
1 Woche 6 Tage her #11130 von Fdeus
conditional logic fields do not show wurde erstellt von Fdeus
Hi, there,
I'm new to VISforms. I just started a new form trying different kinds of fields and different functions. It seems that conditional logic does not work at all. With Firebug I see the following

jQuery.Deferred exception: jQuery(...).displayChanger is not a function TypeError: jQuery(...).displayChanger is not a function at HTMLDocument.<anonymous> ( www.foreigndocumentsexpress.com/media/co...76a4d88d9c3aa:844:22 ) at e ( www.foreigndocumentsexpress.com/media/ve...min.js?3.7.1:2:27028 ) at t ( www.foreigndocumentsexpress.com/media/ve...min.js?3.7.1:2:27330 ) undefined

Here is the link to the page:  Project - U.S. Apostille Services  In the form, when the option"Albania" is chosen, the second field "Goal" should appear. It does not.

Thank you for your kind attention.
Elena

Mehr
1 Woche 4 Tage her #11131 von Administrator IV
Administrator IV antwortete auf conditional logic fields do not show
Hello Elena,

Thank you for the link to the affected page.

The JavaScript library jQuery is integrated twice on your page.
jQuery may only be loaded once on the page.
Loading jQuery the second time causes errors and missing functions.

The situation:

First loading of jQuery:

Through Visforms in the head tag, in the Joomla-compliant manner:
<script src="/media/vendor/jquery/js/jquery.min.js?3.7.1"></script>

If integrated via this central Joomla core function, Joomla ensures that jQuery is only loaded once.
No matter how many extensions are loaded in total.
Joomla provides this functionality to the extensions.

Second loading of jQuery:

Very late and almost at the very bottom of the page, probably directly through the code of another extension. Not at the very bottom of the page, but just before the closing head tag:
<script src="/media/vendor/jquery/js/jquery.min.js"></script>

But if the extension directly includes the jQuery, bypassing the central Joomla functionality, there is no check to see if the jQuery is already loaded.
I suspect that it directly includes the extension 'com_baforms' itself in this way.

I can't see it with absolute certainty.
But the 2nd call is between the CSS link for the extension 'com_baforms' and a JavaScript link for the extension 'com_baforms'.
This strongly suggests that the extension 'com_baforms' is also loading the second and incorrectly included jQuery.

The solution:
You have to deactivate the extension that loads jQuery a second time in a non-Joomla-compliant way.
Most likely it is the extension 'com_baforms'.


Best regards, Ingmar

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

Mehr
1 Woche 4 Tage her #11136 von Fdeus
Dear Ingmar,

Thank you very much. I removed the baform from this page and everything seems to be working smoothly.
Thank you again for your concise explanation and timely response.
Sincerely,
Elena

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum