How to get infromation from a Text Field

Please enter your username and password.
User name:

Password: