× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Dependant dropdown

il y a 4 ans 6 mois #9717 par Nina
Dependant dropdown a été créé par Nina
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!

Connexion ou Créer un compte pour participer à la conversation.

il y a 4 ans 6 mois #9718 par Carl Fuentes
Réponse de Carl Fuentes sur le sujet Dependant dropdown
Unfortunately you have to do that manually.

Connexion ou Créer un compte pour participer à la conversation.

il y a 4 ans 5 mois #9719 par Nina
Réponse de Nina sur le sujet Dependant dropdown
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!

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.051 secondes
Propulsé par Kunena

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.