Hi @Smatera9681,
Could you please share a bit more about your scenario?
How do you summit your data into your SP list? Using SubmitForm function?
Do you want to update the Attending field of the submitted item to YES within your SP list?
I assume that you use SubmitForm function to submit your form data into your SP list, and want to update the Attending field of the submitted item to YES, is it true?
If you want to update the Attending field of the submitted item to YES, I think the Patch function could achieve your needs. I have made a test on my side, please take a try with the following workaround:
Add a button control within your app, set the OnSelect property to following:
SubmitForm(EditForm1) /*<- EditForm1 represents the Edit form control within your app */
Set the OnSuccess property of the Edit form (Editform1) to following:
Patch(
'YourSPList',
EditForm1.LastSubmit,
{
Attending: YES
}
)
Or
Patch(
'YourSPList',
LookUp('YourSPList', ID = EditForm1.LastSubmit.ID),
{
Attending: YES
}
)
More details about the Patch function, please check the following article:
Patch function
In addition, if you want to update an existing record in your SP list using Patch function, please take a try with the following formula:
Patch(
'YourSPList',
LookUp('YourSPList', ID = "The specific List Item ID"), /* <-- Find the speific item you want to update based on Primary/Identity column */
{
Column1: "xxx",
Column2: "xxx",
Column3: "xxx",
...
}
)
Best regards,
Kris