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.

Choose Category in Post Forms doesn't work

  1. zhanliusc
    Member

    I have a user post form set up so they are required to choose a category from a list (using dropdown or radio buttons because it must be only 1 category) for their post.

    I ran into these problems:

    1) If I use the dropdown menu method (with a placeholder selected), users seem to be able to post without selecting a category (even though I have that required field option on. If I switch off placeholder than they are able to post with just the first category listed on the menu (without actually selecting it)

    2) If I use the radio button method, users are correctly forced to choose a category but unfortunately the result is placed in the wrong category (actually into the default root category). And then the category data seems to be wiped out, reverting to "Uncategorized"
    (and yes, I checked that I don't have the field set to "Admin Only")
    How can I fix this?

    This functionality is critical to what I'm using Gravity Forms for. Without it, I'll have to try another way of submitting user posts
    thanks!

    Posted 12 years ago on Saturday November 3, 2012 | Permalink
  2. zhanliusc
    Member

    FYI, I deactivated all my plugins except for Gravity Forms.
    This cured the bug where the post field wasn't requiring the user to select a category when I wanted it to. Probably some clash with another plugin then.

    BUT, even with all other plugins disabled, the category field in the form ***still does not save the category selection correctly***. Instead, in my multiple tests, it creates post submissions that are marked "Uncategorized".

    Not good.

    Posted 12 years ago on Wednesday November 7, 2012 | Permalink
  3. zhanliusc
    Member

    any answers on this question , please?

    Posted 12 years ago on Sunday November 25, 2012 | Permalink
  4. Can you please export this form and email it to me at chris@rocketgenius.com - I will install it and see how it works for me. Please include a link to this topic so I know what you're emailing about.

    Can you also tell me what categories or how many categories you have, so I can recreate that as well? Thank you.

    Posted 12 years ago on Monday November 26, 2012 | Permalink