Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

icon visible only

(0) ShareShare
ReportReport
Posted on by 395

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.

Categories:
  • Matt383 Profile Picture
    Matt383 395 on at
    Re: icon visible only

    Cheers mate, less is more 😉 

  • Verified answer
    Drrickryp Profile Picture
    Drrickryp on at
    Re: icon visible only

    @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.

  • Matt383 Profile Picture
    Matt383 395 on at
    Re: icon visible only

    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))))

  • Verified answer
    Drrickryp Profile Picture
    Drrickryp on at
    Re: icon visible only

    @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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard