Hi,
So I’m trying to place a repeater inside a repeater, but it isn’t working. I checked this page for all elements that can’t be added to a repeater and in the list isn’t the repeater, so I should be able to add a repeater to a repeater. Is there any way I can bypass that, is it a bug or did Wix forget to add repeater to the list?
1 Like
Hello,
It is indeed impossible to put repeaters inside other repeaters.
I’ll update our documentation team to check the documentations
Thanks,
Schachar
OK thank you. But isn’t there any way I can get around it?
what is it you are trying to do?
Im making a comment section using wix code and a database. The repeater shows the comments and I want for each item from that repeater another repeater inside for the comment answers
Is there anyone that knows how I can get around that?
I would also like to put repeaters inside repeaters! I am building form based software that shows multiple levels and this would be perfect…
Example:
HARDWOOD FLOORING
SKILLED SERVICES
Skilled Service
Skilled Service
Skilled Service
PROFESSIONAL LABOR
Labor
Labor
Labor
PRODUCTS & MATERIALS
Product
Product
Product
CARPETING
SKILLED SERVICES
Skilled Service
Skilled Service
Skilled Service
PROFESSIONAL LABOR
Labor
Labor
Labor
PRODUCTS & MATERIALS
Product
Product
Product
INTERIOR PAINTING
SKILLED SERVICES
Skilled Service
Skilled Service
Skilled Service
PROFESSIONAL LABOR
Labor
Labor
Labor
PRODUCTS & MATERIALS
Product
Product
Product
I would also love to be able to put form elements inside or repeaters. There are times where I might want to duplicate a form as many times as necessary. I understand the issue with adding forms to repeaters but… What if the responses were also tied to a repeater?
Also, have you tried using a Table inside the repeater? Gives similar abilities.
Great idea using a Table. BUT in my situation I need to change some repeated elements using code to fetch data from another database depending on what the item’s values are…
I posted a feature request for this:
Impossible or not possible at the moment?
Idk if they would allow this tbh, for potential loading problems…but you could do arrays inside a repeater.
I’m definitely not a coder but I’m trying to build things so it works once coded… not sure what an array is but I’m about to look it up!
Ty
@skmedia
I sent a request through your website. Did you get it?
@john-kisor Sorry John, the form is currently broken and I haven’t had the time to fix it. Please shoot me an email and I’ll help you through there.