Hi everyone
I have a question, and I'm using Open Data Kit XLS form
I'm setting a form to assess participant eligibility based on the responses of three questions for a follow-up at two different sites:
Q1. Participant older than 18? Responses: yes/no
Q2. Participant school-level education? Responses: None/Primary/Secondary
Q3. Participant country of residence? Responses: Mozambique/Tanzania/South Africa
I want to Q4 to be a read_only and provide the following options if a set of statements are met:
Q4. Is the participant eligible and if yes to which site?
Response 1: Eligible to Mozambique (if (Q1 = 'yes' and Q2 = 'Primary' or 'Secondary' and Q3 = 'Mozambique'))
Response 2: Eligible to South Africa (if (Q1 = 'yes' and Q2 = 'Primary' or 'Secondary' and Q3 = 'South Africa'))
Response 3: Not eligible (if (Response 1 or Response 2 = FALSE))
Sorry for not having a script, not sure how to code the if() statements