cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

If two TextInput fields match, display button.

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?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User
Super User

@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

 

 

 

View solution in original post

3 REPLIES 3
Drrickryp
Super User
Super User

@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

 

 

 

Drrickryp
Super User
Super User

@Anonymous 

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

Anonymous
Not applicable

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

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,179)