×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Dependant dropdown
Nina
Yeni Üye
Posts: 10
4 yıl 6 ay önce #9717
Yazan: Nina
Dependant dropdown, Nina tarafından oluşturuldu
I have two dropdown fields that I want to be dependant but I can't figure out how.
Example Dropdown one: Country, dropdown two: Cities
A simplified version:
Table one: id, country
Table two: id, city, country_id
If I select country I want the next dropdown to load all cities with corresponding country_id.
I've tried creating an extended sql field for the second dropdown that should filter from the first but it's not.
Dependant/chained select might not be possible in Component Creator, I haven't found any information about it. I've Googled many hours on how to create a dependant dropdown in a joomla form and filter field but I'm not finding anything useful.
Anybody else having any experience with this or knows how to get dropdown fields to chain? Any ideas would be appreciated!
Example Dropdown one: Country, dropdown two: Cities
A simplified version:
Table one: id, country
Table two: id, city, country_id
If I select country I want the next dropdown to load all cities with corresponding country_id.
I've tried creating an extended sql field for the second dropdown that should filter from the first but it's not.
Dependant/chained select might not be possible in Component Creator, I haven't found any information about it. I've Googled many hours on how to create a dependant dropdown in a joomla form and filter field but I'm not finding anything useful.
Anybody else having any experience with this or knows how to get dropdown fields to chain? Any ideas would be appreciated!
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Carl Fuentes
Sorumlu
Posts: 28
4 yıl 6 ay önce #9718
Yazan: Carl Fuentes
Carl Fuentes tarafından Dependant dropdown konusunda yanıtlandı
Unfortunately you have to do that manually.
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Nina
Yeni Üye
Posts: 10
4 yıl 6 ay önce #9719
Yazan: Nina
Nina tarafından Dependant dropdown konusunda yanıtlandı
Yes, I figured as much. The question is how to do it manually. I'm surprised that I can't find any information anywhere on how to do it manually. Time to hire a programmer I think. Know your limits! Thanks!
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Sayfa oluşturma süresi: 0.051 saniye