Google Apps Script API
    Preparing search index...

    A question item that allows the respondent to enter a block of text. Items can be accessed or created from a Form. When used in a quiz, these items are graded.

    // Open a form by ID and add a new paragraph text item.
    var form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');
    var item = form.addParagraphTextItem();
    item.setTitle('What is your address?');
    
    interface ParagraphTextItem {
        clearValidation(): ParagraphTextItem;
        createResponse(response: string): ItemResponse;
        duplicate(): ParagraphTextItem;
        getGeneralFeedback(): QuizFeedback;
        getHelpText(): string;
        getId(): number;
        getIndex(): number;
        getPoints(): number;
        getTitle(): string;
        getType(): ItemType;
        isRequired(): boolean;
        setGeneralFeedback(feedback: QuizFeedback): ParagraphTextItem;
        setHelpText(text: string): ParagraphTextItem;
        setPoints(points: number): ParagraphTextItem;
        setRequired(enabled: boolean): ParagraphTextItem;
        setTitle(title: string): ParagraphTextItem;
        setValidation(validation: ParagraphTextValidation): ParagraphTextItem;
    }
    Index

    Methods