Calc element issue

waby

Member
I try a simple calculation :

$val = (int)'{tablename___elementname}' + 10;
return $val;

Then I have a notice "undefined" with the ajax calculation with any parameters in the frontend. But it works in the backend.
 
Which exact fabrik version are you running?
Do you have a link to your form?

Under "online swaps" I see a bunch of warning. If such a warning is also displayed during ajax calc it will break.
Try if it's working with Joomla error reporting set to standard or none.
(But this won't solve the underlying issues)
 
I use the last fabrik with the last GitHub.

I found, when I create a user for you, that the calc work if the user is not connected. :confused:

My site details has been updated.
 
I can see some 403 You are not authorised to view this resource. - http://yourSite/home6/index.php"

Can you try with a different variable name? $val may be used in Fabrik and overridden by your code.
Better use always a prefix like $myVal, $myData etc.
 
I ve tried with other variable names without success.
Please use the links that you can find in the field Notes in My site area.
 
calc is working now
(although the startpage is showing a nasty
Error
You are already logged in)
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top