Class QuizFeedback

QuizFeedback

L'implementazione del bean di un feedback, che contiene proprietà comuni a tutti i feedback, come testo o link visualizzati.

È possibile aggiungere feedback agli elementi valutabili Form.

// Setting feedback which should be automatically shown when a user responds to a question
// incorrectly.
var textItem = form.addTextItem().setTitle('Re-hydrating dried fruit is an example of what?');
var feedback = FormApp.createFeedback()
  .setDisplayText(
      “Good answer, but not quite right.  Please review chapter 4 before next time.”)
  .addLink("http://wikipedia.com/osmosis");
textItem.setFeedbackForIncorrect(feedback);

Metodi

MetodoTipo restituitoBreve descrizione
getLinkUrls()String[]Restituisce un elenco degli URL associati al feedback.
getText()StringRestituisce il testo visualizzato del Feedback.

Documentazione dettagliata

getLinkUrls()

Restituisce un elenco degli URL associati al feedback. che vengono mostrati all'utente sotto forma di link utili.

Ritorni

String[]: un elenco degli URL associati al feedback


getText()

Restituisce il testo visualizzato del Feedback. Questo testo viene mostrato all'utente dopo che ha inviato una risposta.

Ritorni

String: il testo del Feedback