Create Registration and generate post
-
Hello,
I am really enjoying the myriad of possibilities this amazing plugin seams to offer. However, I am getting stuck on a very specific task:
I am creating a multivendor service marketplace, in which I have several different user roles, most notably a customer and a practitioner role. The idea is, the user signs up through a simple form, where the role is picked. This form has the main action of creating a user. Then the user is redirected to the next form, with the main action of creating a post. This is so each user who is a practitioner, can offer their services on their own particular profile page (kinda like Fiverr or Upwork does).
I managed to create a registration form with ACF Frontend Form Element, and the user is created. Fields are: First Name, Last Name, Email, Password, Role (dropdown). Now, the name, email and password don’t seem to be stored anywhere. The user is stored in the correct role.
After pressing submit, the user is redirected to a profile completion form according to the chosen role. Once this is filled, the form has the Main Action of creating a new post. The new Post is created. However, the post title is empty, which might be because the user was created prior to the post, and there is no relation between both forms.
Is there a way to change that? Can I link the data stored from the newly created user in a newly created custom post type?
The page I need help with: [log in to see the link]
- The topic ‘Create Registration and generate post’ is closed to new replies.