Wait with form evaluations | WordPress.org

Hello @alevel

Thank you very much for using our plugin.

If you are loading the JSON files by yourself and you want to evaluate the equations only after the files are loaded, you can configure the form as follows:

1. Deactivate the dynamic evaluation of the equations by unticking the “Dynamically evaluate the equations associated with the calculated fields” checkbox in the “Form Settings” tab (https://resources.developers4web.com/cff/images/documentation/form-settings-tab.png)

2. In the code that loads the JSON file, please, enter the following piece of code after loading the external information:


var _form = jQuery('[id*="cp_calculatedfieldsf_pform_"]');
_form.attr('data-evalequations',1);
EVALEQUATIONS(_form);

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.

Your Advertisement Here