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 II
Super User II

@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 II
Super User II

@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 II
Super User II

@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.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,197)