Tuwex Inc logo
Type something to search...

Long Text Field

The Long Text field provides a multi-line text area for longer text responses. This field is perfect for collecting detailed information like comments, descriptions, or feedback.

Configuration

Basic Settings

  • Field Label: The label displayed above the textarea
  • Placeholder: Placeholder text shown when the field is empty
  • Required: Whether the field must be filled before submission
  • Default Value: Pre-filled value for the field
  • Rows: Number of visible text rows (height of the textarea)

Validation Options

Configure validation rules for long text fields:

  • Minimum Length: Set the minimum number of characters required
  • Maximum Length: Set the maximum number of characters allowed
  • Word Count: Limit or require a specific word count

Example Usage

{
  type: "long-text",
  name: "description",
  label: "Product Description",
  placeholder: "Enter a detailed description of your product",
  required: true,
  rows: 6,
  validation: {
    minLength: 50,
    maxLength: 500
  }
}

Best Practices

  1. Set an appropriate number of rows for the expected content length
  2. Provide clear character or word count limits
  3. Use descriptive labels and placeholder text
  4. Consider showing a character counter for better user experience
  5. Set reasonable maximum lengths to prevent excessive data storage