form.yaml
Copy
version: 1
title: "Example form"
description: "A simple form with a customized thank-you page."
sections:
- id: section_1
title: "Section 1"
fields:
- id: question_1
type: short_text
label: "Question 1"
validators:
- required
- id: question_2
type: email
label: "Question 2"
validators:
- required
next: done
completion:
title: "Thanks for your submission"
message: "Thanks, {{data.question_1}}. We will reply to {{data.question_2}}."
button:
label: "Go to example.com"
url: "https://example.com"