Joomla 5 Notice

We are pleased to announce that as of October 14, 2025, all of our Joomla extensions are compatible with Joomla 6.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5 and 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?

Custom Field Problem

More
9 years 3 weeks ago #3704 by fede491
Custom Field Problem was created by fede491
Hi Aicha,
I'm using Visforms version 3.8.9 and I’m using the custom field extension, but I have a problem:
If I use this formula:

([FATTURATO] >= 50000) ? ([FATTURATO]*0.012) : 0

everything works fine

but I use this:

([FATTURATO] <= 50000) ? ([FATTURATO]*0.012) : 0

after saving, the text is modified in this way

([FATTURATO] FATTURATO]*0.012) : 0

and of course the calculation does not work I’ve the same problem although I use only the less than sign (<)

This is very strange for me...

More
9 years 3 weeks ago - 9 years 3 weeks ago #3705 by Administrator AV
Replied by Administrator AV on topic Custom Field Problem
Hi,

thanks for the post.
I will check into this as soon as possible.
As the greater sign seem to work, maybe as a workaround you can just switch the order.

(50000 > [FATTURATO])

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).
Last edit: 9 years 3 weeks ago by Administrator AV.

More
9 years 3 weeks ago #3706 by Administrator AV
Replied by Administrator AV on topic Custom Field Problem
Hi,

I was able to reproduce the problem and to figure where it comes form.
It is easy to fix.
Please open the file administrator/components/com_visforms/models/forms/visfield.xml

At line 707 - 709 you find the following code
Code:
<field name="f_calculation_equation" type="textarea" label="COM_VISFORMS_CALCULATION_EQUATION" description="COM_VISFORMS_CALCULATION_EQUATION_DESC" class="inputbox" rows="5" />

replace it with
Code:
<field name="f_calculation_equation" type="textarea" label="COM_VISFORMS_CALCULATION_EQUATION" description="COM_VISFORMS_CALCULATION_EQUATION_DESC" class="inputbox" rows="5" filter="raw" />

I will add the fix to the Visforms core, so that it will be release with the next version.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
9 years 1 week ago #3758 by fede491
Replied by fede491 on topic Custom Field Problem
Thank you!!!

More
9 years 1 week ago #3760 by Administrator AV
Replied by Administrator AV on topic Custom Field Problem
You're very welcome and I have to thank you for pointing me to a bug in Visforms!

Kind Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum