Announcements
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.
@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.
@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?
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.
@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.
However, when I select the data card for one that I added a combo box to, Update is there.
Just add the values I posted to the Update property of the card - you will need to include the proper control names.
@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.
@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.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 294 Most Valuable Professional
11manish 210
Valantis 169