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.

Automatically selectign category - problem

  1. I've created a form that will automatically create a post, and it has a category drop-down (though it is hidden). The drop-down only has one category selected (pdf).

    When I fill in the form, it goes through ok, but instead of adding the post to the 'pdf' category, it adds it to uncategorised.

    Because uncategorised is the default category, I am wondering if it is just bypassing that section of the form.

    Posted 14 years ago on Sunday October 17, 2010 | Permalink
  2. Already responded via email. We will look into why the post category isn't stored when it is set to admin only. One thing I have to ask is if you have a hidden category field assigning one category, why don't you just set the default category to that category? Seems redundant. The form can already set a default category so adding a hidden category field shouldn't be necessary.

    Posted 14 years ago on Monday October 18, 2010 | Permalink
  3. Anonymous
    Unregistered

    Hi,

    I am having the same problem. On the "Post Category" field, there is no option to have a default value. Any suggestions?

    Posted 13 years ago on Thursday January 20, 2011 | Permalink
  4. Anonymous
    Unregistered

    Ok - I have tested this farther. If I only have one category selected as an option, and I make the Post Category field visible to everyone, that field will always save. However, if I make it visible only to admins, it will save instead as Uncategorized. Very weird!

    Posted 13 years ago on Thursday January 20, 2011 | Permalink
  5. Anonymous
    Unregistered

    Never mind, figured it out. There's a default category select in the other Post fields if you DONT put a Post Category field in the form.

    Posted 13 years ago on Thursday January 20, 2011 | Permalink