Skip Navigation

[Resolved] Split: Combining user form and post form as one

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.

Our next available supporter will start replying to tickets in about 0.86 hours from now. Thank you for your understanding.

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

Supporter timezone: Asia/Karachi (GMT+05:00)

Author
Posts
#2688100

What i would also like, is to combine the registration form, with the create post of the artists bio. including photo etc. And of course, they should only be able to create ONLY ONE artists profile post. I GUESS THAT MUST BE CLEAR?

Thanks upfront!
Peter

#2688102

Hi Peter,

We have a very useful guide on the topic that covers the setup that you're planning to implement:
https://toolset.com/lesson-placement/lesson-placements-1622969-1929573/

The user registration form and the artist bio/post form can't be merged into a single form, but here is the alternate workflow that can be used to cover both these forms:
( this is from the same guide: https://toolset.com/lesson-placement/lesson-placements-1622969-1929573/#the-flow )

- A user registers with your site.
- A WordPress profile (account) is created for him or her.
- The user logs in.
- User can use a front-end form to create Contractor profile now.
- The user waits for the site administrator to approve the contractor post. The Contractor post becomes public. It is available on the list of all Contractors so that other visitors can search for it.
- The contractor can use a front-end form to submit work/portfolio. The showcase entries become available to the public on the contractor’s individual page and on the list of all showcase entries.

The following section of that same guide also explains how a view can be used to ensure that each user can add only a single profile/bio post:
https://toolset.com/lesson-placement/lesson-placements-1622969-1929573/#how-do-i-prevent-users-from-creating-more-than-one-contractor-post

regards,
Waqar

#2688968

That helped! Is it also possible to somehow remove the "create bio" link after it's made? So only the "edit Bio" link stays?
Thank you

#2688971

Thanks for writing back.

You can make this even more streamlined by using a single page and view to create and edit a bio.

1. The page 'Bio Aanmaken', already shows the form to create a bio ('Bio aanmaken formulier'), when a bio post from the current user doesn't exist.

2. In the loop of the view 'Kunstenaarbio aanmaken' on this same page, I've added a form block for 'Edit kunstenaars bio post'.

Now this same page will show the form to add a new bio when it doesn't already exist. If it does exist, it will show the form to edit it, instead.

You can rename this page to something generic like 'Bio Management' and then you'll no longer need the other page 'Bio Bewerken'. Only one link to this updated page will be needed on the 'Mijn Kunstenaars Account' page.

#2688986

Awesome support, thanks a lot!

peterV-17 confirmed that the issue was resolved on 2024-03-21 10:50:26.
This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.