Forum
Calc Builder Support
Calc Builder supportForums
No se permite escribir sin estar logado. Por favor, login
Re: no result 08.09.2014 13:32
Hello,
We checked your site and seems to be a javascript error in module "Email Newsletter":
Uncaught ReferenceError: form is not defined calc:756
(anonymous function) calc:756
Please first fixed javascript errors in your site and test it again.
Regards,
Moonsoft Team
www.moonsoft.es
We checked your site and seems to be a javascript error in module "Email Newsletter":
Uncaught ReferenceError: form is not defined calc:756
(anonymous function) calc:756
Please first fixed javascript errors in your site and test it again.
Regards,
Moonsoft Team
www.moonsoft.es
Re: no result 08.09.2014 14:00
Hello,
Your page throws a 500 error when trying to get calc results. This could be an error in code inside your calculator (or firewall, sef...). Please try to clear all inside 'Code' and test it again.
Regards,
Moonsoft Team
www.moonsoft.es
Your page throws a 500 error when trying to get calc results. This could be an error in code inside your calculator (or firewall, sef...). Please try to clear all inside 'Code' and test it again.
Regards,
Moonsoft Team
www.moonsoft.es
Re: no result 08.09.2014 16:18
Hello,
We checked and seems to be ok. Only just add your own code and configure your calculator.
Regards,
Moonsoft Team
www.moonsoft.es
We checked and seems to be ok. Only just add your own code and configure your calculator.
Regards,
Moonsoft Team
www.moonsoft.es
Re: no result 08.09.2014 16:32
Hi,
if your code doesn't work you will need to investigate where are you introducing the error. The line of code you sent has a right sintax, so you'll need to check if data used for calculations is also right. (For example, that you're not dividing by 0).
we suggest to print at the output the variables being used
##units##
##height##
..etc
, so you can see which values are you using and so you can point out the origin of the issue.
Regards
Moonsoft Team
www.moonsoft.es
if your code doesn't work you will need to investigate where are you introducing the error. The line of code you sent has a right sintax, so you'll need to check if data used for calculations is also right. (For example, that you're not dividing by 0).
we suggest to print at the output the variables being used
##units##
##height##
..etc
, so you can see which values are you using and so you can point out the origin of the issue.
Regards
Moonsoft Team
www.moonsoft.es
Re: no result 08.09.2014 17:52
Hi,
did you tried and what did you get?
We just noticed you have created a strange layout, that could be the origin of the wrong calculations.
Seems like you introduced the fields inside a section? Sections are blocks of forms that user can duplicate, think this is not needed for your case. Inputs will be recovered in form of arrays and you are also getting a strange 'del' button at the top.
In this scenario, your inputs would be arrays, and the sintax:
$sum=($height[0]*$width[0])/$units[0];
Please remove the section, go to 'form layout' and create a new layout from scratch, its done automatically with the button '1 column layout'.
Then try :
$sum=$length*$with*$height;
to ensure inputs are recovered as expected, and your original expression:
$sum=($length*$width*$height)/$units;
Will be working if you set a numeric value for each option at 'units' field
Hope this helps,regards
Moonsoft Team
www.moonsoft.es
did you tried and what did you get?
We just noticed you have created a strange layout, that could be the origin of the wrong calculations.
Seems like you introduced the fields inside a section? Sections are blocks of forms that user can duplicate, think this is not needed for your case. Inputs will be recovered in form of arrays and you are also getting a strange 'del' button at the top.
In this scenario, your inputs would be arrays, and the sintax:
$sum=($height[0]*$width[0])/$units[0];
Please remove the section, go to 'form layout' and create a new layout from scratch, its done automatically with the button '1 column layout'.
Then try :
$sum=$length*$with*$height;
to ensure inputs are recovered as expected, and your original expression:
$sum=($length*$width*$height)/$units;
Will be working if you set a numeric value for each option at 'units' field
Hope this helps,regards
Moonsoft Team
www.moonsoft.es
Re: no result 08.09.2014 18:10
Hi,
yes, the button is added by the calculator, because you filled the tab 'sections' at your calculator backed and added your fields 'inside'. If you remove the section and create a new layout you should not see any 'del' or 'add' button, they are only intended to add and remove form blocks.
Hope this helps, regards
Moonsoft Team
www.moonsoft.es
yes, the button is added by the calculator, because you filled the tab 'sections' at your calculator backed and added your fields 'inside'. If you remove the section and create a new layout you should not see any 'del' or 'add' button, they are only intended to add and remove form blocks.
Hope this helps, regards
Moonsoft Team
www.moonsoft.es