function setSelectToInput(select){
  hiddenInputField = select.nextSibling;  // select and inputfield must be kept next to eachother in CombiSelect HTML 
  hiddenInputField.value = select.value;  // value attribute of option must be set
  
  inputField = hiddenInputField.nextSibling;
  inputField.value = select.options[ select.selectedIndex ].text;
}
