I am still learning and could use some help.
I have a drop down that indicates if an item is Average, Below Average or Above Average. I would like the display text (color) of the drop down to be red if the user selects Below Average. I am using a sharepoint list and have already set my list to display these items in red, but I would also like to have those fields be red when someone edits/enters the powerapp form.
Solved! Go to Solution.
Let me explain better.
When someone selects Below Average as a choice on the dropdown I want the words Below Average to display in red on the form (in view, edit and new).
I get an error message when I edit the color formula and the errors seem to have issue with the name of the field I am referencing (datacardvalue20). This is the field.
This is the form and words I want to appear in red when Below Average is chosen.
If I edit the Color I get an error that says DataCardValue20=This data type is unsupported for evaluation.
Almost there, you are just missing a . between Selected and Value, it should be Selected.Value
And you will want to put it on the HoverColor property, as well as set the HoverFill to White.
---
Please hit the "Accept as Solution" button if my post answered your question! If my post was helpful please consider giving it a "Thumbs Up."
Hi @KCM ,
You mean you want display text of combo box to be red when it is "Below Average" whatever the mode of Form is.
If so, you almost get there. Just miss a dot between Selected and Value. Please modify your code as below:
If(DataCardValue20.Selected.Value="Below Average", RGBA(151,0,0,1),RGBA(51,51,51,1))
Sik
Thank you!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
203 | |
187 | |
81 | |
50 | |
38 |
User | Count |
---|---|
303 | |
249 | |
124 | |
73 | |
55 |