Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
We've encountered an issue exporting this macro. Please try exporting this page again later.
For this example, we will show SQL data sources and dependent fields. We have two custom fields: PCF - Single Autocomplete named Continent and PCF - Multiple Autocomplete named Countries. Countries is populated based on the value of Continent.
We have a "countries" table with two columns: country and continent. Our first field will select the continents and the second one will contain the countries on that continent.
To use the screen values for a field in the data source, add it as a dependent field from the field configuration > Dependencies.
The following data source represents the first custom field:
Code Block |
---|
select distinct continent from countries; |
The following data source represents the second custom field:
Code Block |
---|
select country from countries where continent = {customfield_10800} |
The following result will be in the issue view screen:
See More
Child pages (Children Display) | ||
---|---|---|
|