IFTE visibility not distinguishing criteria

I only want ‘salon owners’ and ‘professionals’ to see certain content, and not customers. I can’t get my IFTE to only check off those user types?! It’s just checking off everyone. What am I doing wrong?

Hola!

Maybe you have an extra space (blank) at the end of Salon Owner, I mean, check if your data is not "Salon Owner " or "“Salon__Owner”.

Your ITE setting looks correct.

Saludos!

1 Like

hi! no extra spaces here. also checked on ‘true’

What about the User Type column’s values? :roll_eyes:

those are all good too, and work in all the other visibility cases I’ve used them in. But all other instances, I have used them on the front side. But this time around I need AND and OR so i needed to do some of the conditions on the database side

wait a minute! … your problem is that your result is always TRUE right? I couldn’t see well the check mark box color :face_with_hand_over_mouth:

You are using User Profile → User Type, which means you are just checking the row of the signed in user.

Instead, just refer to the User Type directly.

3 Likes

I only want it to be true if it’s a salon owner, and then i was going to make a second condition for if they are a professional

@Darren_Murphy has the answer @Katelyn_Alberts

1 Like

got it! I’m still trying to figure out when i need to do direct or ->!!

yeah, it’s a bit tricky.

Just try and remember that whenever you use User Profile → “anything”, you’re always referring to a single row in your Users table, which is the one that belongs to the signed in user.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.