Please help me!

I know this might sound a little confusing, but I will try to be as specific as possible. Ok what I want to do is make an order form. I want to make 2 input text boxes that the customer can fill out, one for color and one for size. Then I want to automatically generate a sort of code based on what the customer entered, so I think I will need a dynamic text box on the side for the code to appear. But my question is, Is there a way to make the dynamic box equal to both of the things the customer put it? Like if they enter “blue” for color and “large” for size, is there a way to make the dynamic box generate a code saying “bluelarge” Do you know what I mean? Any help would be greatly appreciated! Thanks a lot. :sigh: