Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
JenisMasukan
Enum yang mewakili jenis masukan yang didukung. Jenis masukan dapat diakses dari FormApp.FeedbackType.
Untuk memanggil enum, Anda memanggil class induk, nama, dan propertinya. Misalnya,
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(),);
Properti
Properti
Jenis
Deskripsi
CORRECT
Enum
Masukan yang otomatis ditampilkan kepada responden untuk pertanyaan yang dijawab dengan benar.
Masukan yang benar hanya dapat dilampirkan ke jenis pertanyaan yang mendukung penilaian otomatis (misalnya, pilihan,
kotak centang, pilih)
INCORRECT
Enum
Masukan yang otomatis ditampilkan kepada responden untuk pertanyaan yang dijawab dengan salah.
Masukan yang salah hanya dapat dilampirkan ke jenis pertanyaan yang mendukung penilaian otomatis (misalnya,
tombol pilihan, kotak centang, pilih)
GENERAL
Enum
Masukan yang otomatis ditampilkan kepada responden saat mereka mengirimkan respons.
Masukan umum hanya dapat dilampirkan ke jenis pertanyaan yang tidak mendukung penilaian otomatis, tetapi
dapat dinilai (yaitu semua kecuali petak)
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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."]]],[]]