Repeater with multiple selects displays incorrect second select options

Hi there,

I’m developing a site which collects service reviews. I have a custom taxonomy for 18 individual Service Attributes (Expertise, Professionalism etc.) and a custom post type for Satisfaction Ratings, with 9 separate posts with meta fields for Name & Value (example, Extremely Dissatisfied:1 through to Extremely Satisfied:9). I am creating a Pro Form to add the review, and have a Repeater element with two selects. The first select uses a Nested Options element referencing the custom taxonomy. The second select uses a Nested Options element referencing the custom post type. Looking at the page on the front-end, the first instance of the repeater correctly displays the two selects with the correct content, but subsequent repeaters don’t respect the settings of the second select element, and repeat the first select contents.

I attach a screenshot here to help you see what’s going on - sorry, would have added more than one, but as a new user, it seems I’m limited to one.

I also note that the second select element doesn’t seem to bring in the ‘choices’ script - and so it’s doing a browser native select box, rather than the ‘Modern Se;ect’ version.

For bonus points :smiley: in an ideal world, I would like subsequent repeater elements to access Terms that haven’t already been selected - for example, if the user selects ‘Expertise’ for their first attribute and assigns ‘Very Satisfied’ as their rating, then if they add another repeater element, the first select would have ‘Expertise’ removed from the selectable items, so I don’t get repeats which could potentially conflict. I cannot see how that could be implemented, and if you have any creative ways you think that could be done, that would be appreciated :slight_smile:

I hope this is clear and not just the ramblings of a newbie!!

Thanks for your help.

Hi there - any thoughts or experience with this issue, either from the Bricksforge team or from any other more experienced builders?

Does it point to an underlying issue with repeater elements of some sort, or an isolated occurrence?

Thanks for your help,

Sean

Hey Sean,

Thanks for the detailed explanation – that definitely helps narrow things down.

From your description, this seems like a bug indeed.

Would you mind creating a support ticket and sharing temporary login credentials with us? That way, we can take a closer look directly on your site and apply a fix tailored to your setup.

Thanks very much!

Kind regards

Will do - thanks!

1 Like