SOLVED: Using Hooks to insert current user ID to form submisson

Thank you for all the feedback.
I am basically trying to find out how much and what kind of information i can send to a database through a form submission and what needs to be coded. I also experienced that multireference fields in the databases are probably not accessible with form elements like dopdown menus or checkboxes; meaning i didnt find a way to connect the elements to a multireference field.