Note question Validation Criteria


I am building a form to collect beneficiaries informatiion and I have question about the family size and 2 other questions about the Number of Males and Numbers of Femles
the Idea is the Family Size = Number of Males + Number of Females, therefore I build a calculation quetion to calculate this equation and created a note question to show me the result of that calculation questiion wether the family size MATCH the Number of female and number of males of it DOESN’T MATCH
my question is how to build a validation critera for the note question ? so if the formula DOESN’T MATCH the user won’t be able to swipe to the next question

Hi @Naeim,

Welcome to the community! You could do the same as outlined in the image below:

In the survey tab of your xlsform:

Data entry screen seen in Enketo (without a problem):

Data entry screen seen in Enketo (with a problem):

Reference xlsform:
Note Validation.xls (29.5 KB)

Have a great day!

thank you so much dear, it’s a great Idea

1 Like