I have a Google form, which writes response data to a spreadsheet containing a script that is supposed mail the form-filler with his/her answers to the form.
I had success with e.values
before, and the mail generated just fine. Now there seems to be some problems, as empty answers are skipped, meaning that e.values[9]
for example becomes actually column 9, instead of 10, as it used to be (in the spring of 2014, at least). So if there are one or more fields left empty the following answers move backward in the array one or more steps, depending on the number of questions left empty. Behaviour like this wreaks havoc in carefully planned scripts!
I also tried to use namedValues
, but it can't tolerate empty fields either!
Does anybody know of a work around? I'd appreciate ideas.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…