Connected Field Values
Transcript Summary
Introduction
Today, we're talking about displaying connected record information.
Creating Relationships Between Data Types
When building an application inside Tadabase, you're going to have relationships between different data types and objects. These relationships are easy to create and manage. However, on the live application, you might want to show more information about a relationship than what is currently displayed.
Example: Adding a New Investment
Here on this example form, we have the ability to select a company from a different data table when adding a new investment. By selecting a company, we establish a relationship between that company and the investment.
Showing More Information About the Company
What if you want to display more information about the selected company? Inside the form component where the new investment is added, we can edit the connection field itself. There are various configuration options within the connection field, and we’re looking for options under the Design tab.
Display Options for Connection Fields
In the Design tab, we can choose how we want to display the items in the connection field. By default, a drop-down menu is selected, but you also have access to list and table views. These views allow you to display more data that exists on the company record itself. For example, you can display the company's name, address, website, and logo.
Once we configure this, the connection field will now show more context about the selected company. So, when you select a company, like Tadabase, you’ll see the address, website, and logo, providing deeper insight into the relationship between the company and the investment.
Using Connected Fields in the Form
Another way to display connected information inside a form component is by using Connected Fields. This feature allows you to pull in data from any connected tables related to the form and display it based on the user's selection.
For instance, if you want to show more information about the selected company, you can go to the company's section and place any of the company's fields on the form. In this example, the address, website, industry, and total investments are all connected fields from the company table.
Displaying Dynamic Data Based on Selection
When you preview the page, you’ll see a standard dropdown menu. When you select a company, the connected data (such as the address and website) will dynamically appear on the right and update based on the company selected.
Conclusion
That's how you can display connected fields inside a form component in Tadabase. This method provides users with deeper context and a better understanding of the relationships they are working with inside the live application.
Thanks for watching, and take care!
We'd love to hear your feedback.