I have made a Google Form and onSubmit
an app script will run iterating through all form questions and answers however some questions, when the corresponding answer is left empty, are not listed/available in the iteration. Nevertheless, many questions whose answer is empty, are "listed" in the iteration.
function onSubmit(e) {
var items = e.response.getItemResponses();
var emailBody = '';
for (i in items){
// the follwoing will not iterate all questions
emailBody+= "<br/>"+ items[i].getItem().getTitle()+": "+items[i].getResponse();
}
......... other code follows .....
}