Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Changing colour if ALL dropdown options selected

(1) ShareShare
ReportReport
Posted on by 76
Hi everyone,
 
I have a power apps form where there are custom cards containing the title for each section of my form. Each section has a dropdown progress tracker which is linked to a column in a SharePoint list. 
 
I need to be able to have the custom card change colour when ALL of the dropdown options are selected.
 
For example one dropdown has these options: 
Draft Sent
Approved
 
So as users complete the step they select the next field, so by the end, all 3 options are selected, and to make it visually appealing I then want the custom data card (blue box) to change to green so the next person easily knows they can skip over this section and move to the next one.
 
 
Thanks :)
 
 
{UPDATE}
Hi everyone,
 
I am unable to reply to your comments, only my original post.
 
@Ravindra Jadhav - this unfortunately didn't work. There was no error but nothing changed when both dropdowns were selected
 
@FLMike - what do I put in place of combox1, combo2 and combo3. Is this the name of the dropdown or the dropdowns options?
 
Thanks
  • Suggested answer
    CA1105 Profile Picture
    356 on at
    Changing colour if ALL dropdown options selected
    Hi,
     
    You can use below code in your components color property.
     
    If(!IsBlank(dropdown.Selected) && !IsBlank(dropdown.Selected) && !IsBlank(dropdown.Selected), Color.Green, Color.Blue)
     
  • GGC21 Profile Picture
    76 on at
    Changing colour if ALL dropdown options selected
    Hi everyone,
     
    I am unable to reply to your comments, only my original post.
     
    @Ravindra Jadhav - this unfortunately didn't work. There was no error but nothing changed when both dropdowns were selected
     
    @FLMike - what do I put in place of combox1, combo2 and combo3. Is this the name of the dropdown or the dropdowns options?
     
    Thanks
     
  • Suggested answer
    Ravindra Jadhav Profile Picture
    263 Super User 2025 Season 1 on at
    Changing colour if ALL dropdown options selected
    On Fill Property Use,
     
    If(Countrows(  Combobox1.SelectedItem)= 2, color.red)
     
    Please Closed the Question, Mark it Solved 
     
    If my answer helped resolve your issue, please consider marking it as solved to assist others facing the same problem. Additionally, giving it a like would be greatly appreciated and motivates us to keep helping
     
    Thank You
    Ravindra Jadhav
  • Suggested answer
    Michael E. Gernaey Profile Picture
    41,020 Super User 2025 Season 1 on at
    Changing colour if ALL dropdown options selected
    Hi
     
    Go to the Fill Property and so something like htis
     
    If(!IsBlank(Combox1.Selected) And !IsBlank(Combo2.Selected) and !IsBlank(Combo3.Selected), Color.Green, Color.Blue)
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard