Class ParagraphTextValidation

पैराग्राफ़ टेक्स्ट की पुष्टि करना

ParagraphTextItem के लिए, डेटा की पुष्टि करना.

// Add a paragraph text item to a form and require the answer to be at least 100 characters.
var paragraphTextItem = form.addParagraphTextItem().setTitle('Describe yourself:');
var paragraphtextValidation = FormApp.createParagraphTextValidation()
  .setHelpText(“Answer must be more than 100 characters.”)
  .requireTextLengthGreaterThanOrEqualTo(100).build();
paragraphTextItem.setValidation(paragraphtextValidation);