Skip Navigation

[Resolved] Create front-end post forms including fields for Repeatable Field Groups

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 6 replies, has 2 voices.

Last updated by katerinaA 1 year, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2549285

Hi there. The question is straight forward!
I have created a Custom Post Type. I use custom fileds, including Repeatable Field Groups.

I am trying to create a front-end post form including all fields plus the Repeatable Field Group.

Please don't prompt me to read this: https://toolset.com/course-lesson/front-end-forms-for-repeatable-field-groups

I have and I have followed the instructions, but this article shows how to create a form just for the repeatable group.
If I need to inlcude this form to my New Post Form, how would I achieve this?

Thank you!

#2549383

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Toolset treat repeating field group as child post to the parent post where the repeating field group is added. Having said that there will be one-to-many post relationship between parent post (one) and repeating field group that is treated as child (many).

Regarding your query, you can not merge two post types (parent + repeating field group) as you will require two separate forms to add parent and related child posts (repeating field group).

Maybe you can create a page A where you add the form to add parent and as soon as user submits the parent details you can redirect user to page B where you will offer the form to add repeating field group items.

#2549445

Thank you Minesh for your answer.
Do you happen to know if your suggestion works in this case:
When the user submits the parent post we save it as "pending". Will the user be able to proceed to "Page B" if his post is in pending status?
Thank you

#2549459

Minesh
Supporter

Languages: English (English )

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

Do you happen to know if your suggestion works in this case:
When the user submits the parent post we save it as "pending". Will the user be able to proceed to "Page B" if his post is in pending status?
==>
As far as I know yes, there will be no issue with that.

#2549499

thank you so much!
I'll close the thread and go and try this out!

#2549501

Minesh
Supporter

Languages: English (English )

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

Ok great. You are welcome to close the ticket.

#2549503

My issue is resolved now. Thank you!