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 / What should the Defaul...
Power Apps
Answered

What should the Default setting be for DataCard Values on a new form.

(0) ShareShare
ReportReport
Posted on by 58

Hi.

I'm looking to optimise an form that is just used to enter new records.

 

By default when I add a form to a screen it's in edit mode and the default of each DataCardValue field is Parent.Default.  However, I'll set the form default mode to New and the form will never show current records and will just be used to enter new records. 

 

What should the Default value of each DataCardValue be? 

 

Thanks!

Categories:
I have the same question (0)
  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @JohnJDB ,

     

    When you use NewForm() function it will open a clean form for you to enter new records and save it.

    When you use EditForm() function, it will open Form in edit mode where you specify which existing record you want to modify when you define the record in 'items' property on the Form.

     

    Default is basically giving the ability to show pre-defined items on the Form. 

    When you use NewForm then there's no value in Parent.Default while if displaying existing record, the value that is stored in the DataCardValues or fields is defined with Parent.Default.

     

    You can explore more as you use the app.

     

    Hope this helps

  • Verified answer
    JohnJDB Profile Picture
    58 on at

    HI Ethan,

    Thanks for your message.

     

    I apologise, but in between posting and your response, I found this  https://www.youtube.com/watch?v=6PYhQH4WVvA

     

    It explains that the Parent.Default is the Default value in the Datasource.

     

    It does actually come up when i run I use NewForm().  Here for example I opened the form using NewForm and it came up.  It doesnt when the form is in edit view.

    pic1.png

     

    Therefore as dont need default values in the form, I believe I can remove the Default formula from the datafields and save on some IO.

     

    Sorry I do not know how to delete the question, but anyway, this might help someone.

  • JohnJDB Profile Picture
    58 on at

    IF you agree, you might like to edit your answer and I'll accept it.  Cheers

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @JohnJDB ,

     

    You can mark your response as answer if it helps. 

    Not an issue. 

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

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard