What is the best way of creating a form that has a number of custom field types that when submitting creates a child post or page.
1 scenario.
Essentially form 1 will create the parent page (page1) or post(post1). Post1 or Page1 will contain another form that will capture some additional custom fields and this will get saved to create post1.1 or page1.1
I then need to be able to repeat this so I would get page/post 1.2, then page/post1.3 etc etc.
What is the best way of achieving this given I might not have the parent ID so this would have to be dynamic. Also, are there any limitations on whether I should use a page or a post?
Thanks
Steve