cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Matt383
Helper IV
Helper IV

icon visible only

i have a submit icon, i only want to be visible when 3 dropdown fields have been selected. I thought this might work but as soon as one dropdown is selected, the icon appears. Only want icon to appear when all 3 fields have a selection.

If(Employee_ED.Selected.Value=""&&Site_ED.Selected.Value=""&&Customer_ED.Selected.Value="",false,true)

tried this, no errors but no response

If(Employee_ED.Selected.Value&&Site_ED.Selected.Value&&Customer_ED.Selected.Value="",false,true)

Any assistance would be much appreciated.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Drrickryp
Super User II
Super User II

@Matt383 

 

 

!IsBlank(Employee_ED.Selected.Value)&&
!IsBlank(Site_ED.Selected.Value)&&
!IsBlank(Customer_ED.Selected.Value)

 

 

No need for an If() function, !IsBlank(somevalue) reduces to either true or false.  All three must be true for the statement to be interpreted as true for the Visible property of your icon.

View solution in original post

Drrickryp
Super User II
Super User II

@Matt383 

You have a knack for making things more complicated than they need to be. OR(IsBlank(Employee_ED.Selected.Value),
IsBlank(Site_ED.Selected.Value),
IsBlank(Customer_ED.Selected.Value)) should do it.

View solution in original post

4 REPLIES 4
Drrickryp
Super User II
Super User II

@Matt383 

 

 

!IsBlank(Employee_ED.Selected.Value)&&
!IsBlank(Site_ED.Selected.Value)&&
!IsBlank(Customer_ED.Selected.Value)

 

 

No need for an If() function, !IsBlank(somevalue) reduces to either true or false.  All three must be true for the statement to be interpreted as true for the Visible property of your icon.

View solution in original post

Thanks, that works perfectly. One more question, I have a label on there "These fields must be completed" I need the label to stay on there and disappear once the 3 have been selected. I thought i could just add Not but when one of the required fields is selected, the label disappears. I need it to disappear only after all 3 have been selected, opposite to the icon. This is what i tried
!Not(IsBlank(Employee_ED.Selected.Value)&&
!Not(IsBlank(Site_ED.Selected.Value)&&
!Not(IsBlank(Customer_ED.Selected.Value))))

Drrickryp
Super User II
Super User II

@Matt383 

You have a knack for making things more complicated than they need to be. OR(IsBlank(Employee_ED.Selected.Value),
IsBlank(Site_ED.Selected.Value),
IsBlank(Customer_ED.Selected.Value)) should do it.

View solution in original post

Cheers mate, less is more 😉 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (47,244)