Form not showing with Function
-
Hi,
I need a calculator to show costumers the discounts along the days of service: it’s a hotel for cats.
So, at Excel the formula is:
=IF(F19<=15; F18*F19*72; IF(F19<=30; F18*F19*72*0,94; IF(F19>30; F19*F18*72*0,91)))And, following the tips, I wrote in the plugin like this:
(function(){
if(fieldname6<=15) return fieldname6*fieldname2*72;
if(fieldname6<=30) return fieldname6*fieldname2*67.7;
if(fieldname6>30) return fieldname6*fieldname2*65.5;
})();The simple formula (fieldname6*fieldname2*72) works fine. But always when I write the function, it’s not showing up.
I made the changes to classic version, and still nothing.
Is there anything that I’m missing about the plugin? Is there anything else to write for function code?
I’m willing to buy the PRO version, but, even if I buy it, is there a chance that this problems continue to happen? Because it’s a little expensive for Brazil (almost R$300,00 for PRO).
Thanks.
The page I need help with: [log in to see the link]
- The topic ‘Form not showing with Function’ is closed to new replies.