Title: Insert post categories as hidden value?
Last modified: June 24, 2020

---

# Insert post categories as hidden value?

 *  Resolved [cmcgough](https://wordpress.org/support/users/cmcgough/)
 * (@cmcgough)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/insert-post-categories-as-hidden-value/)
 * Is there a method to insert the categories of the post (or page) surrounding 
   the embedded form as a submitted value (preferably hidden)?
 * Scenario: I have 10 posts with different categories that all ask for a registered
   user to submit an answer to a question. I’d rather have one form that I can embed
   ten times, rather than ten unique forms. However, I need to know which post the
   submission came from. Pulling the post category and added that as part of the
   form submission would be ideal.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Sven Lehnert](https://wordpress.org/support/users/svenl77/)
 * (@svenl77)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/insert-post-categories-as-hidden-value/#post-13089281)
 * Is there a method to insert the categories of the post (or page) surrounding 
   the embedded form as a submitted value (preferably hidden)?
    –> Yes, please watch
   the video I have created for you [https://youtu.be/6otkNg-FBag](https://youtu.be/6otkNg-FBag)
 * Scenario: I have 10 posts with different categories that all ask for a registered
   user to submit an answer to a question. I’d rather have one form that I can embed
   ten times, rather than ten unique forms. However, I need to know which post the
   submission came from. Pulling the post category and added that as part of the
   form submission would be ideal.
    –> Are you talking about creating one form and
   change the category automatically? –> Where do the different categories come 
   from? You want to use $_GET
 * I need more information. I hope this answer helps you. Please let me know if 
   you have any questions left. I like to help.
 * Greetings,
    Sven

Viewing 1 replies (of 1 total)

 The topic ‘Insert post categories as hidden value?’ is closed to new replies.

 * ![](https://ps.w.org/buddyforms/assets/icon-256x256.jpg?rev=3726654)
 * [BuddyForms](https://wordpress.org/plugins/buddyforms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddyforms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddyforms/)
 * [Active Topics](https://wordpress.org/support/plugin/buddyforms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddyforms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddyforms/reviews/)

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [forms](https://wordpress.org/support/topic-tag/forms/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sven Lehnert](https://wordpress.org/support/users/svenl77/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/insert-post-categories-as-hidden-value/#post-13089281)
 * Status: resolved