How do I populate a daynamic text field on the stage from a function?

please delete this post