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 / Form fields not popula...
Power Apps
Unanswered

Form fields not populated when showing them

(2) ShareShare
ReportReport
Posted on by 37
I have an app where you would select an item from a gallery and navigate to the Form Screen.
In this screen, the Form doesn't have all the fields visible, it's divided into cards and depending on what card you select, some fields hide and others show.
The problem comes up the first time you access that screen, because it loads the fields for the first card, but the required fields for the other cards are not visible, though the relative item field value is populated on the data source (Dataverse, in this case), and this, when you submit the form, can make the error "An entry is required or has an invalid value" pop up like one of them is blank, but it's not like this.
 
 
then, when clicking on the second card to show the relative fields, first it comes up blank like this
 
then, after one or two seconds, it loads the values
 
Would it be better to use a multistep form or maybe more forms? Like one for each card on the screen?
 
Thank you all in advance
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    I guess.. what I find a little weird is, why it doesn't give you that error every time. You said its only the first time. But doesn't whats in the first card, drive what gets selected in the secondary/next cards? Which means they should always be reset(blank) until the first card is populated.
     
    So are you... saving the first set of cards, then the 2nd set comes alive, and so forth? as in the Default/DefaultSelecteitems etc are set, only once something is in the 1st, which is why they are "giving the error"
     
    This error... is odd because I wouldn't expect it until you tried to submit.
     
    How are you loading the Data? Just passing a global variable?
  • JonEffe Profile Picture
    37 on at
    @MichaelEGearney I pass a global record variable loaded with the record selected in the gallery from the previous screen, and that's even weirder, since I thought the form should have all the information needed without having to connect to Dataverse once again to get the info

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
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard