Skip to main content
Using Lookup to cascade dropdown values

Guide on using Lookup in Yeeflow for cascading dropdowns in forms, including creating data lists and setting dynamic display rules.

Updated over 9 months ago

As we mentioned before, the Metadata can be used to get cascade variables by pulling from its parent category. In this article, we will use Lookup (in form designer) to get its cascaded values. You can use either of them per to data requirement.

Note: you may refer to know how to Use Metadata and cascade.

Use Case

Contrastively we set the same data as we did with metadata.

Step 1 - Create Data List with cascade

Let's create a new item of Data List in Applications.

As exampled, we already had a data list named "Expense Categories", and you can see the each item with ① -->②-->③

mceclip1.png

Step 2 - Set Lookup in Form Designer

Go to Form Designer.

Let's drag and drop three Metadata controls according to our example, You may add more cascades as required. All variables should be bound to the same Metadata.

The first is the Parent-category 1, which is no associated parent;

mceclip2.png

The second is the Subcategory 2, which is associated with Parent-category 1;

mceclip3.png

The third is the Subcategory 3, which is associated with Subcategory 2;

mceclip4.png

Then let's set the "Dynamic Display Rules" in subcategory 2&3 , which makes a cascade view.

mceclip5.png
mceclip6.png

Step 3 - Manage the layout and Publish

Preview and check the results before it publishs.

Cascade_v1.gif.gif

Futhermore

In some scenarios, you can also use it in list control/variable.

mceclip9.png
Did this answer your question?