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 / 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,362 Super User 2025 Season 2 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard