Product Configurator Repeat Section

By: Joe Clark | Asked: 08/22/2023
ForumsCategory: General questionsProduct Configurator Repeat Section
Joe Clark asked 8 months ago
Hi - is there any way to have a repeater field inside of a repeater field? I’m looking to build a product configurator that allows customers to choose a product (I would like this option to be repeatable) and then within that individual product, have unique forms associated with that product. The second repeater would come in to allow users the option to add multiple sizes to an order for that particular product. Can anyone help? Thank you in advance.
2 Answers
Walter JonesWalter Jones answered 8 months ago
Maybe using a drop down as a field within the repeater to select a size would be a better option. If you don’t want the size to show up for every product I would use conditional logic to determine when it should appear.  

Repeaters are child forms, the data is stored within the child form and connected by a parent_id to the main form.
Joe Clark answered 8 months ago
Hi Walter, Thank you for your reply. To give you a better idea of what I'm trying to do, I have attached a video link of a screen recording: - so as you can see, I would like the 'Choose a Product' section to be repeatable, and then on the 'Multiple Sizes' option, have the ability to add repeater fields.  My workaround for this at the moment is to just add the extra fields manually, but I'd like the end user to have the ability to add as many as they want. Hope that makes sense. Is this achievable? Many thanks, Joe  
Victor Font replied 8 months ago

I looked at your video. The rule for embedded forms is that you can’t embed another embedded form in the first. This rule applies to sections also.

However, I thought of a potential work around that could work, but I’ve never tried it. You could possibly use an HTML field to display a second form that has its own repeater. Engineering this could be tricky because both forms would need to be linked. That means passing parameters. It’s a long shot but it just might be crazy enough to work.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community