• Resolved birtakimseyler

    (@birtakimseyler)


    “The field must be at the top level. It cannot be a subfield of a repeater or a flexible content field.”

    Hello, Is there any possibility or the roadmap to enable for using relationship field in a subfield, specially repeater?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Huebner

    (@hube2)

    The relationship of fields in a repeater is too complex to do this automatically. Not only do you need to match up the field, but the repeater and the row or the repeater, how do you know what row needs to be updated on the other end, etc, etc.

    Anyone that wants something like this would need to build code specific to their use case.

    I would suggest explaining the details of what you are looking for over on the ACF forum and seeing if anyone has done this.

    Thread Starter birtakimseyler

    (@birtakimseyler)

    Thank you for your quick reply. I’ve already looked for. But couldn’t find any solution.

    In my project basicly, I should describe the relation what type is.

    for example, I have two post types, “Actor” and “Case” and I want to describe the edges between these two nodes. Like that:
    Actor A → support → Case A
    Actor B → against → Case A

    Nevertheless, I would like to say that I am very pleased with this plugin. Thank you.

    Hi

    Did you ever find a solution to this issue? I have a similar requirement, and wondered if there might’ve been a way to achieve it.

    Thanks

    Scott

    Plugin Author John Huebner

    (@hube2)

    In order to do something like this a new field setting would need to be added to relationship and post object fields that would allow selection of the field to match is with. It is beyond me how you could select a relationship in a repeater that matches… not to mention what happens if the rows in the repeater are reordered or there is not a matching row on the other end. As I said before, this is far too complex for the scope of this plugin and it is likely not even possible.

    Thread Starter birtakimseyler

    (@birtakimseyler)

    @scottwvw
    Unfortunately I found nothing. I’m using without subfields.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Relation support for subfields’ is closed to new replies.