回答編集履歴
1
a
answer
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
const colAB = vals.map(e=>e[27]).filter(e=>e !== "");
|
5
5
|
const colAC = vals.map(e=>e[28]).slice(0,2);
|
6
6
|
const choices = colAB.concat(colAC);
|
7
|
-
FormApp.openById("id").getItems(FormApp.ItemType.
|
7
|
+
FormApp.openById("id").getItems(FormApp.ItemType.MULTIPLE_CHOICE).forEach(i=>{
|
8
8
|
if(i.getTitle().indexOf("参加希望日程") === -1) return;
|
9
|
-
i.
|
9
|
+
i.asMultipleChoiceItem().setChoiceValues(choices);
|
10
10
|
});
|
11
11
|
}
|
12
12
|
```
|