تنظيم صفحاتك في مجموعات يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
ملاحظات حول الاختبار
تنفيذ عنصر Feedback، الذي يحتوي على سمات شائعة لجميع الملاحظات، مثل عرض النص أو الروابط
يمكن إضافة ملاحظات إلى عناصر Form التي يمكن تقييمها.
// Setting feedback which should be automatically shown when a user responds to// a question incorrectly.constform=FormApp.create('My Form');consttextItem=form.addTextItem().setTitle('Re-hydrating dried fruit is an example of what?');constfeedback=FormApp.createFeedback().setDisplayText('Good answer, but not quite right. Please review chapter 4 before next time.',).addLink('http://wikipedia.com/osmosis');textItem.setFeedbackForIncorrect(feedback);
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003eQuizFeedback\u003c/code\u003e objects store common feedback properties like display text and links for Google Forms.\u003c/p\u003e\n"],["\u003cp\u003eFeedback can be linked to form items and automatically displayed based on user responses (e.g., incorrect answers).\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use \u003ccode\u003egetLinkUrls()\u003c/code\u003e and \u003ccode\u003egetText()\u003c/code\u003e methods to retrieve associated URLs and display text from \u003ccode\u003eQuizFeedback\u003c/code\u003e objects.\u003c/p\u003e\n"]]],["Feedback, used with gradeable form items, provides display text and links. Feedback is created via `FormApp.createFeedback()`, allowing the setting of display text with `setDisplayText()` and adding links with `addLink()`. `setFeedbackForIncorrect()` associates the feedback with a question to be shown on incorrect responses. The methods `getLinkUrls()` retrieves associated URLs, and `getText()` gets the feedback's display text. These features offer customized information and guidance for users.\n"],null,["QuizFeedback\n\nThe bean implementation of a Feedback, which contains properties common to all feedback, such as\ndisplay text or links.\n\nFeedback can be added to gradeable [Form](/apps-script/reference/forms/form) items.\n\n```javascript\n// Setting feedback which should be automatically shown when a user responds to\n// a question incorrectly.\nconst form = FormApp.create('My Form');\nconst textItem = form.addTextItem().setTitle(\n 'Re-hydrating dried fruit is an example of what?');\nconst feedback =\n FormApp.createFeedback()\n .setDisplayText(\n 'Good answer, but not quite right. Please review chapter 4 before next time.',\n )\n .addLink('http://wikipedia.com/osmosis');\ntextItem.setFeedbackForIncorrect(feedback);\n``` \n\nMethods\n\n| Method | Return type | Brief description |\n|---------------------------------|-------------|-------------------------------------------------------|\n| [getLinkUrls()](#getLinkUrls()) | `String[]` | Gets a list of the URLs associated with the Feedback. |\n| [getText()](#getText()) | `String` | Gets the Feedback's display text. |\n\nDetailed documentation \n\n`get``Link``Urls()` \nGets a list of the URLs associated with the Feedback. These are displayed to the user as a list\nof helpful links.\n\nReturn\n\n\n`String[]` --- a list of the URLs associated with the Feedback\n\n*** ** * ** ***\n\n`get``Text()` \nGets the Feedback's display text. This text is shown to the user after they've submitted a\nresponse.\n\nReturn\n\n\n`String` --- the Feedback's text"]]