field typestextarea

Textarea

A multi-line text input for longer free-form responses.

Overview

The Textarea field renders a resizable multi-line text box, ideal for capturing longer responses such as comments, feedback, descriptions, or addresses. Unlike the single-line Text Input, the textarea allows respondents to enter multiple paragraphs and use newline characters.

You can control the initial height via the rows property and limit the total character count with validation.maxLength. A live character counter is shown when a maxLength is configured.

Properties

PropertyTypeDefaultDescription
idstringUnique field identifier (UUID in the builder).
typestringtextareaMust be "textarea".
labelstringHuman-readable label shown above the field or step heading.
requiredbooleanfalseWhen true, the form cannot submit without a value.
isHiddenbooleanfalseHides the field from respondents (may still store defaults).
isDisabledbooleanfalseRenders the field read-only.
instructionstringundefinedHelp text shown below the label (not the same as placeholder).
validation.minnumberundefinedMinimum length (text) or minimum numeric value (number) or digit count (phone).
validation.maxnumberundefinedMaximum length, numeric bound, or digit count (phone).
validation.patternstringundefinedRegex the value must match.
validation.messagestringundefinedCustom error when validation fails.
conditionalRulesarrayundefinedShow this field when any rule matches another field's value.
logicobjectundefinedSimple visibility: depends_on + show_if_value.
reportingobjectundefinedAdmin submissions table: includeInTable, labelOverride, sortable, filterable.
integrationKeystringundefinedStable alias for external integrations instead of id.
textareaRowsnumber4Visible row count (height).
textareaColsnumberundefinedOptional fixed column width.
validation.language"en" | "ne" | "any"undefinedRestrict input language when set.

JSON Schema

{
  "type": "textarea",
  "label": "Additional Comments",
  "name": "comments",
  "required": false,
  "placeholder": "Share any additional feedback...",
  "rows": 5,
  "showCharCount": true,
  "validation": {
    "maxLength": 500
  }
}

Common Use Cases

  • Open-ended feedback, support tickets, and detailed explanations
  • Cover letters, project briefs, and creative submission descriptions
  • Multi-line addresses or directions when formatting varies
  • Internal notes captured from staff or reviewers
  • Any response that benefits from paragraphs instead of a single line