When hiding a field with a value entered by the user, and then hiding this field through a condition, in the result, it’s as if this value is set to 0! Is it possible to ensure that this value does not default to zero when it’s hidden?
To explain a bit better in my personal case:
I use a calculator to help my company’s salespeople set pricing by entering values for margin, purchase price, etc., which then gives a subscription package in the result.
However, they can’t show the screen to a customer. I would like to add a checkbox that would hide the entered fields, showing only the results, for example.
Currently, if I implement this solution, when I check the box, it successfully hides the fields, but the calculations are recalculated as if these fields were set to 0.
I’ve set the “New Option” choice field that hide all the “talkingaboutmoney” fields but the consequence is that it also hide the calculation results and make like if the hidden fields are with a value of 0 !
And i need them to keep the entered value… and then work on other conditional logic to hide some results…
Then choose fields which should be hidden, click on the Code Editor option in the Hint section and paste this element there: <div class="hide-mark"></div>
when the field “Masquer les valeurs” (i just renamed the “New Option” field) is checked.
To explain more simply, this calculator helps my company’s sales team set a subscription price for their proposals. Occasionally, they may show the result to a client.
By ticking the ‘Hide values’ (masquer les valeurs) checkbox, all information regarding profit margin, cost price, and revenue would be hidden, leaving ONLY the subscription installments visible.
Mmmm… yesterday i’ve tested the <div class="hide-mark"></div> on calculation and it didnt work ! Today i just tested i dont know why ^^ and it seems to work !