Hi @Anonymous,
Okay, thanks for the details.
Actually, if you put the SubmitForm() and Patch() function together, it do cause the error because the Gallery1.Selected could not be recognized.
I am confused that there are two submit button, one is a tick and another is your Update button, both of them are used to submit the form?
I want to confirm with you that if you want to update the status after you submit the form or before you submit the form.
If you want to update the status just after you submit the form, you could set the OnSuccess property of your form as below:
Patch(DataSource,
Form1.LastSubmit,
{Status:{Value:"In Progress"}}// Assume that Status is a Choice column
)