• Resolved cmcgough

    (@cmcgough)


    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

    (@svenl77)

    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

    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.