aboutsummaryrefslogtreecommitdiffstats
path: root/SCHEMA.md
diff options
context:
space:
mode:
authorGravatar Jannes Jonkers <[email protected]>2021-01-20 18:31:27 +0100
committerGravatar Jannes Jonkers <[email protected]>2021-01-20 18:31:27 +0100
commit31f4f3ce70f5fdefc044cf561c491adbabfb1d67 (patch)
treeec9f9cd8f28f7a01380bbcd8bbb71f85ca7efe7a /SCHEMA.md
parentAdd an optional response field to forms to customize the response upon submit... (diff)
Add an optional submitted_text field to forms to customize the response upon submitting.
Diffstat (limited to 'SCHEMA.md')
-rw-r--r--SCHEMA.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/SCHEMA.md b/SCHEMA.md
index 4a15f28..6aae7d6 100644
--- a/SCHEMA.md
+++ b/SCHEMA.md
@@ -12,15 +12,15 @@ In this document:
## Form
-| Field | Type | Description | Example |
-| ------------- | ----------------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------- |
-| `id` | Unique identifier | A user selected, unique, descriptive identifier (used in URL routes, so no spaces) | `"ban-appeals"` |
-| `features` | List of [form features](#form-features) | A list of features to change the behaviour of the form, described in the features section | `["OPEN", "COLLECT_EMAIL"]` |
-| `questions` | List of [form questions](#form-question) | The list of questions to render on a specific form | Too long! See below |
-| `name` | String | Name of the form | `"Summer Code Jam 2100"` |
-| `description` | String | Form description | `"This is my amazing form description."` |
-| `webhook` | [Webhook object](#webhooks) | An optional discord webhook. | See webhook documentation. |
-| `response` | Optional[String] | An optional string for the response upon submitting. | `"This is my amazing form response."` |
+| Field | Type | Description | Example |
+| ------------------- | ----------------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------- |
+| `id` | Unique identifier | A user selected, unique, descriptive identifier (used in URL routes, so no spaces) | `"ban-appeals"` |
+| `features` | List of [form features](#form-features) | A list of features to change the behaviour of the form, described in the features section | `["OPEN", "COLLECT_EMAIL"]` |
+| `questions` | List of [form questions](#form-question) | The list of questions to render on a specific form | Too long! See below |
+| `name` | String | Name of the form | `"Summer Code Jam 2100"` |
+| `description` | String | Form description | `"This is my amazing form description."` |
+| `webhook` | [Webhook object](#webhooks) | An optional discord webhook. | See webhook documentation. |
+| `submitted_text` | Optional[String] | An optional string for the response upon submitting. | `"This is my amazing form response."` |
### Form features