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 / If two TextInput field...
Power Apps
Answered

If two TextInput fields match, display button.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

 

I am trying to make a code that allows me to say ' If textinputs1 and textinput2 fields match, display button'.

 

So if user adds text in one field and writes the same text on the other field then a button is displayed.

 

Can anyone help me?

 

Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.
Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    Make the visible property of the button

     

     

    TextInput1.Text = TextInput2.Text && !IsBlank(TextInput1.Text) && !IsBlank(TextInput2.Text)

     

    so the button will not be visible if both boxes are blank

     

     

     

    Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    If this answers your question, please accept it as a solution.

    Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for your input, this solution works 🙂 thank you

    Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.Liquid error: Exception has been thrown by the target of an invocation.

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