Forum Academy Marketplace Showcase Pricing Features

[SOLVED] Display certain elements in a dropdown depending on the selected button

Hey guys!

How can I display a list of predefined elements in a dropdown that depends on a previously selected button ?


1 Like

You can create 2 tables of things that are related to each other


2 tables of data?

You could just have one, although two may be more flexible.

Essentially you want to describe the relationship between the parent (first dropdown) and child (second).

So something like …

Parent : text
Child : list of texts

So the dropdown has all the values from parent (say a list of countries) and then the child has all the values that are associated with that (so a list of cities) and you use the parent to set the value of the dropdown options.

Parent : France
Child : Paris, Marseille, Bordeaux


Thank you for your help!