Support

Account

Home Forums General Issues Relationship field to another record in the same field group

Solved

Relationship field to another record in the same field group

  • I’m doing a real estate website. I have CPT for Properties and one for Staff. I have a name field that connects a single property to a single staff member (an agent), and also the staff member can have multiple properties connected through the name field. This is all working as expected. What I need to do now is add a field to the staff member record called Assistant, that will be linked to another staff member who is that person’s assistant. Since the name field is already related to the properties record, how can I connect the name to the assistant field also?

    What is the right way to go about this without messing up my properties – staff bi-directional relationship? (I have the ACF Post-2-Post plugin installed.)

    Here are my field groups:
    Staff: https://app.screencast.com/j7QTSKqVeBQYL
    Properties: https://app.screencast.com/ERNyftLSeZjI5

  • I would create a second staff-to-staff relationship and not try to use the same field for multiple purposes.

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

You must be logged in to reply to this topic.