Hello,
I'am trying to create a CRED form using the page post type. I have existing page which is Parent and I want to create another page using the CRED form then I want it to become a Child of the existing Parent page. So in the CRED form there will be an selection field to select a Parent page. So after saving the page the permalink will usually become domain.com/parent/child/. So is it possible for a CRED form to do that and how?
Best regards,
I see that you refer to the WordPress native Hierarchy in the native Post type Page, not to the Types relationships.
In this case please proceed as follows:
1. Creat a new Toolset Form, and choose "Page" as post type to be created.
2. Make sure, to add the Page Parent Post Field to the form from the "Post Fields" Quick Tag in the form…
3. This will generate this ShortCode:
[cred_field field='post_parent' value='' order='date' ordering='desc' select_text='--- not set ---' class='form-control' output='bootstrap']
That will allow to choose the parent page to the new created page.
Alright got it. Thank you!