Avatar of Jimphot0
Jimphot0Flag for United States of America asked on

What would code look like to check multiple fields in the Hide/When formula?

I have a need to check if a Dialog list with 5 choices (None, Back1, Back2,Back3 and  Back4) has either Back1 or Back3 chosen. If so, then a set of cells in the subform needs to be visible otherwise hidden if choice of Dialog list is None, Back2 or Back4.

I have the code in the Hide tab as:
Misc4 != "None" | "Back2" | "Back4"
This doesn't seem to work.

This is one way that I would like to see it work, another would be to have validation that if the Dialog list choice is None, Back2 or Back4 AND the phone field is filled in, then a popup msg alerts the user that the back choice doesn't have an option for a phone number and to fix it. - I tried this too but can't seem to get the syntax correct for this solution.
Lotus IBM

Avatar of undefined
Last Comment
Jimphot0

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
FormanJackJ

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
olaraak

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Jimphot0

Thanks to both of you.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck