• Resolved robins3000

    (@robins3000)


    Hi, I’m trying to create a Select2 dynamic dropdown using this plugin and I have selected the ‘New Category’ option to create a custom category. How do I then populate this list with options for the dropdown menu?

    Robin

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Hi @robins3000

    dynamic dropdowns are dropdown fields whose option list are managed dynamically through either,

    • a taxonomy list (that appears in the information metabox once you save your form – see top right of screenshot 5)
    • a list of existing post titles
    • a custom filter function

    When you enable a dynamic dropdown to be a jquery select2 field, you can also enable your users to submit values which are not in the option list. To do this you have to enable what select2 authors call tags. You do this by simply adding the class ‘tags’ to your dynamic dropdown shortcode (see faq #5)

    If you look at the Filters & Actions helper metabox in your dashboard screen, you’ll find hooks that allow you to filter the added values.

Viewing 1 replies (of 1 total)

The topic ‘New Category’ is closed to new replies.