Create Form

Building a standalone form to exclusively collect user data can be done via the API.

When building a form you can add:

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.

{
    "type": "Form",
    "build": {
        "title": "My data collection 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."
        }
    }
}

Next steps

Now that you know the basics of building a form, you might want to learn how to: