Need help creating conditional statements in Survey123

684
1
08-15-2017 07:22 AM
CaseyRagain
New Contributor II

I'm struggling with constructing a couple of conditional statements. The first one is:

1. If {fieldA} is selected 'Yes', then {fieldB}, {fieldC}, {fieldD} and {fieldE} are disabled. (Fields A,B,C, D, E are select_one type fields)

2. If {fieldA} and {fieldB} are selected 'No', then {fieldC}, {fieldD} are disabled except for {fieldE} which is enabled.

Thank you in your advance for your help.

-Casey

0 Kudos
1 Reply
RalphBeishline
New Contributor III
namerelevant
fieldA
fieldB${fieldA}!='yes'
fieldC${fieldA}!='yes' and ${fieldB}!='no'
fieldD${fieldA}!='yes' and ${fieldB}!='no'
fieldE${fieldA}!='yes'

I think this works assuming that fieldA is only a yes/no response.

0 Kudos