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?

conditional logic fields do not show

More
1 year 1 month ago #11130 by 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

More
1 year 1 month ago #11131 by Administrator IV
Replied by Administrator IV on topic 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 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 :-).

More
1 year 1 month ago #11136 by Fdeus
Replied by Fdeus on topic conditional logic fields do not show
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

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum