Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Complex form performance issue

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
My app includes a fairly complicated form - large number of fields, many with show/hide logic.
 
When users work in the form, it frequently hangs, especially when the user is typing in a text field. This results in a poor user experience.
 
Performance in the rest of the app, including other, less complicated forms is fine.
 
Are there any suggestions/best practices for ensuring adequate performance for large complex forms?
Categories:
  • Verified answer
    NaivePowerApper Profile Picture
    Microsoft Employee on at
    Complex form performance issue
    Follow-up on this question – I was able to resolve the issue using a mix of approaches.
    Issue details:
    • Large classic form (277 cards) and lots of embedded logic:
      • Show hide logic for cards – show or hide cards based on user selections
      • Tab system for navigating the form
      • Filter Combo box items based on user selections in other combo boxes
    • Form performance was unsatisfactory. In particular, form would hang when users were typing in text boxes

    Observations:
    • Performance issues appeared to be limited to the form. Other controls on the same screen didn’t appear to be affected
    • A smaller, but similarly complex Modern Form in the same app didn’t appear to be impacted

    Conclusions:
    • Issue was specific to the form, likely the result of size plus complexity
    • The Modern form control might perform better

    Initial Approaches:
    • Tried WarrenBelz’s suggestion to delete unnecessary controls from each card.  This appeared to help, but more improvement was required
    • I’m pretty confident Nandit’s suggestion to break the form up into multiple steps would’ve worked. However, ability to scroll through the whole form was a desired.

    Solution:
    • Break up the form in a way that is seamless to the user:
      • Create a vertical container containing 5 Modern forms stacked on top of each other
        • Due to other updates, the five forms now contain a total of 321 cards, but the largest form is only 82 cards
      • Dynamically adjust the LayoutMinHeight property for each form based on which cards are visible at any given time. This means user sees a single vertical scroll bar on the vertical container.  From a user perspective it looks like a single seamless form.
    • Delete all unnecessary controls in the cards

    This appears to have resolved the performance issues without disrupting the user experience
  • WarrenBelz Profile Picture
    146,668 Most Valuable Professional on at
    Complex form performance issue
    You did not say how many controls were on the Form, however one approach (if you have not already done this) would be to delete any redundant controls - the first two would be the star and error text labels inside your data cards on any input that you are not making Required. You may find some other elements that are not necessary (use HintText/InputTextPlaceholder instead of labels on the fields) and/or combine row labels into a "header" above the row. Essentially reduce the number of controls that the Form needs to resolve. How many controls are on this Form ?
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • Suggested answer
    Nandit Profile Picture
    1,563 Super User 2025 Season 1 on at
    Complex form performance issue
     
    One of the ways I have dealt with large forms being complicated to manage and fill out is by creating steps for the input process. Idea is to divide your big form into smaller sections by combining related fields and using the visible property. 
     
    Reza Dorrani put up a really nice video explaining it - Creating Multi-Step Forms in Power Apps | Tutorial (youtube.com)
     
    Hope this helps. 
     
    Kind regards,
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
     
     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard