Contact Form 7 Modules
[Contact Form 7 Modules] hidden field not taking default values (1 post)

  1. wotto
    Posted 2 years ago #

    Hello i am using the 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 your 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? any help would be greatly appreciated


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7 Modules
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic