Skip to content

Commit 12a27ea

Browse files
committed
Add example form documentation
1 parent 897d706 commit 12a27ea

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

docs/example-form.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# The example form
2+
3+
The configuration for the example form can be found in `app/forms/config/example-form.yml`.
4+
5+
The flow is:
6+
7+
```mermaid
8+
flowchart TD
9+
pizza_or_chocolate -->|submit| food{food?}
10+
food -->|pizza| pizza_topping
11+
food -->|chocolate| type_of_chocolate
12+
food -->|neither| neither_page
13+
food -->|no_food_just_cats| reddit.com/r/catpictures
14+
pizza_topping -->|submit| pizza_brand
15+
pizza_brand -->|submit| address
16+
address -->|submit| final_page
17+
type_of_chocolate -->|submit| address
18+
```

0 commit comments

Comments
 (0)