
I have a form with 3 tabs at the top and use visible function to show/hide items in form depending on tab selected. Within the form I have a pen icon. It needs to appear on the "Profile" tab always.
It needs to only show on "Benchmark" tab only if logged in user is in in the Cohort Consultant field on "Profile" tab of that form. 
And it never needs to show up on the 3rd "Assignments" tab.
I am trying to play with the visibility property of this icon to acomplish above.
My current formula is:
If(varFormTab="Benchmarks" && 'Cohort Consultant'.Email=_myProfile.Mail,true,varFormTab="Profile",true,false)
but this is not accomplishing this correctly. Any ideas?