You should also handle the cases where the inputs are text, radio buttons, and checkboxes...and probably even hidden inputs. 

Checking for a generic input [i.e. `siblings('input')`] could cause a problem if an instructor/TA adds buttons with `<input type="button">` to the question and you set its value to empty (text would be wiped out). So explicitly checking the types of input would be best.