PhixFlow Help
10. Adding Drop-down Fields
Add drop-down fields to an application to link data. To recap on the steps in the video:
Creating Drop-down Fields
In the stream
Businesses
, create a new view calledDD_Businesses
.The
DD_
prefix is used here as an indication that this view is used for a drop-down.- Ensure the new view has the
UID
andName
fields only.- Hide the
UID
.
- Hide the
- Bring the contacts Dashboard to the front.
- Drag the new
DD_Businesses
View icon onto theBusinessName
field on the edit form. This dynamically creates a Drop-down field. - Set up the drop-down by opening the configuration form for the stream attribute
BusinessName
.- Set Drop Down Value Field to
Name
. - Under Mappings, click + to add a new mapping and set:
- Form Field:
BusinessUID
The name of the attribute on the form to which we want to map. - Drop Down Field:
UID
The name of the attribute on the view that we want to map to the form value.
- Form Field:
- Set Drop Down Value Field to
Link the Contacts on the Business Dashboard
- Open the configuration form for the Business Contacts view on the Businesses dashboard.
- Click + next to the Default Sort Order and set:
- Name:
ByName
- Sort Order Attributes:
FamilyName
- Name:
- Click + next to the Default Filter and set:
- Name:
ByBusiness
- Filter Details
BusinessUID
equalsBusinesses.UID
- Click abc to tell PhixFlow that this is an expression.
- Name:
- Now the
Businesses
view will drive the content of theContact Details
. This means you will see the contacts relevant to the selected business.
Drop-down fields are useful when we want users to select an option from a predefined list of values. Another good candidate for a drop-down field is Type on the Businesses
dashboard. Update all your contacts with a business from the drop-down list.
Next video: 11. Menus and Navigation
Please let us know if we could improve this page feedback@phixflow.com