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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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