I have a Google script to construct a google form. The script fills the form using a Spreadsheet which contains the questions and corresponding options.
The question displayed in the form needs to be updated at regular intervals. I hope to update the question in the form by changing the question in the Spreadsheet as follows:
- I use
onOpen()
for the script, so that each time the form is accessed the script reconstructs the most updated form.
However, currently each time I run the Script a new question is added to the form and the previous outdated questions still stay on the form. I need to edit the existing question on the Form using the script to update it to show the latest question. I could not find a way to edit an existing form question using google script. Anyone know how?
The question and options are updated in the spreadsheet at regular intervals.
I want the script to be able to edit the question automatically. All my attempts to find a function which is able to edit an already available question on a Form have been in vain! (PS : All functions I found are able to create a new question and its options/ but not able to edit an existing form question/option)