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

How do I make an image control to appear or disappear based on the text input value?

Hello! I have an image and I want it is not shown when the screen is first loaded.

On the screen I have a text input and user needs to enter the exact text string in order for the image to appear.

This is what I have done but not working so please help.

1) I set my Image1 control property visible = OFF 

2) On my image control I have the following text: If(Text1.Text="Show Image",Image1.Visible=true)

Thank you in advance for you help.

1 ACCEPTED SOLUTION

Accepted Solutions
Nogueira1306
Super User
Super User

Wirte this on visible property of the Image:

 

If(Text1.Text="Show Image",true,false)

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,

Gonçalo Nogueira

Check my LinkedIn!

Buy me a coffee!

Check my User Group (pt-PT)!

Last Post on Community

My website!

View solution in original post

4 REPLIES 4
Nogueira1306
Super User
Super User

Wirte this on visible property of the Image:

 

If(Text1.Text="Show Image",true,false)

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,

Gonçalo Nogueira

Check my LinkedIn!

Buy me a coffee!

Check my User Group (pt-PT)!

Last Post on Community

My website!

I tried but it does not work.

davidvo68_0-1646836022606.png

 

davidvo68
Helper II
Helper II

Thank you for taking the time Nogueira 1306.

davidvo68
Helper II
Helper II

It worked after I restarted the application.

Thank you.

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 (3,948)