Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.declarativeforms.com/llms.txt

Use this file to discover all available pages before exploring further.

If you have not created a form before, start with Create a form.
form.yaml
version: 1
title: "Country selector"
description: "A simple form with a dropdown that can be searched."

sections:
  - id: section_1
    title: "Your details"
    fields:
      - id: country
        type: dropdown
        label: "Country"
        placeholder: "Search for a country..."
        searchable: true
        options:
          - label: "United States"
            value: "US"
          - label: "United Kingdom"
            value: "GB"
          - label: "Canada"
            value: "CA"
          - label: "Australia"
            value: "AU"
          - label: "Germany"
            value: "DE"
        validators:
          - required

    next: done