How can I add the User ID in my database?

Hi, I am learning how to use the Wix code and I have a problem with my database. I have a form in which the user gives some information and I want to save the user ID in the dataset.
The problem is that if the user sends the information more than once without logging out (staying the page), the user ID does not appear in the dataset, leaving a blank space. To illustrate:

I am a beginner in the wix code and I don’t know how I can solve this because the function button14_click() does not appear to be doing anything. This is the code that I have written (sorry I can’t upload a piece of code I don’t know why):

Please any help is welcome!
Thank you in advance.

The problem is that you set the field of the dataset on load.
If the userID variable isn’t set in the it could give an empty userID.
But,
You don’t need the userID since there is a column _owner(its a hidden column in the collection).
this is always set to the user adding data to the dataset.
and does not need to be added manualy.

Kind regards,
Kristof.

Wow, thank you so much! I didn’t know that the owner column existed :sweat_smile: That completely solves my problem.

Thank you very much!
Kind regards,
Elsa