Form to Post
[Form to Post] Problem with Hidden Fields (2 posts)

  1. wotto
    Posted 2 years ago #

    Hello i am using your Form to Post plugin to take user input in a form and create a Post from it. I would like to make this post a custom post type that i already created ("sepa_job") and i would also like it to be a draft. however when i follow the instructions on the plugin page, using the Contact Form 7 Modules plugin for hidden field support, the sepa_job and draft values do not take.

    i have the below at the very bottom of my contact form, just above [submit],

    [hidden post_status "draft"]
    [hidden post_type "sepa_job"]

    and yet when i go to the page with the form on it the HTML is rendered as

    <input type="hidden" name="post_status" value="publish" class="wpcf7-hidden">
    <input type="hidden" name="post_type" value="page" class="wpcf7-hidden">

    is there something im doing wrong with my shortcodes? i realize this may be an issue with Contact Form 7 Modules plugin, but i figured id ask here first, any info would be greatly appreciated, thank you !


  2. Michael Simpson
    Plugin Author

    Posted 2 years ago #

    It looks correct. I suggest as an experiment, try making the fields normal text fields and see if that works. If it does, the problem must be related to the Modules plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Form to Post
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic