Players Name

I can program the movement of a character, I can make excellent graphics being a graphics designer for a year, but I have encountered an embarrassing problem. Its a simple one too. I simply need a user to be able to enter the name they want for their character, click a button and make the name appear in a dynamic text box. The variable name of the dynamic text box is “name” and the variable of the input box is “entername”.

Please help me.