// Add a paragraph text item to a form and require the answer to be at least 100// characters.constform=FormApp.create('My Form');constparagraphTextItem=form.addParagraphTextItem().setTitle('Describe yourself:');constparagraphtextValidation=FormApp.createParagraphTextValidation().setHelpText('Answer must be more than 100 characters.').requireTextLengthGreaterThanOrEqualTo(100).build();paragraphTextItem.setValidation(paragraphtextValidation);
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eParagraphTextValidation is a tool in Google Forms to set validation rules for paragraph text items.\u003c/p\u003e\n"],["\u003cp\u003eIt allows setting requirements like minimum character length with help text to guide users.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use \u003ccode\u003eParagraphTextValidation\u003c/code\u003e through Apps Script to enforce these rules within their forms.\u003c/p\u003e\n"]]],[],null,["ParagraphTextValidation\n\nA DataValidation for a [ParagraphTextItem](/apps-script/reference/forms/paragraph-text-item).\n\n```javascript\n// Add a paragraph text item to a form and require the answer to be at least 100\n// characters.\nconst form = FormApp.create('My Form');\nconst paragraphTextItem =\n form.addParagraphTextItem().setTitle('Describe yourself:');\nconst paragraphtextValidation =\n FormApp.createParagraphTextValidation()\n .setHelpText('Answer must be more than 100 characters.')\n .requireTextLengthGreaterThanOrEqualTo(100)\n .build();\nparagraphTextItem.setValidation(paragraphtextValidation);\n```"]]