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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Data from one form ove...
Power Apps
Unanswered

Data from one form overlapping another form

(0) ShareShare
ReportReport
Posted on by 44

Hi there,

I have been researching to find a fix for this problem and I haven't found so I'm going to try here. I have a 3 tabbed form (Employee Details, Hardware Req and Applications). After working on the third tab (Applications), if I go back to do something on the other two tabs, the fields from the Applications are overlapping. For each form Visible is set like this:

If(varTab="Employee Details", true, false)

If(varTab="Hardware Req", true, false)

If(varTab="Applications", true, false).

 

The Applications tab contains a drop down, a text box and a gallery with checkboxes. Any help would be greatly appreciated. Thanks!

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @switkovich 

    It appears that your Gallery is what is mixed in.  Have you set the visible property on the gallery as well?

  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi,

    You should set the below to visible property of your gallery as the gallery is on applications tab and you have added an additional control I.e. gallery to your datacard 

    If(varTab="Applications", true, false)

  • switkovich Profile Picture
    44 on at

    Thank you so much! That fixed the problem. 

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @switkovich 

    Very good.

    Just as an FYI, you can save yourself some typing on your formulas.  To check a boolean for a true or false and then return a true or false is redundant.

    You can change your formulas from (picking one) :

        If(varTab="Employee Details", true, false)

    To:

        varTab="Employee Details"

     

    That formula will already be true or false, so there is no need for the If statement and then the return of the same boolean value.

     

    Also, another tip.  Consider basing your formulas on one control where the logic already exists.  So, since you have the logic for the Visible already on the Form Visible property, then just reference that from your Gallery Visible formula:  yourForm.Visible  This would make the gallery visible only when yourForm is Visible.  This gives you one place to put your logic, instead of duplicating over and over, because, if you decide you want to change the tab that the form is visible on, you would only need to change it in one place, rather than going through all the controls that have that formula in it.

     

    Hope it is helpful for you.

  • switkovich Profile Picture
    44 on at

    Thanks Randy. That helps. 

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard