Skip Navigation

[Resolved] Repeating fields

This thread is resolved. Here is a description of the problem and solution.

Problem:

I need to allow customers to enter multiple sets of bank details (e.g., bank name, branch, account number) within a single form. Each set should be repeatable so customers can add multiple bank accounts without filling out separate forms.

Solution:

Toolset Forms does not support repeating field groups (RFG) directly within a single form. Instead, create a separate form for the repeatable field group and link it to the main form

Relevant Documentation:

https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/

https://toolset.com/course-lesson/front-end-forms-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.

This topic contains 5 replies, has 1 voice.

Last updated by YounesZ5625 2 months, 3 weeks ago.

Assisted by: Christopher Amirian.

Author
Posts
#2796634

Hello

I am creating 4 fields where the customer fills in bank details, bank name, branch, etc.
I need that if the customer has multiple bank accounts, he can repeat this group of fields
How do I do this?
I have seen explanations and still haven't found a solution.
Thank you very much
Younes

#2796669

Christopher Amirian
Supporter

Languages: English (English )

Hi Younes,

Welcome to Toolset support. I think the the repeatable field group will be a good choice for you as you do not want multiple entries for each individual custom field, and instead, you want a group of fields to be filled and if needed, the group itself can be repeatable as a whole.

Please read this documentation on how to create one:

https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/

Thanks.

#2796673

I've seen this documentation before, but I need this group to be inside a form with many fields, and I need this group to be able to be added again
For example
There are fields for personal details, first name, last name, address, etc., and then there is a group of fields for bank details, which need to be added again, as is possible in a single field.

Thank you very much
Younes

#2796768

Christopher Amirian
Supporter

Languages: English (English )

Hi Younes,

It is not possible to have multiple entries added inside a form, but as the repeatable field group is actually a post-type under the hood, it is possible to add a separate form specifically for that RFG separately:

https://toolset.com/course-lesson/front-end-forms-for-repeatable-field-groups/

That is the closest thing that Toolset has out of the box that youc an use.

Thanks.

#2796769

Is there a possibility with some coding?

Thank you very much
Younes

#2796774

Christopher Amirian
Supporter

Languages: English (English )

Hi Younes,

Not an easy one that I can think about. It will involve Javascript coding, Ajax connection to the backend and creating a complete form feature for RFG.

That is surely way outside of our support scope but you are welcome to hire a developer to implement such feature:

https://toolset.com/contractors/

#2796775

Thank you very much
Younes