WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. wotto
    Member
    Posted 9 months 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

    http://wordpress.org/plugins/contact-form-7-modules/

Reply

You must log in to post.

About this Plugin

About this Topic