Consolidating selections from multiple drop down menus to one single line item property using js

Trying to consolidate the selections to one line item property line. Here is the code I have. I modified it from a pre-existing code I found which consolidates multiple Checkbox inputs, but I appear to be missing something for it to work with dropdown selects.


  
	


I had the onchange function in the wrong spot