I am trying to disable return an error that will disable the submission of the form if the calculation returns false.
Here is the scenario. If there are 100 individuals in a location, I want this number to be disaggregated. As a double check to this disaggregation, I used the calculate to sum of the different defined age group (${male0_5} + ${fema0_5} + ${male6_17} + ${fema6_17} + ${male5_59} + ${fema5_59} + ${male5_60} + ${fema5_60}. This works fine.
I have also used the double check ${individualpopulation} = ${totalindividual} which also works fine. In addition, I have added the acknowledge which works well.’
The issue now is that, I want the form to return an error that will not allow the form to be submitted if the double check is false.
Thanks