디스플레이 텍스트와 같이 모든 의견에 공통적인 속성의 setter를 포함하는 기본 FeedbackBuilder입니다. 의견 객체를 빌드하는 데 사용됩니다.
// Open a form by ID and add a new list item.constform=FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');constitem=form.addListItem();item.setTitle('Do you prefer cats or dogs?');item.setChoices([item.createChoice('Dogs',true),item.createChoice('Cats',false),]);// Add feedback which will be shown for correct responses; ie "Dogs".item.setFeedbackForCorrect(FormApp.createFeedback().setText('Dogs rule, cats drool.').build(),);
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eQuizFeedbackBuilder is used to create custom feedback for quiz responses in Google Forms.\u003c/p\u003e\n"],["\u003cp\u003eIt allows you to set feedback text, add links to supplemental material, and build a Feedback object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esetText()\u003c/code\u003e, \u003ccode\u003eaddLink()\u003c/code\u003e, and \u003ccode\u003ebuild()\u003c/code\u003e methods are key to using this class.\u003c/p\u003e\n"],["\u003cp\u003eThis class is specifically designed for quiz feedback within Google Forms.\u003c/p\u003e\n"]]],[],null,["QuizFeedbackBuilder\n\nThe base FeedbackBuilder that contains setters for properties common to all feedback, such as\ndisplay text. Used to build Feedback objects.\n\n```javascript\n// Open a form by ID and add a new list item.\nconst form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');\nconst item = form.addListItem();\nitem.setTitle('Do you prefer cats or dogs?');\nitem.setChoices([\n item.createChoice('Dogs', true),\n item.createChoice('Cats', false),\n]);\n// Add feedback which will be shown for correct responses; ie \"Dogs\".\nitem.setFeedbackForCorrect(\n FormApp.createFeedback().setText('Dogs rule, cats drool.').build(),\n);\n``` \n\nMethods\n\n| Method | Return type | Brief description |\n|------------------------------------------------------|------------------------------------------------------------|---------------------------------------------------------------|\n| [addLink(url)](#addLink(String)) | [QuizFeedbackBuilder](#) | Adds a link to the feedback's supplemental material. |\n| [addLink(url, displayText)](#addLink(String,String)) | [QuizFeedbackBuilder](#) | Adds a link to the feedback's supplemental material. |\n| [build()](#build()) | [QuizFeedback](/apps-script/reference/forms/quiz-feedback) | Builds a Feedback of the corresponding type for this builder. |\n| [copy()](#copy()) | [QuizFeedbackBuilder](#) | Returns a copy of this builder. |\n| [setText(text)](#setText(String)) | [QuizFeedbackBuilder](#) | Sets the feedback text. |\n\nDetailed documentation \n\n`add``Link(url)` \nAdds a link to the feedback's supplemental material.\n\nParameters\n\n| Name | Type | Description |\n|-------|----------|--------------------------------------------|\n| `url` | `String` | the link to display under the display text |\n\nReturn\n\n\n[QuizFeedbackBuilder](#) --- this [QuizFeedbackBuilder](#), for chaining\n\n*** ** * ** ***\n\n`add``Link(url, displayText)` \nAdds a link to the feedback's supplemental material.\n\nParameters\n\n| Name | Type | Description |\n|-----------------|----------|--------------------------------------------|\n| `url` | `String` | the link to display under the display text |\n| `display``Text` | `String` | the text to display for the link |\n\nReturn\n\n\n[QuizFeedbackBuilder](#) --- this [QuizFeedbackBuilder](#), for chaining\n\n*** ** * ** ***\n\n`build()` \nBuilds a Feedback of the corresponding type for this builder.\n\nReturn\n\n\n[QuizFeedback](/apps-script/reference/forms/quiz-feedback) --- [QuizFeedback](/apps-script/reference/forms/quiz-feedback)\n\n*** ** * ** ***\n\n`copy()` \nReturns a copy of this builder.\n\nReturn\n\n\n[QuizFeedbackBuilder](#) --- [QuizFeedbackBuilder](#)\n\n*** ** * ** ***\n\n`set``Text(text)` \nSets the feedback text.\n\nParameters\n\n| Name | Type | Description |\n|--------|----------|--------------|\n| `text` | `String` | the new text |\n\nReturn\n\n\n[QuizFeedbackBuilder](#) --- this [QuizFeedbackBuilder](#), for chaining"]]