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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Visibility value not c...
Power Apps
Unanswered

Visibility value not consistent

(0) ShareShare
ReportReport
Posted on by 43

Good day,

 

I encountered an issue wherein the visibility condition of a control card is not consistent all throughout the form.

 

I have 2 forms which depends on each other. The forms are on a different screen (needs a NEXT button to navigate through the screens). I have this control card from Form1 named Recess1 that has a "Visibility" value of

 

true

 

Then, I navigated to Form2. When I tried to check the value of it on the Form2 by putting the "Text" value of a field named lblVisibilityRecess1 as

 

Recess1.Visibility

 

it showed/returned "false".

I was expecting it to return "true" since it is what I placed on the Visibility property for Recess1.

 

So I tried to do a work around and set a variable varGenerallyTrue on the OnStart of my app:

 

Set(varGenerallyTrue,true);

 

 

Then when I checked lblVisibilityRecess1, it is now showing/returning "true".

 

Any thoughts why is this happening?

 

Thanks!

K.D.

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at
    Re: Visibility value not consistent

    I reproduced your example but did not get the result you have:

    Datacard1 in Form1 on Screen1: true

     

     

    lblVisibilityRecess1 in Screen2 visible property

    Datacard1.Visible produces true not false

     

    With regards to the variable OnStart, it will maintain whatever is put in the variable until the app is restarted again. Thus true will remain true until App restarts.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • fpc-kdrosario Profile Picture
    43 on at
    Re: Visibility value not consistent

    Good day @eka24 ,

     

    I forgot to mention that the forms are in 2 different screens.

     

    Regards,

    K.D.

     

  • eka24 Profile Picture
    20,923 on at
    Re: Visibility value not consistent

    The example I gave is based on different screens. Can you recheck the formula I used again?

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard