Calculated field max value | WordPress.org

[ad_1]

Hello @tosh11formula

I don’t what you tried to implement with the following piece of code:

fieldname2fieldname6fieldname7/1000000

If you want to calculate the product between fieldname2, fieldname6, and fieldname7, the correct would be:

fieldname2*fieldname6*fieldname7/1000000

You could implement the equation as follows:

(function(){
var result = fieldname2*fieldname6*fieldname7/1000000;
if(30<result) return 'Your message here';
return PREC(result,2);
})()

Best regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer