The problem is that the Text object and its textfield function have no relationship to any other object you’ve made other than the one specified by a guid id.
I made an example for another person some time ago that was slightly different but similar. You could modify it to do what you’re looking for.