I need to get the selected item in a drop-down list of the google form, but I don't know how to make this.
Someone could help me?
Thanks in advance.
I need to get the selected item in a drop-down list of the google form, but I don't know how to make this.
Someone could help me?
Thanks in advance.
Sample retrieving the response for the first item of the first form submission (for the form yo which the script is bound):
function myFunction() {
var form = FormApp.getActiveForm();
var firstResponse = form.getResponses()[0];
var dropdownResponse = firstResponse.getItemResponses()[0].getResponse();
Logger.log(dropdownResponse);
}