Class QuizFeedback
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
QuizFeedback
Stellt Feedback dar, das mit bewertbaren Formularelementen verknüpft werden kann und Eigenschaften wie Anzeigetext und hilfreiche Links enthält.
Feedback kann zu bewertbaren Form-Elementen hinzugefügt werden.
// 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().setText('Good answer, but not quite right. Please review chapter 4 before next time.',).addLink('http://wikipedia.com/osmosis');textItem.setFeedbackForIncorrect(feedback);
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2026-03-06 (UTC)."],[],["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"]]