How to put a constraint in the second question based in an input from the first question?

Q1: How many mangoes do you produce? Answer is 100
Q2: How many mangoes do you sell? The answer should be less than or equal to 100 (the answer to Q1).

How to put the condition for the response of Q2 in such a way that enumerator does not commit mistake

Please help

Have you gone through our support article Limiting Responses with Validation Criteria? It should solve your issue.

As a workaround, this post discussed previously should be helpful for you: