I just have a small concern that prevents me from advancing in my form.
I want the sum of the female children + the sum of the male children to be less than or equal to the total number of people in the household so that this is consistent.
In other words, the total number of children cannot be greater than the number of people in the household.
How to ensure that this constraint is respected and that if it should happen, a message may be displayed to the interviewer to report the inconsistency and force him to enter values between 0 and the total number people in the household. I am attaching a copy of the file so that you can help me resolve this difficulty.