Developer forum

Forum » CMS - Standard features » RE: Populate dropdown itemlist

RE: Populate dropdown itemlist

Jan Sangill
Reply

Hi,

 

If I wanted to populate a dropdown list in a itemtype like this:

 

Region 1

    -  Under region 1 - 1
    -  Under region 1 - 2
    -  Under region 1 - 3

Region 2

   -  Under region 2 - 1
    -  Under region 2 - 2
    -  Under region 2 - 3

Would that be possible via SQL method?

 

And/ OR:

If thats not pissble. Any ways of creating a chained-it dropdown. By that I mean:

Dropdown 1:

Region 1
Region 2

Dropdown 2 (if Region 1 is picked) will have these:

Under region 1 - 1
Under region 1 - 2
Under region 1 - 3

 

Any ideas how to get this done would be appreciated. If not possible - then just say that too:)

 

regards


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Jan

That is not currently possible.

You can of course make a SQL that would give you a list like this:

  • Region 1 - subregion 1
  • Region 1 - subregion 2
  • Region 1 - subregion 3
  • Region 2 - subregion 1
  • Region 2 - subregion 2
  • Region 3 - subregion 3

BR Nicolai

Votes for this answer: 1
 
Jan Sangill
Reply

Hi Nocolai,

 

I thought so - and that list is made:)

TY for the help.

 

You must be logged in to post in the forum