Hi @AlexRutto77,
You could do the same as outlined in the image below:
In the survey tab of your xlsform:
In the choices tab of your xlsform:
Data entry as seen in Enketo: Constant active when entering the data in a wrong way!
Data entry as seen in Enketo: * Constraint passive when entering the data in a correct way!*
Reference xlsform:
Constraint.xlsx (14.0 KB)
Have a great day!