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?

Aufgrund von Feiertagen und Urlaub ist bei Anfragen im Forum in der Zeit vom 20. Dezember 2024 bis zum 8.Januar 2025 mit verlängerten Antwortzeiten zu rechnen.

Conditional Fields do not work in a popup.

Mehr
2 Jahre 9 Monate her #7997 von sjb1963
Conditional Fields do not work in a popup. wurde erstellt von sjb1963
I have a menu item created to display the form.
I also have a popup set to display the very same form.

Conditional fields display properly on the page, but not the popup.

Not only do the conditional fields not work, but the form doesn't respect a significant portion of the custom code I had to write just to make a basic bootstrap 5 form display properly.

The popup ignores most of that completely. Select fields pop out of their containers and do not respect the field width settings.

Thanks for your help.
 

Mehr
2 Jahre 9 Monate her - 2 Jahre 9 Monate her #8002 von Administrator IV
Administrator IV antwortete auf Conditional Fields do not work in a popup.
Hello sjb1963,

this looks like custom coding resulting in JavaScript errors (conditional fields not working) and basic CSS incompatibilities (fields pop out of their containers).

First, a popup in HTML has many possible ways and a variety of different approaches to get implemented.
There are tools for this (e.g, part of the template or result of a widget kit) or you may even provide your very own JavaScript.
How should I know?

Second, a popup is no standard view mode for forms and is therefore not officially documented in any way.
As there exist so many and different tools and ways to create a popup, any official documentation does not make much sense.
Even one documented way of doing it, would not serve much of an auditorium out there.

Third - the good news, it is of course possible to have a form in a popup well functioning.
It requires decent development skills (JavaScript, CSS, HTML, employed UI framework), much experience and a good understanding of possible challenges.
Development in this context means core debugging (JavaScript, CSS, HTML) on the client side in the developer tools of one of the big web-browsers.

As to forms in Bootstrap 5 layout I have to state, that Visforms supports and renders clean in Bootstrap 5 and it works quite fine.
I have no idea what all might going on on your page.

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 :-).
Letzte Änderung: 2 Jahre 9 Monate her von Administrator IV.

Mehr
2 Jahre 9 Monate her - 2 Jahre 7 Monate her #8035 von Administrator AV
Administrator AV antwortete auf Conditional Fields do not work in a popup.
Hi,

thanks for providing a link to the website.

As far as I can see there is a problem with the error messages, which should be displayed, if a user does not provide proper data for the email field.In the Visforms default en-GB translation file in the message the @ in the example email address is escaped with a Unicode character.

This escaping is necessary, because of the Joomla feature of hiding/cloaking email addresses in order to prevent spammer to collect email addresses from websites.
If we would use a true @, the Joomla content plugin which cloaks email addresses would also cloak the email address example in our message, if a form is displayed inside an article or a module using the content plugin form view.

As far as I can see, you have modified the default messages/created custom validation messages which contain example email addresses with a true @.
I think, this is causing the problem.
These email addresses are cloaked by Joomla which breaks the JavaScript code.
Features, like the conditional display of fields, can only be managed with JavaScript and if the JavaScript code is broken, they cannot work.

Could you please try using @ instead of @

Regards,
Aicha

: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 :-).
Letzte Änderung: 2 Jahre 7 Monate her von Administrator IV.

Mehr
2 Jahre 8 Monate her #8072 von Administrator IV
Administrator IV antwortete auf Conditional Fields do not work in a popup.
Hi sjb1963,

the bug is fixed in the latest release from 05.04.2022 for Joomla 4:
Visforms 4.1.5
Visforms Subscription 4.1.3

You may now use the '@' sign directly in custom error message, default messages and alike.

Greetings, 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 :-).

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum