I am working on a form where the user specifies the insulation thickness and square meters. Based on this, I want to perform two calculations but have encountered an issue.
First calculated field: This is already working correctly. I use {oppervlakte_isolatie} * {dikte_isolatie} to calculate the price. The value for thickness is retrieved from the customfield field {mb_offerte-calculatie_isolatie_prijs}.
Second calculated field: Here, I want to retrieve a value from {mb_offerte-calculatie_bedrag_besparing} depending on the thickness entered by the user. However, I can’t get it to work, since the value of {dikte_isolatie} = {mb_offerte-calculatie_isolatie_prijs}
Question: How can I ensure that both calculated fields work based on the user’s input (thickness and surface area)? Is there a specific way to correctly retrieve values from the custom fields(metaboxes) {mb_offerte-calculatie_bedrag_besparing} for the other calculated field?