web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Hide label when EditSc...
Power Apps
Unanswered

Hide label when EditScreen Form is in new mode and show in (edit or view)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I can't set this correctly, most answers say to place this in the OnVisible property of the label but none of my labels or text boxes have the OnVisible property, it's just not there. Only the Form has OnVisible.

 

So I tried to set it like so:
When launching the EditScreen using the new/add button:

 

WorkHard_1-1624483501451.png

 

 

And for the label visible property I set:

WorkHard_1-1624483281266.png

 

 

 

This works great but if I go back and now launch the screen in view mode, the label is still hidden until I put the screen in edit mode.

What am I missing?

 

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    The onvisible property will only be triggered when you switch to the screen of the control.

    I suggest you use buttons instead.

    vxiaochenmsft_0-1624500693352.png

    vxiaochenmsft_1-1624500699248.png

    vxiaochenmsft_2-1624500707160.png

    vxiaochenmsft_3-1624500749320.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I still cannot see the OnVisible even when actively looking at the Screens.
    Only OnSelect is available. 

    WorkHard_0-1624547379971.png

     

     

     

     

     

    I'm assuming you mean "Visible" not "OnVisible". In that case, where do you place this function below? In the OnVisibile property of the Form1? 

    WorkHard_1-1624547511130.png

     

    All my actions new, edit, view are done on the same form. I don't have multiple forms. It goes from the browse page to the edit form where I set the DisplayMode depending on what I need.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard