[ad_1]
Hello @dankarr
Thank you very much for using our plugin. In Javascript, the equality operator is the double symbol ==. The single symbol = is used for assignment.
So, the equation would be:
(function(){
if(fieldname3==85)
{
return (fieldname10-fieldname18)*600+(fieldname10-fieldname18)*fieldname33*0.115;
}
else
{
return filename18;
}
})()Note that you can use the IF operation in this case and make the equation simpler:
IF(fieldname3==85, (fieldname10-fieldname18)*600+(fieldname10-fieldname18)*fieldname33*0.115, filename18)
Best regards.
