cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KikeMiranda
New Member

How to do no visible a textbox

hola quiero no es visible el campo respectivo

Si ((TextInput1.Text = "Novanti17"); Navegar (Screen2; ScreenTransition.Fade); TextBox2.Visible = true)

Captura de pantalla 2016-12-20 15.26.34.png

2 REPLIES 2
Abdou
Power Apps
Power Apps

You can't set the property of a control inside of an expression.

What you can do here is to select the TextBox2 control and directly set its Visible property to your condition (TextInput1.Text = "Novanti17")

 

If you only want that to happen when the button is clicked, you can set a context property in the OnSelect like this:

UpdateContext({ShowTextBox: true})

(the you'll probably have to use the corresponding function for UpdateContext in your locale)

Then set the Visible property of TextBox2 to ShowTextBos

 

Hope this helps.

Thank you very much for your answer the first option if I could do it but I can not do it in a button

You can expand on that theme

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,990)