So, what I'm trying to do is this:
1: When I add something (ONE LINE) in the text box, then press ADD, the first button gets that text. Second time (ONE LINE), the second button gets the text and the third time (again, one line) the third button gets the text. It works until the third button. What am I doing wrong? Is there an easier way?
2. If I copy MULTIPLE (3) lines in the textbox and press ADD I want the lines to get the text from the different lines. So if the textbox has the text:
1
2
3
If I then click ADD, I want the buttons to get the numbers 1, 2 and 3 in order. Do you understand?