You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can we use App scripts code to create a google from and post response in google spreadsheet. #576
Can we use the app scripts code to create google forms and post the response from google form into google spreadsheet.Is there any rest API's exposed to do so or any sample app script code ?
changed the title [-]Can we use App scripts in google forms to create a from and post response in google spreadsheet.[/-][+]Can we use App scripts code to create a google from and post response in google spreadsheet.[/+]on May 12, 2016
// Open a form by ID and create a new spreadsheet.varform=FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');varss=SpreadsheetApp.create('Spreadsheet Name');// Update form properties via chaining.form.setTitle('Form Name').setDescription('Description of form').setConfirmationMessage('Thanks for responding!').setAllowResponseEdits(true).setAcceptingResponses(false);// Update the form's response destination.form.setDestination(FormApp.DestinationType.SPREADSHEET,ss.getId());
Responses to a form are posted to the form's destination spreadsheet.
Activity
[-]Can we use App scripts in google forms to create a from and post response in google spreadsheet.[/-][+]Can we use App scripts code to create a google from and post response in google spreadsheet.[/+]jmdobry commentedon Jun 9, 2016
For example (from https://developers.google.com/apps-script/reference/forms/form):
Responses to a form are posted to the form's destination spreadsheet.
saumyasinghal747 commentedon Dec 1, 2020
How can I do this using the Node.js client?