// 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);
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[[["`QuizFeedback` objects store common feedback properties like display text and links for Google Forms."],["Feedback can be linked to form items and automatically displayed based on user responses (e.g., incorrect answers)."],["Developers can use `getLinkUrls()` and `getText()` methods to retrieve associated URLs and display text from `QuizFeedback` objects."]]],[]]