Forms Builder
Build forms that collect input from your platform's users.
Open Forms from your project's side menu to manage your forms.
Creating a Form
- Go to Forms.
- Click Create and enter a name.
- Open the form to configure its fields.
Form Details
Each form has:
- Name: how the form is identified in your project.
- Submit button label: the text shown on the form's submit button.
Adding Fields
Forms use the same field editor as collections, so you have the full set of field types available. For each field you can set:
- Label: the text shown next to the input.
- Type: the kind of input (text, number, date, select, and so on — see the field types in Collections & Data Modeling).
- Required: whether the field must be filled in.
- Validation pattern: an optional regular expression the value must match.
- Max repeat: how many times a repeating field may be entered.
Fields can be grouped into sections to organize longer forms.
Select and multi-select fields pull their options from one of your collections, so a form can offer choices backed by your own data. When you add a select field you must choose the collection it links to.
Saving and Validation
Click Save to store the form. The builder checks your form before saving and will warn you if:
- the form has no name,
- a section is missing a name,
- a field is missing a label,
- a select field has no linked collection, or
- a validation pattern is not a valid regular expression.
Submissions
When a user submits the form on your generated platform, the submission is stored with your project's data so you can review the responses that come in.