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.

Auto populate dropdown field with post tags

  1. deeve007

    Hey folks,

    Apologies if this should be clear to me in the documentation, but I can't for the life of me work it out.

    I want a user to be able to submit a post, with tags displayed as checkboxes for them to select from. Now manually creating this is simple, and have done so. But I am hoping there is a way to populate this field dynamically, so if the site admin adds a post tag via the admin, it will appear automatically in this checkbox list.

    Is this possible, or is the only way manually?


    Posted 11 years ago on Thursday April 4, 2013 | Permalink
  2. Creating checkboxes is surprisingly complex.

    Here is an explanation of how to populate a drop down dynamically:

    Here is one user's explanation of how to create checkboxes:

    On line 14 of this user's code example is where you need to get all your tags to use for the dynamic population functions which follow.

    Posted 11 years ago on Monday April 8, 2013 | Permalink