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.

issue in calculation field with multiple selcet field

Mehr
4 Jahre 6 Monate her #6951 von hooman52
Hi,
I'm trying do make a form with some select type fields and I total amount field as a calculation.
I need user select a services category from a selection field. based on this selection, another selection displayed in form for selecting an Item form services list. then total amount calculate and display price of Items that would be selected by user.
All works fine except when I try to allow multiple selection. when I do one of service selection multiple, total amount doesn't work. also conditional field does not work too. Let me give you live test site and you will try it in front end:
1- go to leyla-yeni.tk
2- change language to EN
3- go to online services -> E-commerce. and you will see the form.
4- go to step-2 ( services) . select service 1. you will see another selection field for Items. select one item and you wil see total amount will display correct price.
5- from first selection try to select service 2 and do the same.
in these steps form works fine. and no issue.
6- now try to select service 3. you will see a multiple selection. when you try to select some items, total amount doesn't display anything.
7- now try to select service 1 from first selection. and you will see that form doesn't hide service 3 selection.
I hope you will find a solution and help me to solve this issue.
Thanks

Mehr
4 Jahre 6 Monate her #6953 von Administrator AV
Hi,

using fields of type select with the option mulitselect enabled is not supported in calculations.

If you do enable mulitselect on a select field, which is used in a calculation, this will cause a Javascript error.
It is this error, which is then responsible for the "not working" of the conditional fields as well.
So this is just a follow up error of the invalide use of a mulitselection field in the calculation.

Multiselection and conditional fields do work properly.

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

Mehr
4 Jahre 6 Monate her #6954 von hooman52
Hi,
Is it possible to use checkbox with multiple choice selection or not?
Also I need to know do you plan to add this functionality for calculation field or not? I mean support for multi selection.
May be we want to try to solve it, et me know this issue is caused only by Javascript side? I mean is it possible to solve only by changing javascript or not?
thanks

Mehr
4 Jahre 6 Monate her #6955 von Administrator AV
Hi,

the field type checkbox group cannot be used in calculations.
Basically it is the same reason as with multi select listboxes.

If you have a multi selection, you get more than one value, with which you would have to replace the placeholder in the formula. How should the formular handle such a situation? Basically this would require, to provide a complete new syntax for the placeholder replacement, which is way to complicated. There is no intention, to implement this.

You could try to use a separate field of type checkbox for each option.
Than you have a different placeholder for each option and can define, how to handle multiple selections inside your equation properly.

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

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum