Form
Building a standalone form to exclusively collect user data can be done via the API.
When building a form you can add:
- Form fields
- General blocks
- One result page
Result page
In a form only one result page is allowed which is specified in build.result
. Basic results only consist of a title
and description
property.
Example:
{
"title": "Thank you!",
"description": "We are happy to have you here"
}
If you want to create complex result pages with texts, images, ... click here to learn how to build advanced result pages.
Full example
Note: The example below uses dynamic variables to personalize the result page. Click here to learn more about dynamic variables.
{
"title": "My data collection form",
"type": "Form",
"blocks": [
{
"title": "Please enter your data.",
"type": "FormBuilder",
"fields": {
"Your email": "Email",
"Your name": "Name",
}
}
],
"result": {
"title": "Thank you!",
"description": "Thank you for entering your data %name. We will get back to you soon."
}
}
Table of Contents