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 / Submit Form issue with...
Power Apps
Answered

Submit Form issue with Custom data card controls

(0) ShareShare
ReportReport
Posted on by 182

Power App Screen Form has dynamic and custom data cards linked to the SharePoint List Data Source. When we use Submit Form and Form updates, the dynamic data card values are getting updated. However custom data card controls like dropdown, textbox whose default properties are linked to SharePoint List Columns are not getting updated. please advise.

 

 

Categories:
I have the same question (0)
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    I have found when it comes to forms and custom controls, it works best to unlock the data card you will be filling with the data from the control and add a control into it.  Then hide the DataCardValue item and set it's property to the value of the custom control (dropdown, checkbox, radio, etc.).

     

    For example.  You have a single line of text column in the SharePoint list, but you want people to select from a dropdown.     Unlock the card and add a dropdown control into the datacard.  Set the text value of the DataCardValue:   If(formX.Mode = FormMode.View, Parent.Default, Dropdown.Selected.Value),   Set the visible property in a similar way making it visible when the form is in view mode and hidden in Edit or New Mode.   Set the visible property of your dropdown to make it hidden when the form is in view mode and visible when the form is in New or Edit Mode.

  • Sajith Profile Picture
    182 on at

    I am facing issue while submitting for custom data card controls. Please note that it is not dynamic data control. The answer seems to be not relavant for this.

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    What exactly do you mean when you say 'dynamic controls'?

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @JR-BejeweledOne 

    Actually much simpler to use the features built into the form.  In the example, changing a datacard for a text input to contain a dropdown instead - when you add the field to your form, do NOT unlock it, instead in the field chooser, change the control type to "Allowed Values".  The PowerApps form will then automatically change the control type to a dropdown and it will wire all the Default and Update properties exactly as needed.  It will also then expose a property on the Datacard called AllowedValue.  That expects then a table of the records you want to appear in the dropdown.  Supply your choices there and everything else is then done for you - all of the displaymodes, values, etc.!!

     

    However, @Sajith you are saying you are using Custom datacards.  There is a big difference between a Custom datacard and a Customized datacard.  A customized datacard is one that you have unlocked and made changes to.  A Custom datacard is a datacard that you have added that is not related to a field.  

    Custom datacards do NOT participate in the Updates property and are thus not submitted when submitting the form.

     

    Can you distinguish which you have in your form?  A custom datacard or a customized?  You can quickly tell by looking at the Datacard properties.  If it DOES NOT have an Update property, it is a Custom datacard.  If it DOES have an Update property, then it is a Customized Datacard.

    What do you see?

  • Sajith Profile Picture
    182 on at

    Yes, it is custom card. Not customized card. Each Custom card contains one dropdown and two text fields. There is no update property for this. So Patch Function is  the only option right  ?

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

    @Sajith 

    No, your datacard should not be a custom card if the underlying column that you are trying to set is part of the underlying record of the form.  It should be added as the field that it represents.  You can customize it as much as needed, but it needs to be based on the underlying field in order for it to participate in the form.

    I would avoid a patch as much as possible as it is not only extra work, but also more trips to the datasource in your app. And, you really don't need it anyway.

  • Sajith Profile Picture
    182 on at

    Yes. Now  It is clear. However,  I am facing an issue.

    2021-10-31_9-23-01.png

    I have a very lengthy form which was built on custom card (Not Customized Card).  Trying to Add  Dynamic Data Card (Q1.0) to Custom Card 1.0 section. I think we cannot insert top part card right. Only Text and Dropdown  of Q1.0 can be added inside the Custom Card Section (1.0) right ?

     

    Is there any other option ? Please advise.

     

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    @RandyHayes Unfortunately you can't change it to a dropdown using 'Allowed' Values in Power Apps for teams.   The dropdown control is a classic control and it's not an option.

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

    @JR-BejeweledOne 

    Yes, teams controls are much different.  I did not notice that this was a teams app though!?

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

    @Sajith 

    You don't necessarily need a custom card in the form for what you are doing.  A custom card is not going to participate in the form functions for submitting data.  Usually, they become placeholders or spacing for the form.  

    Now, that doesn't mean you can use them and add controls in it and then reference them from other datacards, but they will not (as a datacard) provide values for the submit.

     

    You might be interested to look over this video on Forms Plus - everything you ever wanted to know about forms.

    It is a lengthy video, but it appears that you are really trying to make a form have a very custom interface to to.  In Part 3 of that video, separating the interface from the form is discussed pretty completely.

     

    See if that shed some light on what you're trying to accomplish. In it, you'll see that the controls in a datacard are not highly relevant to the form.  What is relevant is the Default and Update properties of the datacards.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard