web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Struggle with Validati...
Power Apps
Suggested Answer

Struggle with ValidationState on Combobox

(1) ShareShare
ReportReport
Posted on by 4
I am new to PowerApps and would appreciate any insights on what I am missing.  I have attached graphic for context.  I am trying to require DataCardValue4 must contain 'response' when the DataCardValue61 ComboBox selected value is Fail
 
Thanks for any and all guidance!
2025-01-02_10-06-19.jpg
Categories:
  • Suggested answer
    SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at
     
    Please try the following code:
    If( 
        DataCardValue61.Selected.Value = "Fail" && IsBlank(DataCardValue4),
        Color.Red,
        Parent.BorderColor
    )
     
    Hope this helps!
  • timl Profile Picture
    37,420 Super User 2026 Season 2 on at
    Hi CU02011503-0
     
    Just to add to what SpongYe says, if DataCardValue4 is a modern control, you'll need to reference the .Value property rather than the .Text property.
     
    If( 
        DataCardValue61.Selected.Value = "Fail" && IsBlank(DataCardValue4.Value),
        Color.Red,
        Parent.BorderColor
    )
     
  • pcondonjr Profile Picture
    4 on at
    Thanks for your help!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard