Capture and store user input

Hello fellow coders. What is the best / right way to capture and store user input as an object?
I have a form with about 10 input fields and i want to capture and store the information as an object. I know about function constructors but i understand it is not good practice to create a constructors with lots of parameters , I also know about prototype inheritance but again i understand that it is not good practice to use prototype inheritance to add new variables to an object already created via a constructor function.
I have been learning JS for a few months on and off using various online resources and i still have some big gaps in my JS knowledge.
Any help / suggestions would be greatly appreciated

1 Like