Tell us what you are trying to do?
I realize this seems to be a common request but even using all the other tickets I can not figure this out especially as I am not the best coder.
I have a CPT where the majority of info is stored about fishing flies. Pictures of the flies are stored in a separate CPT with a one-to-many relationship to the first CPT. I want a user to be able to add their own flies with a picture. I created 2 forms. First is a create form (pictureentry) to upload the picture to a new picture post. This form is placed on a page (1. uploadpicture) and set to divert to second page (2.Addnewfly) containing second form (flyentry) . Second form is also a create form and allows the user to enter fly name and then chose an image to associate the new fly with. The picture just uploaded is chosen.
Forms do create new posts but the relationship between picture and fly posts is not created. Can you tell me why and how to fix that?
Also is there an easy way to have the second form be a edit form in situations where the fly already exists in the system and simply needs the new picture post to be associated with it?
Hello. Thank you for contacting the Toolset support.
To move from page one two another page there are couple of options. Either you can set it from your form setting "After visitors submit this form" and select the option "Go to a page" and select your desired page where you added your another form.
Hey Minesh
I'm not sure what you mean "added the parent post on your form"? The second form that is filled out is set to create a post for the parent fly post? The child post is the picture CPT. Or is there somewhere else that I need to define this so it does build that parent-child relationship?
Can you please tell me what what form create what post?
- You have form on 1st step - what post it will create (parent/child)?
- On 2nd step, what form you added?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The topic ‘[Closed] Multi step form’ is closed to new replies.