Either of the two response be equal to zero

Hi ODK Friends,

In the attached form, what I want to achieve is that the response of either of the two questions can be equal to zero, both cannot be equal to zero. I tried this in Enketo of central server, worked as expected, but doesn't work in the Collect app. In the Collect app, either of the two responses must be greater that zero, which I doesn't want. Please help me.

Regards,
Raj

Hi @Raj_Pravat
Please attach your form. We don't know what you tried if we can't look at it.

Hi @Grzesiek2010,

Thanks.if-constraints.xlsx (9.6 KB)
Sorry for not attaching the sample form. Here it is.

I would solve it in this way:
if-constraints.xlsx (6.7 KB)

does that work for you?

1 Like

Thanks a lot. It worked as expected, both with Collect and Enketo.