Create 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."
}
}
Next steps
Now that you know the basics of building a form, you might want to learn how to:
- Add form fields to your Riddle
- Use the Ad block to monetize your Riddle or add Content blocks
- Define the publish settings: Enable DOI, email automation, add integrations, and more
- Define the preset and palette you want to use
- Define the logic / flow of your Riddle
- Build an advanced result page
- Add media, such as images, videos, and social media content
Table of Contents