How do i create a textfield for input using a button?

How do i create a textfield for input using a button?