Capture user's name in input text

i have a question…please help me
i m doin a page that allow user to enter their name,and user’s name will be view in other frame…
i dunno how to ‘capture’ user’s name…