Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Tipo di feedback
Un enum che rappresenta i tipi di feedback supportati. Puoi accedere ai tipi di feedback da FormApp.FeedbackType.
Per chiamare un enum, devi chiamare la relativa classe, il nome e la proprietà di base. Ad esempio,
FormApp.FeedbackType.CORRECT.
// 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?');// Set "Dogs" as the correct answer to this question.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().setDisplayText('Dogs rule, cats drool.').build(),);
Proprietà
Proprietà
Tipo
Descrizione
CORRECT
Enum
Feedback visualizzato automaticamente ai partecipanti per una domanda a cui è stata data una risposta corretta.
Il feedback corretto può essere allegato solo a un tipo di domanda che supporta la valutazione automatica (ad es. pulsanti di opzione, caselle di controllo, selezione)
INCORRECT
Enum
Feedback visualizzato automaticamente ai partecipanti per una domanda a cui è stata data una risposta errata.
Il feedback errato può essere allegato solo a un tipo di domanda che supporta la valutazione automatica (ad es. pulsante di opzione, casella di controllo, elenco di selezione)
GENERAL
Enum
Feedback visualizzato automaticamente ai partecipanti quando inviano la loro risposta.
Il feedback generale può essere allegato solo ai tipi di domande che non supportano la valutazione automatica, ma sono valutabili (ovvero tutti tranne la griglia).
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-12-22 UTC."],[[["`FeedbackType` is an enum used to represent different types of feedback in Google Forms, accessible via `FormApp.FeedbackType`."],["It includes three properties: `CORRECT`, `INCORRECT`, and `GENERAL`, used to specify feedback for correct answers, incorrect answers, and general feedback respectively."],["Feedback is displayed to respondents automatically based on their answers and the type of feedback specified."],["Each feedback type is associated with specific question types it can be applied to for providing targeted feedback to users."]]],[]]