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 / Can I have two edit fo...
Power Apps
Answered

Can I have two edit forms in 1 screen that doesnt overlap and keep large form sizing

(0) ShareShare
ReportReport
Posted on by 920 Super User 2024 Season 1

Hi,

 

I am trying to have two edit forms in 1 screen. How can I have both but one collapse on the click of a button?

 

As you can see they both are small, I want them to be full size. And the top one collapse upon click. But when its open it shifts editform1_1 down. Can this be done? right now its two small forms with a huge scroll area. I want them to keep the original size of the full screen view if possible. Any tips would be appreciated.

wonka1234_0-1693533583626.png

 

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

    Hi @wonka1234 ,

     

    If you want the entire screen to be scrollable, then you can consider adding a scrollable screen, but it does not support inserting forms, you can consider using controls such as input combined with patch submission records.

    I recommend using overlapping forms to control their visibility through their visible property.

     

    Best Regards,

    Bof

  • Verified answer
    cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    Hard code you heights on both to the size you want when they both show. Set a variable for toggling visibility of Form1 with OnVisable of the Screen to have UpdateContext({varForm1Visable:true}) and put that varForm1Visable in Visable property of top Form1. 

     

    If your height of form2 is 500 then something like this for Height on Form2.

    Then take the height of the bottom form and do like : If( Form1.Visable, 500, 500 + (Form2.Y - Form1.Y)) 

     

    That will take the Form2 and use the top location Y and grow it based on the distance from Form2.Y.  

     

    Then for the show / hide of Form1 you could just have one button/icon etc. that does UpdateContext({varForm1Visable: !varForm1Visable}) this will toggle it on / off and resize Form2 when toggled. 

  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    @cwebb365  thank you.. im close.. it looks to work but the 2nd form isnt moving below the first upon clicking the button.. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 617

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard