SubmitForm not working with auto-generated DataCard


Good afternoon everyone! I'm running into an issue where I'm trying to call `SubmitForm(Form1)` with Form1 being a SharePoint list, and I'm getting an error message saying I need to add the Title field.


This is what the form looks like before submitting.




The "TaskName" DataCardValue generates a task name with `User().FullName & "-" & Now()` but it will not update when clicking the SubmitForm button and gives me the following error.







I cannot make the "Task Name" an optional item (Sharepoint makes it required) so I was wondering if anyone had come up with a solution for this? The Task Name is irrelevant to us so I was hoping to just submit an auto-generated name.

2 Replies
best response confirmed by Brandon McGinnis (Contributor)

Hi @Brandon McGinnis,


The "Title" field is usually required in most SharePoint lists. If you are not using the Title field, set "Require that this column contains information" to "No". 


If you don't see a "Title" column then it has probably been renamed (Task Name?).


I hope this helps.



Check the "Update" property on that Task Name Data card. If the field name or field should show "Title" then you know it's the title column.

Anyway, in the Update property, you need to put the User().FullName & "-" & Now()

That way it gets that value for the update when you envoke SubmitForm.