can i delay the Ajax call for a calc element?

mirceat

Member
Hello,

I have a calc element that calculate a total using data from several dbjoin and field elements. Works fine most of the time, but sometime the calculation is keeping the old calculated value, it's like it skip the "change" action for an element.

So I was thinking there is a delay in calculation because of some javascript that are not fully loaded, ergo can I delay the calculation until every js script is loaded?

I tried to install a plugin to async/defer some heavy loading js scripts, but it doesn't help.

Thank you
 
Have you tried the options in the calc element? Look at the tooltips.
1711736994390.png
 
Hello,

I think I've tried every possible combination of options available for this element :) I managed to partially solve this by disabling the Ajax validation in form. It's better than before but still need sometimes a delay for the calc element.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top