Skip to main content
Menu
On this page

Long text

Collect a multiline answer with an optional character limit.

Rendered by the SDK
@usefillo/react
Interactive local preview. Nothing is submitted.

The long-text field collects a multiline answer and stores it as a string.

Options

OptionTypeDefaultBehavior
maxLengthnumber20,000 character hard capSets a smaller explicit character limit
placeholderstringnoneShows a hint inside the empty control
requiredbooleanfalseRejects blank or whitespace-only text

Fillo trims the answer before storing it. The renderer shows how many characters remain based on the configured maxLength, and the server enforces the same limit rather than trusting the browser.

Add a long-text field

In the dashboard, select Add block, choose Long text, and set a character limit that matches the question.

ts
const feedbackField = {
  id: "feedback",
  kind: "long_text",
  label: "What should we improve?",
  maxLength: 2000,
  placeholder: "Tell us what happened",
} as const;

Updated

Was this page helpful?