Data Sources and Dynamic Options
OSPROV Form Builder allows you to populate select components with dynamic data from various sources.
Master Data Tables
To use master data tables as a data source:
- Select a Select, Radio, or Checkbox component
- Go to the Data tab
- Set Data Source Type to "Master Data"
- Choose the master data table from the dropdown
Master data tables are populated from Output tasks in workflows, creating a powerful way to build interconnected forms and workflows.
URL Data Source
To fetch options from an API endpoint:
- Select a Select component
- Go to the Data tab
- Set Data Source Type to "URL"
- Enter the API endpoint URL
Dependent Dropdowns
Create cascading select components where one dropdown's options depend on another:
- Create the parent select component (e.g., "Country")
- Create the child select component (e.g., "City")
- For the child component, use a URL data source that includes the parent value
- Add a conditional to only show the child when the parent has a value
Example URL with dynamic parent value:
/api/cities?country=${data.country}