Hello...I am hoping someone can help me or point me in the right direction.

I am looking to put together a "code" generator for my members. The idea that i had was for the member to fill out questions on a form and after hitting submit the "code" would populate in a text field on the same page so they can copy and then paste it where they need to.

Can anyone point me to some type of how to so I can get this accomplished?

Thank you.