cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tiemo_123
Helper II
Helper II

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

@tiemo_123 

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

@tiemo_123 

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

Drrickryp
Super User
Super User

@tiemo_123 

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

tiemo_123
Helper II
Helper II

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

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,678)