Foundry Forms is no longer the recommended approach for data entry or writeback workflows on Foundry. Instead, build user input workflows with the Foundry Ontology, representing the relevant data structures as object types and configuring the writeback interaction with Actions. Learn more in the Forms overview documentation.
In a form, simple fields ask for basic input from the respondent. This page discusses the different types of simple fields available in Foundry Forms, excluding Attachments fields.
The callout field highlights important content to the respondent and supports Markdown formatting. Users can configure the following options:
The value of a callout field will never write to the backing object type or spreadsheet. If you need to template some text with the value written in a different field, you can use the template field.
The checkboxes field displays a set of options as checkboxes. Users can configure the following options:
Values
along with their displayed Labels
.Default values
.The date picker field allows respondents to enter a date or timestamp. Users can configure the following options:
Time Precision
(day, minute, second, or millisecond).Recorded formt
(the default is YYYY-MM-DD
for dates and YYYY-MM-DDTHH:mm:ss.SSSZZ
for timestamps).The default minimum and maximum dates are 25 years from the current date but can be set further in the past or future by changing their configured values. For example, you could enable choosing a date of birth more than 25 years in the past by setting a minimum date in 1900.
In the date picker field, dates are always picked by and displayed to the user according to their timezone. However, when date values are written to the backing spreadsheet or object type, they are always written in UTC to be compatible across timezones.
The dropdown field displays a set of options as a dropdown. Users can configure the following options:
Values
along with their displayed Labels
.Default values
.Placeholder
.noResultsText: string
.The geocode picker field allows respondents to enter an address. Using the Code Editor, users can set placeholder: string
.
The map picker field allows respondents to enter coordinates. Using the Code Editor, users can configure the following options:
placeholder: string
.location: [double, double]
.initialZoom: double
.displayFormat: "latlng" | "mgrs"
.mapboxAccessToken: string
.mapboxStyles: list<string>
(view Mapbox documentation ↗).The numeric field allows respondents to enter a number. Users can configure the following options:
Default value
.Unit label
(for example, kg
or lbs
).Placeholder
.clampValueOnBlur: boolean
.min: double
.max: double
.stepSize: double
.minorStepSize: double
.majorStepSize: double
.The radio buttons field displays a set of options as radio buttons. Users can configure the following options:
Values
along with their displayed Labels
.Default value
.The resource picker field allows respondents to select a resource from within Foundry. Users can specify whether respondents are allowed to select folders, datasets, or any resource type.
The slider field allows respondents to select a number. Users can configure the following options:
Step size
and Label step size
.Unit label
(for example, kg
or lbs
).initialValue: double
.labelPrecision: double
.showTrackFill: boolean
.The text field allows respondents to enter a single line of text. Users can configure the following options:
Default value
.Placeholder
.The text area field allows respondents to enter multiple lines of text. Users can configure the following options:
Default value
.Placeholder
.The URL field allows respondents to enter hyperlinks. Users can configure the following options:
Default value
.Placeholder
.