Support » Plugin: Form to Post » [Form to Post] Problem with Hidden Fields

  • 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 !

    http://wordpress.org/plugins/form-to-post/

Viewing 1 replies (of 1 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘[Form to Post] Problem with Hidden Fields’ is closed to new replies.