⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Multiple Separate Independent Dropdowns?



Lee Salminen
  • profile picture
  • Member

Posted 11 December 2012 - 20:25 PM

Hello,

I've been looking for a sample multidimensional array for $dd_data that would allow me to have 2 independent dependent dropdowns?

I.e. :

company, studentid, billingid is 1 dependent dropdown

while

classid, datesid

is a completely different set.

I have the first set working, but can't get the second to.

Below is the new array I currently have been working on:

Array
(
[dd_state] => add
[dd_dropdowns] => Array
(
[0] => Array
(
[0] => companyid
[1] => studentid
[2] => billingid
)
[1] => Array
(
[0] => classid
[1] => datesid
)
)
[dd_url] => Array
(
[0] => Array
(
[0] =>
[1] => http://campus.zoodleweb.com//enrollment/getStudent/
[2] => http://campus.zoodleweb.com//enrollment/getBillingContact/
)
[1] => Array
(
[0] =>
[1] => http://campus.zoodleweb.com//enrollment/getdates/
)
)
[dd_ajax_loader] => http://campus.zoodleweb.com/ajax-loader.gif
)


Thanks,

Lee

victor
  • profile picture
  • Member

Posted 11 December 2012 - 22:18 PM

Hi Lee Salminen and welcome to the forum.
Can you explain in more detail what you want?