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 / On visible icon warning
Power Apps
Unanswered

On visible icon warning

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Friends, I'm looking for a solution to my app. 

I Want to change the color of email text input "Red,White" using the visible mode of "icon warning", but I want to change only if there's no match with function "Is match", when the email text input is blank won't change.

English isn't my first language, so please excuse any mistakes.

a1.PNG
a2.PNG
a3.PNG
Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    I don't believe you want to base your formula off of the Visible as you are changing your Icon between Warning and Check icons.

    So, if you want to keep that logic, then change your Icon Icon property to:

    If(IsMatch('Entrada e-mail'.Text; Email); Icon.Check; Icon.Warning)

    Then set your Fill of the 'Entrada e-mail' control to:

    If(Iconemail.Icon = Icon.Warning; Red; White)

     

    If you want to leverage the Visible property instead (assuming you want the Icon to not be visible UNLESS there is a mismatch on the email), then change the Visible property of the Icon to:

    !IsMatch('Entrada e-mail'.Text; Email)

    Then set the Fill to:

    If(Iconemail.Visible; Red; White)

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks @RandyHayes 

    I used the second option, (

    !IsMatch('Entrada e-mail'.Text; Email)
    If(Iconemail.Visible; Red; White)

    )

    But, it's possible show the fill "White" when the "box" is empty?.

    Actually, when the user starts the form, immediately appears in red! 

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard