You have an example in the current code... using .text for
setting the text property of your new textfield. You just need the
same property to access the current value of any textfield.
Assuming the input field is called numberTextField and is in the
same timeline as the script...