I am not sure about what you mean by “Conditional” dropdown. However if you mean Dynamic dropdowns this is how you should proceed:
- Create the Child dropdown
go to Admin->Developer Tools->Dropdown Editor->Add Dropdown
in the Name field enter the name of your dropdown (for example “european_countries_list”) and then proceed below to add items to the list by filling the Item Name and Display Label textboxes and then click on the Add button.
Here are some values:
Item Name: uk
Display Label: United Kingdom
Item Name: fr
Display Label: France
Item Name: it
Display Label: Italy
Item Name: es
Display Label: Spain
At the end of the process press the Save button and you have finished creating the parent dropdown
- Create Child dropdown
go to Admin->Developer Tools->Dropdown Editor->Add Dropdown
in the Name field enter the name of your dropdown (for example “european_cities_list”) and then proceed below to add items to the list by filling the Item Name and Display Label textboxes and then click on the Add button.
Here are some values:
Item Name: uk_lon
Display Label: London
Item Name: uk_bham
Display Label: Birmingham
Item Name: uk_man
Display Label: Manchester
Item Name: fr_par
Display Label: Paris
Item Name: fr_lyo
Display Label: Lyon
Item Name: fr_nic
Display Label: Nice
Item Name: it_rom
Display Label: Rome
Item Name: it_mil
Display Label: Milan
Item Name: it_ven
Display Label: Venice
Item Name: it_flo
Display Label: Florence
Item Name: es_mad
Display Label: Madrid
Item Name: es_bar
Display Label: Barcelona
Item Name: es_val
Display Label: Valencia
At the end of the process press the Save button and you have finished creating the child dropdown
You will have noted that the cities from the United Kingdom are prefixed with uk_: this is the name of the item in the european_countries_list to which we added an underscore.
The same applies to other countries: es_, fr_, it_
If you sort these items you will note that the prefix is ignored in the sorting.
- Create the Parent field in Studio
In this example we will add these fields to the Contacts module so go to Admin->Developer Tools->Studio->Contacts->Fields->Add Field
In the DataType select Dropdown
In Field name write: euro_country
in the Display Label write: European Country
in the Dropdown List select european_countries_list
Once done click on the Save button
(you will notice that, once you are taken to the list of fields, your field name will have a trailing _c that the system will have added to it so its name will be euro_country_c)
- Create the Child field in Studio
In this example we will add these fields to the Contacts module so go to Admin->Developer Tools->Studio->Contacts->Fields->Add Field
In the DataType select DynamicDropdown
In Field name write: euro_city
in the Display Label write: European City
in the Dropdown List select european_cities_list
in the Parent Dropdown write: euro_country_c
(Note that this is the name of the field and not the dropdown)
Once done click on the Save button
(you will notice that, once you are taken to the list of fields, your field name will have a trailing _c that the system will have added to it so its name will be euro_city_c)
- Add the fields in the Edit Layout
go to Admin->Developer Tools->Studio->Contacts->Layouts->Edit View
Drag a new row to the layout and in thje left filler drag the euro_country_c field and in the right filler drag the euro_city_c field
Then click on Save and Deploy and you can proceed to test.