Skip Navigation

[Resolved] Nested forms?

This support ticket is created 5 years ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by samuelH 5 years ago.

Assisted by: Minesh.

Author
Posts
#1412293

Hi,
Is it possible to nest forms? I have forms that frontend posts to a lot of custom fields. Complex form. I am wondering if I can make multiple forms that edits to the same unique custom posttype?

#1412707

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Do you mean that you want to split the one form into multi-step form? If yes, there is no native feature available but you can workaround it by creating multiple forms and using the Toolset forms hooks.

Where you need to create a Toolset edit form for each of the step excluding the first step. So, for instance if you want to have 3 step form, you should create a form to add a content for the first step and create edit form for the step 2nd and 3rd.

Please check the following related tickets that may help you:
=> https://toolset.com/forums/topic/multi-page-cred-form-or-save-button-for-long-form/#post-298832
=> https://toolset.com/forums/topic/cred-forms-paginate-a-long-form/

More info:
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_success_redirect
=> https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/
=> https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/building-forms-for-editing-when-using-layouts/

Please feel free to get in touch with me if you have any issues to setup this workaround.

#1413693

My issue is resolved now. Thank you!