PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Multiple dynamically populated dropdowns in one form - hook?

  1. Hi,

    So I've managed to get my first dropdown menu to populate with posts from a category.

    Problem is I can't seem to replicate this with other dropdown fields in the same form. I've played around with the hook but it keeps causing me php fails.

    I have 2 ways of getting the first dropdown to populate:

    http://pastie.org/3946187

    and

    http://pastie.org/3946196

    Can anyone fill me in on how I can adjust either of these 2 hooks so I can have multiple dropdowns, each calling post titles from a different category, on the same form?

    The page in question is here: http://gad-center.com/neuromusculaire/inscription-neuromusculaire/

    Thanks in advance,

    Olly

    Posted 11 years ago on Monday May 21, 2012 | Permalink
  2. Hello Olly,
    The following code snippet should point you in the right direction.

    http://pastie.org/3951750

    Alex.

    Posted 11 years ago on Tuesday May 22, 2012 | Permalink
  3. thanks alex gonna give it a go!

    Posted 11 years ago on Tuesday May 22, 2012 | Permalink
  4. haha! brilliant. love it. thanks alex! i'm good to play with this. awesome.

    Posted 11 years ago on Wednesday May 23, 2012 | Permalink