I’ve got the “create post” setting to create draft…so it can be reviewed by the admin. However, when the user submits their entry, the post is automatically posted live.
WordPress Forms
I’ve got the “create post” setting to create draft…so it can be reviewed by the admin. However, when the user submits their entry, the post is automatically posted live.
Love Formidable!! Thanks for the bad ass plugin!
James StewartI looked at Gravity Forms, Contact Forms 7 and Formidable before settling on Formidable Pro. Aside from having a lot of features I was looking for and being pretty easy to deal with, the 2 things that won Formidable for me in the end was having a free version that I could try and the tremendous support that Steph provided @ strategy11.com forums before I was even a customer.
Alex Kelly (Dublin Robotics)Copyright © 2013 Strategy11, LLC
October 1, 2012 at 11:21 am
Are you using a custom display to format the post? If so, you can add a "where" option to filter out the posts marked as draft...The option would be added in the advanced section of your custom display and would essentially look like: "status" is equal to "published".
October 1, 2012 at 12:14 pm
Yes. I am using a custom display. But I don't have a "status" option there. Just the names of the entry fields.
October 1, 2012 at 1:36 pm
So when you take a look at the post created from the posts page, is it set as a draft there? or does it show as published? If I were setting this up, I would add a status field to my form and set the default value to "draft". I would also set this as an admin only field so non-admins don't see it. This also provides a method for you to change the status of a post from the front-end if you would like.
October 1, 2012 at 1:50 pm
1. Under Pages the entry shows as "draft". However, it pops up on the form page the second I hit submit. I have the shortcode, [display-frm-data id=3], entered on the page I want the the post to display. But only AFTER it's been approved by the admin. I don't understand why it's showing up as a draft on the backend but it is obviously published on the frontend.
2. I'm not sure how to set a status field on my form. I don't see anywhere to do that. Or where to set something like that as admin only.
October 1, 2012 at 2:13 pm
The page is showing up on the front-end of your site because you are using a custom display to list your posts/pages rather than the built-in WordPress blogroll. By default a custom display will display all entries regardless of their "WordPress" Status.
To add a status field to your form, you need to change the "Status" setting from "create draft" to "Create New Drop-Down Field".(Screenshot 1)
This creates a new drop-down field to your form named "Status". If you go back to your form builder page, you can select "Draft" as the default option, and in the field options, mark the "Admin Only" checkbox. (Screenshot 2)
Finally, in your custom display advanced section, you need to add a "Where" option that tells your custom display to only display entries with a "published" Status.(Screenshot 3)
Attachments:



October 1, 2012 at 2:22 pm
Alrighty. That seemed to do the trick.Thanks!
Topic closed.