widget.addChoiceAnswer、widget.addFreeAnswerで追加された、回答済の回答内容を取得します。
回答内容によって動作を変更する等の用途で使用します。
Syntax:
widget.getAnsweredQuestion(question_id);Arguments:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| question_id | String | ○ | widget.addChoiceAnswer、widget.addFreeAnswerで指定したquestion_idを指定します。数値で入力すると、文字列型に変換されます。 |
Return Value:
| Name | Type | Description |
|---|---|---|
| choices | `widget. | 選択式の回答の場合、choicesフィールドに回答内容が入ります。 |
| free_answer | String | 自由記述式の回答の場合、free_answerフィールドに回答内容が入ります。 |