Skip to main content
If you have not created a form before, start with Create a form.
form.yaml
version: 1
title: "Example form"
description: "A comprehensive long_text example."

sections:
  - id: section_1
    title: "Section 1"
    fields:
      - id: question_1
        type: long_text
        label: "Question 1"
        placeholder: "Type a longer answer"
        validators:
          - required
          - type: min_length
            value: 20
            message: "Enter at least 20 characters."
          - type: max_length
            value: 500
            message: "Enter no more than 500 characters."

    next: done