Skip Navigation

[Resolved] Form 1-1 Relationship

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 3 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1968107

Hello

I an "add new" form for a CPT that has a 1-1 relationship with another post, in the relationship field it propose to chose values that are already assigned to other CPT instance (in the backend it does not)

How does it work?

Thanks

#1968395

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nestor,

Thank you for getting in touch.

I'm a bit confused about the issue here. Can you provide some further clarification, with perhaps some screenshots to better illustrate the issue for me ?

Thanks,
Shane

#1968625

Hello,

You can see here that in the front end form posts already linked are suggested hidden link, but in the back end not when adding a new post because are already linked to another post in the 1-1 relationship hidden link

You may consider set the post private, it helps to explain in detail

Thanks

#1971133

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nestor,

I understand now.

Given that you have setup a 1-1 relationship, once the posts already have an established relationship with another post it will no longer show in the list.

In your case it would appear that all your posts already have an established relationship hence no items are being shown. So what you will need to do as a test is to create a new parent on the backend and then try seeing if you can find that new parent from the child to connect it to.

In any case this is how a 1-1 relationship is meant to work.

Thanks,
Shane