Skip Navigation

[Resolved] [Forms] How to create this workflow

This support ticket is created 4 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 4 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1867671

I am creating forms for entry on my custom types. Because these types will be auto-posting to social media as they are published, I need to be able to save the post as a draft, then return to editing it before it is published. I'd like to do this all in the front-end.

My thought was to have a Submit form and an Edit form for each type. I'd set the post type to Draft on the Submit form. When the submit form is completed I would want it to be replaced with the edit form. Would this work -- do Edit forms have access to a draft post?

My second thought was to have "Save" buttons next to certain fields in the form, which would save a draft only, then the submit button would actually publish the post.

What would be your recommendation for this workflow -- one of these options, or something else?

#1867969

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Scott,

Thank you for getting in touch.

Yes our forms edit link can be accessed on the frontend even if the post is a draft. However only admins and editors I believe can see the draft posts on the frontend. So your user role must be one of these.

For the workflow on how to achieve this you can take a look at the link below.
https://toolset.com/course-lesson/front-end-forms-for-editing-content/#3-insert-link-to-the-content-template-that-displays-the-form

Please let me know if this helps.
Thanks,
Shane