Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

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

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

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?

Simple calculations - Solved

More
3 years 9 months ago #7202 by angelsweb
Simple calculations was created by angelsweb
Hello,
some time ago I prepared a form with some simple calculations of addition subtraction and months remaining at a fixed date. Initially, everything worked, but not anymore. I keep everything updated Joomla, Visform..
Any idea how to solve the problem?
Thanks
Angelo

More
3 years 9 months ago #7207 by Administrator AV
Replied by Administrator AV on topic Simple calculations
Hi Angelo,
"it does not work anymore" and "I keep everything updated" is sadly not very specific.
What exactly is not working any more.
Is there maybe a Javascript error on the page?
Did you make changes to the form?
Did you make changes to your overall Joomla! System and if yes, which?
I think, that is where you should start to look for a solution.
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 :-).

More
3 years 9 months ago - 3 years 9 months ago #7212 by angelsweb
Replied by angelsweb on topic Simple calculations
Hello Aicha, I don't remember all the changes made... so I have prepared a simple form to test: n1, n2, tot with the formula [N1]+[N2] and unfortunately it does not work, it does not add up, no error is displayed.
Thanks
Regards
Angelo


System info:
Setting Value

Active PHP on Linux fisher 4.14.117-grsec-grsec+ #1 SMP Fri May 10 17:15:47 PDT 2019 x86_64
Database type: mysql
Database version 5.7.29-log
Database collation utf8mb4_general_ci
Database connection collation utf8mb4_general_ci
PHP version 7.3.26
Apache Web Server
WebServer PHP interface cgi-fcgi
Version Joomla! Joomla! 3.9.24 Stable [ Amani ] 12-January-2021 15:00 GMT
Version Joomla! Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:85.0) Gecko/20100101 Firefox/85.0

Translated with www.DeepL.com/Translator (free version)
Last edit: 3 years 9 months ago by angelsweb.

More
3 years 9 months ago #7214 by Administrator AV
Replied by Administrator AV on topic Simple calculations
Hi,
if the culculation does not work in the form (nothing happens when a user makes a change to one of the fields used in the calculation) this is most probably due to a javascript problem.
Please check the browser console, if there are any javascript errors displayed.
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 :-).

More
3 years 9 months ago #7217 by angelsweb
Replied by angelsweb on topic Simple calculations
Hi,
in the console, I found the following errors.
Thanks
Regards
Angelo

Uncaught EvalError: call to eval() blocked by CSP
    <anonymous> www.logosintesitalia.it/index.php?option...&id=15&Itemid=882:39
    jQuery 8
    <anonymous> www.logosintesitalia.it/index.php?option...&id=15&Itemid=882:32
    jQuery 2
<anonymous> www.logosintesitalia.it/index.php?option...&id=15&Itemid=882:39
    jQuery 8
    <anonymous> www.logosintesitalia.it/index.php?option...&id=15&Itemid=882:32
    jQuery 2

unreachable code after return statement
top_compression_js.php:131:188


Source map error: Error: NetworkError when attempting to fetch resource. Resource URL: moz-extension://138863f4-cf31-3d4b-9151-57bd3f5e2396/src/js/editor-popup.js Source Map URL: purify.js.map

More
3 years 9 months ago #7218 by Administrator AV
Replied by Administrator AV on topic Simple calculations
Hi,
okay.

Uncaught EvalError: call to eval() blocked by CSP

So you have a problem with the Content Security Policy of your Server:
Maybe this Post can help you fix the problem: github.com/silverstripe/silverstripe-mfa/issues/358
Calculation without eval() is not posible.

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

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum