Display Total in Separate shortcode in Realtime

[ad_1]

Hello @mlawrence83

Thank you very much for using our plugin. I’ll try to describe the process with an example.

Assuming you have the equation fieldname1+fieldname2, but you want to display the result in another place in the page. For example a div tag with clas name result-here.

In this hypothetical case, you can edit the equation as follows:

(function(){
var result=fieldname1+fieldname2;
jQuery('.result-here').html(result);
return result;
})()

The equation calculates the result, displays it in the tag, and then returns the result to the calculated field.

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