Validation issues

I have prepared a form and doing validation but its not working:
Q1-Received
Q2-Distributed
Q3-in_stock
.=${Distributed}+${in_stock}

Welcome back to the community, @dantd! Maybe you could do it as outlined in the image shared below:

In the survey tab of your xlsform:

Image 1

Data entry as seen in Enketo: when a wrong entry is made

Data entry as seen in Enketo: when a correct entry is made

Reference xlsform:

Constraint.xlsx (10.3 KB)

Thanks a lot @Kal_Lam,
I tried several times but now it is resolved,

1 Like