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: "Lead source"
description: "A simple form that stores stable values for human-readable options."

sections:
  - id: section_1
    title: "Your details"
    fields:
      - id: full_name
        type: short_text
        label: "Full name"
        validators:
          - required

      - id: lead_source
        type: single_select
        label: "How did you hear about us?"
        options:
          - label: "Search engine"
            value: "search"
          - label: "Social media"
            value: "social"
          - label: "Friend or colleague"
            value: "referral"
          - label: "Advertisement"
            value: "ad"
        validators:
          - required

    next: done