Hello, I created an application and I would like that when the user clicks on the button below, it sends his name to my SharePoint list. But unfortunately my code is not working. Can you help me please ? Thanks in advance !

My SharePoint list :

"Name" column: Type People Picker
"Date" column: Type Date
"Number_Office" column: Number type