Is there a way to have a checkbox fill a text box?

Is there a way to have a checkbox fill a text box?

Is there any way to have a single line text box fill with the choices from a checkbox list and have them separated by commas?