Select to view content in your preferred language

Removing Questions from multiple locations

612
2
08-24-2018 04:32 AM
EricS
by
Regular Contributor

I want to remove contact information questions when certain answers are given(like no).  My problem is that I need to remove the contact information questions when a simple no answer is given but also when two other questions at the same time answer "no". 

Example: 

my simple question: make contact?  no -> remove contact info questions

Both of the questions below need to be answered as "no" to remove contact info questions

can you help? no

can you give? no

What is the code to make this work?

0 Kudos
2 Replies
IsmaelChivite
Esri Notable Contributor

Hi.  You can combine multiple checks using 'and' and 'or'.

selected(${wants},'yes') or (selected(${gives},'yes') and selected(${helps},'yes'))

See the attached XLSFile for an example.

0 Kudos
EricS
by
Regular Contributor

Thank you for your help but the code does not work. It does not remove

name and email. I messed around with the 'and' and 'or' but I didnt get

the results I needed.

The pic is the only time that contact info would be removed

THANKS

0 Kudos