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 / During Edit, Fields Di...
Power Apps
Unanswered

During Edit, Fields Display Default Values Instead of Submitted Values

(0) ShareShare
ReportReport
Posted on by

Hello, I am relatively new to Powerapps. I did a from which is integrated to my Sharepoint List. I have set default values for some fields for easier input during creation of item but still editable. My problem is after submission of an item and I try to edit a certain item from the list, the form displays the default values instead of the values I submitted. Looking forward to your kind assistance.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at

    Hi @Ouryuusama ,

    In the Default, you need to allow for the Mode of the Form

    If(
     FormName.Mode = FormMode.New,
     "YourDefaultHere",
     Parent.Default
    )

     

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

  • Ouryuusama Profile Picture
    on at

    You mean I have to set this formula to the Default property of every field?

  • WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at

    @Ouryuusama ,

    If you want to have a different value on the particular control when the form is in New Mode (I assume that is what you want), yes. Also it may be DefaultSelectedItems (Combo Boxes) or DefaultDate (Date Pickers) with the first one being a little more complex.

     

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

  • Ouryuusama Profile Picture
    on at

    This > "Office365Users.MyProfile().GivenName" is set on the Default property of the datacardvalue. Should I set your formula on the default property of datacardvalue or the default property of the datacard? Please give example.

  • WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at

    @Ouryuusama ,

    You need to simply put back whatever was on the Control (not the data card) before you changed it, with the new value you want as the first part (as per my code supplied). This will be different on different control types.

     

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

  • Ouryuusama Profile Picture
    on at

    Like this? I am getting an error.

    キャプチャ.PNG

  • Ouryuusama Profile Picture
    on at

    Figured it should be comma after FormMode.New

  • WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at

    @Ouryuusama ,

    Fixed on original - easy to miss by one key and not see it when no red lines to help . . .

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard