How can I restrict the form so that the question is answered the way I want it and then he can submit it?

Hello all,
Please I want your help urgently

I am doing a survey about granting allowances to participants who attended the sessions, but we will be granting allowances through OMT
So I want them to know that if the answer to some questions is “no” they cannot submit the form
Allowance.xlsx (13.6 KB)

@Sira, so you mean the enumerators should only be able to submit the data to the server if they select Yes and if they do select No, the system should not accept the submission. Did I get you correct?

yes
in this survey there is a question (#####Do you confirm this number for transferring your allowances?
#####Does the holder of this number possess an ID or passport?)
I want if the respondents answer both question yes (so they can submit the survey) but if one of answer was No ( they can’t submit the survey)

@Sira, if this is your requirement, you could do it as outlined in the image shared below:

In the survey tab of your XLSForm:

In the choices tab of your XLSForm:

Data entry screen as seen in Enketo: when a criteria is not met

Data entry screen as seen in Enketo: When a criteria is met

Reference XLSForm:

Constraint.xlsx (9.9 KB)