• Resolved nobith

    (@nobith)


    Is it possible to automatically assign a category to a new submission after the user has submitted and pressed the button. I don’t want to let the user decide which category, so I don’t display categories selector in form.

    It should go automatically. So when I show the form on a special page that has a specific category
    all submissions should go to this category by itself.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    (@specialk)

    The free version doesn’t have a specific option for this, but it should be possible by configuring the category field as desired (via the plugin settings), and then simply hiding the field on the frontend. Here is a snippet that you can add to your theme’s style.css file:

    .usp-category { display: none; }

    With that in place, the category field will be submitted along with the form without the user ever seeing it.

    Updated to add that the Pro version of USP has a built-in way to do this, without modifying your theme template.

    • This reply was modified 9 years, 6 months ago by Jeff Starr.
    Plugin Author Jeff Starr

    (@specialk)

    Gonna go ahead and mark this as resolved to help keep things organized. Feel free to follow-up or post afresh with any new issues or questions. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘assign a Category’ is closed to new replies.