How can I save inputs for user generated textboxes?

Basically, I need to be able to take user input and based on that, create a set of textboxes which can take input and save.

I’ve managed to do the first parts, which is to take the user input and create the textboxes. However, I’m stuck on being able to get the values from the input. Here’s what I have right now: HTML:{{#each item in items}} <tr> <td>{{driver.bearing}}</td> <td>{{in - Pastebin.com

The code above generates a random ID and sets the value of the textbox so I can refer to it in the code. However, instead, it replaces the blank textbox with the random ID.

So my question is, when I go to save the user inputs for the generated textboxes, how can I get the textbox values?