Home Forums Add-ons Repeater Field Collapsed repeater can't pick up a field to display from cloned object


Collapsed repeater can't pick up a field to display from cloned object

  • Hi,

    if I put a Cloned CF in a Repeater, the repeater can’t find fields to use for the collpased state (it just sees the clone field which of course has no data itself). It would be good if it could find at least one level of subfields to use for the collapsed state


  • This is due to the way that the clone field works. The best advice I can give you is to submit a support ticket

  • I was having the same issue because I am using cloned field groups quite heavily. But I discovered a work around.

    1. Set the Collapsed field value in the Repeater to your cloned field.
    2. In your cloned field group add the class “-collapsed-target” to the field you want to show when the repeater is collapsed.
    3. Enjoy.

    Also, if you have multiple fields per row, one (or more) of which you want to display when the repeater is collapsed, add the “-collapsed-target” class to ALL the fields you want displayed. Just make sure they don’t add up to more than 100% width. I do this with a Person repeater where I show the First Name and Last Name when the repeater is collapsed.

    This is definitely a hack, but for now it works.

  • thanks @kensyntric-com I think that this work around is probably the best that’s going to happen, so the information is good.

  • Hey people, any news here? I tried @kensyntric-com’s workaround, but no success 🙁 My repeater (grandfather) includes a clone (father) which includes another clone (child).

    The child one has 5 sub-fields

    Group containing

    The father has
    Clone (child)

    And the grandfather only repeats father.

    I would like to collapse father and show its titles, collapse child and show its Text (inside group), but I couldn’t find a way to do so, any ideas?


  • I abandoned the cloned fields because I needed more than just field values to show in each row. I now have links to view and edit each object, custom checkbox…the kitchen sink. I am now using custom WordPress admin lists, basically the equivalent of the Pages, Posts or Users list with filters, inline editing, sorting, etc.

    If you get stuck and want to know details I’d be happy to share some code. Sorry I’m no help.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.