I have written a form script that eliminates the chosen answer. This means it has to process a function onFormSubmit. While the script works, the end-user has to wait 30 seconds before they click resubmit or else the choice will not be eliminated.
Is there a way I can prevent submissions until the onFormSubmit function is completed?
I was able to accomplish this (thank you AdamL) using setAcceptingResponses(enabled).