Field Types
42Forms supports the following field types. Field types are assigned during form creation (manually or via AI generation) and can be changed in the form editor.
Single or multiline text input.
| Config | Type | Default | Description |
|---|---|---|---|
multiline | boolean | false | Show as textarea instead of single-line input |
default_value | string | - | Pre-filled value for new submissions |
read_only | boolean | false | Display as non-editable |
primary_key | boolean | false | Mark as primary key for row identification |
Numeric
Section titled “Numeric”Number input with optional formatting.
| Config | Type | Default | Description |
|---|---|---|---|
format | string | - | Display format: currency, percentage, or none |
range_min | number | - | Minimum allowed value |
range_max | number | - | Maximum allowed value |
round_precision | number | - | Decimal places to round to |
default_value | string | - | Pre-filled value |
Date picker with optional time component.
| Config | Type | Default | Description |
|---|---|---|---|
include_time | boolean | false | Show time picker alongside date |
default_value | string | - | Pre-filled value (ISO format) |
Select
Section titled “Select”Dropdown with predefined options. Supports cascading (parent-child) dropdowns.
| Config | Type | Default | Description |
|---|---|---|---|
allow_multiple | boolean | false | Allow selecting multiple values |
default_value | string | - | Pre-selected value |
Options are managed in the field editor. For Snowflake-synced projects, options can be auto-loaded from distinct column values.
Checkbox
Section titled “Checkbox”Boolean toggle input.
| Config | Type | Default | Description |
|---|---|---|---|
default_value | string | - | Pre-checked state (true/false) |
Lookup
Section titled “Lookup”Autocomplete field that searches values from another project.
Configured by linking to a target project and field. As the user types, matching values from the target field are suggested.
Read-only display field. Cannot be edited by users. Useful for system-generated values, formulas, or informational text.
Variant
Section titled “Variant”Displays JSON or complex structured data. Read-only in the form view, useful for Snowflake VARIANT columns.