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: "Access request"
description: "A simple form that requires an answer to match a format."

sections:
  - id: section_1
    title: "Request details"
    fields:
      - id: employee_id
        type: short_text
        label: "Employee ID"
        placeholder: "EMP-12345"
        validators:
          - required
          - type: pattern
            regex: "^EMP-[0-9]{5}$"
            message: "Use the format EMP-12345."

    next: done