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.

Display calculation field after input all fields

Mehr
4 Jahre 6 Monate her #6321 von hooman52
Hi,
I have two fields of Date type. "From date" and " To date". and another field that calculates number of days between these to fields. when I enter a date for "From date" field, "Number of days" filed immediately displays -18198. after I enter date for " to date" it displays correct calculation.
I need to hide this wrong calculation (-18198) and force "Number of days" field to display result after both of dates are entered.
Let me ask you help to solve it.
Thanks.

Mehr
4 Jahre 6 Monate her #6322 von Administrator AV
Administrator AV antwortete auf Display calculation field after input all fields
Hi,

I'm sorry, but the calculation is always done instantanliously.
As soon as the value of any field, which is used in the calculation, is changed, the value of the field of type calculataion is recalculated.
There is no way to prevent this.

So the only possibility I can see is, that you set a default value for the date from and the date to field which is a number of days in the future relative to the current date. Maybe you can find "good" default values, so that the calculation looks good.

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