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 / Default values in fiel...
Power Apps
Answered

Default values in fields don't write to SharePoint list on Submit

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a request form that users enter data into. When a user opens up the form, there is a field for User and Request Date. These are set to default to User().FullName and Today(). It shows up fine when I run the app. However, when I push the Submit button to SubmitForm, these fields do not write to the SP list. Is there a property I'm missing? I don't see the Update property when I select the card.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,949 Most Valuable Professional on at

    @Anonymous ,

    You need an Update property in the card or it will do exactly what is happening now (nothing).

    The User field will be

    YourTextBoxName.Text

    and the Date Field (if a date picker)

    YourDatePickerName.SelectedDate

     

    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WarrenBelz  thanks for the reply. Why doesn't it have an Update field? I'm not sure how to add one. Do I have to delete the field and add a new text box?

  • WarrenBelz Profile Picture
    155,949 Most Valuable Professional on at

    @Anonymous ,

    Where are these Controls located and what type of Controls are they? If they are in a Data Card on a Form, the Update is on the Card.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WarrenBelz 

    I added the field from the SP list that I'm submitting the form data to. So when I selected the fields to add to the form, it automatically created the data cards and data card values. I set the data card value defaults and now text to Today() and User().FullName. When I have the card selected, there is no update.

     

    The user should not be able to edit these fields.

     

    smileamile_0-1599950372668.png

     

    However, when I select the data card for one that I added a combo box to, Update is there.

    smileamile_1-1599950419253.png

     

     

     

  • WarrenBelz Profile Picture
    155,949 Most Valuable Professional on at

    @Anonymous ,

    Just add the values I posted to the Update property of the card - you will need to include the proper control names.

     

    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WarrenBelz As seen in the first screenshot in my previous reply, Update is not in the list of properties when the card is selected. That is the problem. I don't know how to get to it.

  • Verified answer
    WarrenBelz Profile Picture
    155,949 Most Valuable Professional on at

    @Anonymous ,'

    Every data card (not Control) has an Update Property. Delete the card and add it again from the "Add Fields" dialogue in Edit, selecting the field you need.

    Also I assume these are Text and Date (respectively) fields in your data source?

    Also you need to set the Default on the Control, not the card.

    The DatePicker will be in the DefaultDate.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks. My problem was I set the card to view instead of edit, which took away the Update property on the card. I removed and re-added from the field list. Then I deleted the text box and added a label to the card for the date and user. 

    Things are slowly starting to make sense! Thanks for the 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

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

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard