form.yaml
Copy
version: 1
title: "Example form"
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
sections:
- id: section_1
title: "Section 1"
fields:
- id: question_1
type: short_text
label: "Question 1"
validators:
- required
# After this section is submitted, move to section_2.
next: section_2
- id: section_2
title: "Section 2"
fields:
- id: question_2
type: short_text
label: "Question 2"
validators:
- required
# After this section is submitted, the form is complete.
next: done