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 url example."
sections:
- id: section_1
title: "Section 1"
fields:
- id: question_1
type: url
label: "Question 1"
placeholder: "https://example.com"
validators:
- required
- type: pattern
regex: "^https://"
message: "Use an HTTPS URL."
- type: max_length
value: 200
message: "Keep the URL under 200 characters."
- type: expression
expression: "data.question_1.includes('example.com')"
message: "Use a URL on example.com."
next: done