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: "Demo request"
description: "A simple form with a thank-you page based on the answer."
sections:
- id: section_1
title: "Request details"
fields:
- id: request_type
type: dropdown
label: "What do you need?"
options:
- label: "Book a demo"
value: "demo"
- label: "Ask a question"
value: "question"
validators:
- required
next: done
completion:
- when: "data.request_type === 'demo'"
title: "Demo request received"
message: "Thanks. We will follow up to schedule a demo."
- title: "Question received"
message: "Thanks. We will reply as soon as possible."