Not sure if I understand what you mean.
You can populate a text box with any text you want when pressing a button.
You can keep a text box disabled and enable it after pressing a button.
You can hide a text box and make it visible by pressing a button.
Is that what you are asking?