回答編集履歴
1
書式修正
answer
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
すみません、半分ほど自己解決しました。
|
2
2
|
[https://developers.google.com/apps-script/reference/forms/choice](https://developers.google.com/apps-script/reference/forms/choice)
|
3
3
|
|
4
|
+
```Google Apps Script
|
4
5
|
function getCategory() {
|
5
6
|
var mspid = "xxxxxxxxxxxxxxxxxx"; //スプレッドシートのID
|
6
7
|
var ss = SpreadsheetApp.openById(mspid);
|
@@ -20,7 +21,7 @@
|
|
20
21
|
}
|
21
22
|
qui.setChoices(choices);
|
22
23
|
}
|
23
|
-
|
24
|
+
```
|
24
25
|
ただ、この内容だと新しい質問事項の追加なので
|
25
26
|
①既存の質問事項のIDを取得→選択肢をクリア・再設定という内容にして起動をトリガーに実行する様にしたい
|
26
27
|
②選択肢の表示と実際に送信される値を別にしたい
|