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: "Event registration"
description: "A simple form that emails a confirmation to the respondent."

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

      - id: email
        type: email
        label: "Email address"
        validators:
          - required

    next: done

connections:
  - type: email
    # Send the confirmation to the email address submitted in the form.
    to: "{{data.email}}"
    subject: "Registration received"
    body: "Thanks, {{data.full_name}}. Your registration has been received."