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.

Test and calculation

Mehr
6 Jahre 9 Monate her - 6 Jahre 9 Monate her #4531 von GABI77
GABI77 antwortete auf Test and calculation
Thank you for your anwer, but I have same problem (see the picture)

[img


field ASSURANCE

[img
Letzte Änderung: 6 Jahre 9 Monate her von GABI77.

Mehr
6 Jahre 9 Monate her #4532 von Administrator AV
Administrator AV antwortete auf Test and calculation
Have you changed the field type of the field ASSURANCE to select (listbox)?
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
6 Jahre 9 Monate her - 6 Jahre 9 Monate her #4533 von GABI77
GABI77 antwortete auf Test and calculation
It is the same result with multicheckbox or radio. It's work correctly with checkbox, but I need 2 choises.
Letzte Änderung: 6 Jahre 9 Monate her von GABI77.

Mehr
6 Jahre 9 Monate her #4534 von Administrator AV
Administrator AV antwortete auf Test and calculation
You have to use the field type SELECT (=LISTBOX)! Not Radio, not Multicheckbox!

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
6 Jahre 9 Monate her - 6 Jahre 9 Monate her #4535 von GABI77
GABI77 antwortete auf Test and calculation
Yes :) Thank you it's working now (difficult to transate in french)

I have an other question (if it possible)

So I have field (type select) with 3 options (field ASSURANCE)
- Value 0 (Pas d'assurance)
- Value 1 (Responsabilité civile)
- Value 2 (Tous risques)

And I would like calculate an amount like that
([ASSURANCE]==0) ? 0:(([ASSURANCE]==1) ? 10:20)

It doesnt work :( can you tel me the correct solution ?

Thank you for your help.
Letzte Änderung: 6 Jahre 9 Monate her von GABI77.

Mehr
6 Jahre 9 Monate her #4536 von Administrator AV
Administrator AV antwortete auf Test and calculation
Hi,

any field that is used in a calculation must have a NUMERIC DEFAULT VALUE, when the form is displayed and the user has not yet made any inputs.
So you must make one of the options for the field ASSURANCE the default option, which is preselected, when the form is displayed.
Just check the box "Default" for one of the options which you have created, for example the "Pas d'assurance" option.
I have tested your formula and it is working, if I set up the ASSURANCE field as described above.

If you do not make one of the three options in field ASSURANCE the default option (which is selected by default), the field will start with an empty value and that causes your calculation to "crash".

If you need something like "Choose a value" for the ASSURANCE field, then you have to create a forth option.
Please note, that each option of a listbox must have a unique value, so a forth option must not have a value of 0, 1 or 2!

Please make sure, that the field ASSURANCE is required, too. Check the box "Required" in the field configuration.

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