PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Save From as Draft without using Post Fields?

  1. I've got a unique site in that every post will be constructed of a series of custom_fields in WordPress.

    Is there a way I can build a form that'll save entries as drafts without using the "Post Fields" in the builder? (I'm being lazy here, as I've already built the form, and don't want to rebuilt it, as there's a few hundred fields with conditional logic applied to all of them.)

    Can I force a non-"post" form to save as a post?

    Posted 13 years ago on Friday August 27, 2010 | Permalink
  2. No, Post Fields are required because those trigger post creation. It wont know what to do with your existing fields, it doesn't know they are post related.

    However, with Gravity Forms v1.4 beta you can add a Post Title and Post Body field to your existing form and then set their visibility to admin only so they won't appear on your form to the enduser. Then you can use their template capabilities to populate the Post Title and Post Body using the form field values of other (non-post) fields on your form.

    With this in mind, this technique only allows you to populate the Title and Body this way. Custom Fields can only be populated via the Post Custom Field fieldtype.

    Posted 13 years ago on Saturday August 28, 2010 | Permalink