回答編集履歴

1

a

2020/03/04 15:01

投稿

papinianus
papinianus

スコア12705

test CHANGED
@@ -10,11 +10,11 @@
10
10
 
11
11
  const choices = colAB.concat(colAC);
12
12
 
13
- FormApp.openById("id").getItems(FormApp.ItemType.CHECKBOX).forEach(i=>{
13
+ FormApp.openById("id").getItems(FormApp.ItemType.MULTIPLE_CHOICE).forEach(i=>{
14
14
 
15
15
  if(i.getTitle().indexOf("参加希望日程") === -1) return;
16
16
 
17
- i.asCheckboxItem().setChoiceValues(choices);
17
+ i.asMultipleChoiceItem().setChoiceValues(choices);
18
18
 
19
19
  });
20
20