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 select a category by a previous choice

  1. I want to auto select a category by a previous choice.
    Example:
    I have categories 1-17
    Each category will have multiple entry codes
    When a entry code is typed in by the user i would like the category that it should be posted in to be auto selected and only visiable by the admin.

    How should i proceed?

    Posted 11 years ago on Monday August 27, 2012 | Permalink
  2. I'm afraid I don't understand the question. Can you post a link to a site where this is in practice, or a link to where you already have this in progress? Is it possible to give more concrete examples of what you're trying to do?

    An example could be something like this:

    I have a store with 17 different types of products (categories). My users will have a code for their product, and based on their code, I want to pre-select the category for them to create the post in. This category should be shown only to the admin.

    Can you explain what you're trying to do? Thank you.

    Posted 11 years ago on Monday August 27, 2012 | Permalink
  3. lol you explained it pretty well, just trade product for contest. :)
    I have 17 different contest being held in all 3100+ US counties. I have set up CPT using a single category for each county and contest. Example

    Alabama << Custom post type
    County 1/ Contest 01 <<Category
    County 1/ Contest 10 <<Category
    County 1/ Contest 17 <<Category
    County 2/ Contest 01 <<Category
    County 2/ Contest 10 <<Category
    County 2/ Contest 17 <<Category
    I using entry codes that will be given to the user. The entry code will also be the title.
    When they enter the code i would like it to prepopulate the contest category for that code.

    Also if i could have it auto display a website URL for each code that would be good too!

    The website is a test site http://2013a.we4fun.com
    I have two CPT i was testing and a form for each one.
    Alabama is set up with sub-categories and AL W4F is set up with single categories.

    Thanks

    Posted 11 years ago on Monday August 27, 2012 | Permalink