Constraint

I have three questions
first one is asking about total number
second one is asking about category 1
third one is asking about category 2
I need constraint formula at third question not to accept values that if summed with second question give values higher or lower than total number (question one)

Hello @Ahmed.Seliem,
Would you mind to use the search function of this forum, like “sum total constraint” You find several examples here
https://community.kobotoolbox.org/search?context=topic&context_id=13767&q=sum%20total%20constraint&skip_context=true

1 Like

Hi @Ahmed.Seliem,

Could you kindly explain your requirement with a dummy question and response so that we could understand and figure out the solution (if it’s do able in KoBoToolbox).

Hi, is in this post. No need to read the French, the solution is all in the excel screenshot: How to validate the female and male entries with the total entry

3 Likes