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.
version: 1
title: "Example form"
description: "A comprehensive date example."
sections:
- id: section_1
title: "Section 1"
fields:
- id: question_1
type: date
label: "Question 1"
validators:
- required
- type: min
value: "2026-01-01"
message: "Use a date on or after 2026-01-01."
- type: max
value: "2026-12-31"
message: "Use a date on or before 2026-12-31."
- type: expression
expression: "![0, 6].includes(new Date(data.question_1).getUTCDay())"
message: "Choose a weekday."
next: done