I am trying to:
Link to a page where the issue can be seen:
I expected to see:
Instead, I got:
I am trying a many to many relationship for the first time to I am not sure if I am doing something wrong here. I setup a many to many relationship between two CPTs called Doctors and Patients. There are intermediary fields between both.
I then setup a relationship form (that connects any doctor to any patient) on this page:
hidden link
The problem: The relationship between the selected doctor and the selected patient is formed but the intermediary form is not saved.
What am I doing wrong here?
The problem: The relationship between the selected doctor and the selected patient is formed but the intermediary form is not saved.
Can you tell me a bit more about this?
- Does this relationship use an intermediary post type? You can find this by going to Toolset > Relationships and clicking the relationship name.
- If it uses an intermediary post type, is it visible in the wp-admin menu?
- Where are you looking to find these saved fields in wp-admin after you submit the form?
Hello Christian.
Yes this many to many relationship is using an intermediary post type, namely "Doctors Patients" which is the default name given to it by toolset. And yes, this post type appears in the wp-admin menu under the name "History Library" and that is where I check to see if the fields are saved. I find that the relationship is formed (i.e the patient becomes a child of the selected doctor, as seen on his/her page in the backend) but the fields of the intermediary post type in "history library' are all empty.
And yes, this post type appears in the wp-admin menu under the name "History Library" and that is where I check to see if the fields are saved
What about in the Doctor or Patient post, do you see the custom fields appear in the post relationship panel?
If not, I'll need to log in and take a closer look. Please provide login credentials in the private reply fields here.
Okay thanks for the information. I have been able to replicate this issue locally and I am escalating to my 2nd tier support team for additional investigation. Please stand by and I will update you shortly.
A quick update today to let you know that this issue has been escalated to our developers as a priority task. I will keep you posted here as I receive more information.
Thank you Christian. Appreciate your help. I think you are aware that I have another ticket posted earlier and handled by you as well on hidden link regarding parent not being saved in a post form. What is baffling to me is that clinics.exeera.com is a completely separate installation of wordpress and toolset (also fresh, done after the major types 3.0 update, so update errors ruled out, unlike the first case) with minimal number of plugins and yet I am having another fundamental error in the core of toolset itself. So two major problems in two separate installations of wordpress/toolset. Is it something related to my hosting service? is it something in wordpress installation that I do? or is it just my bad luck?
It is baffling to me. Any thoughts on this?
Unfortunately I think it's just bad luck, this is a bug unrelated to your hosting environment. The good news is Forms 2.0.2.1 has been released, and it includes a fix for this issue.
Great. I will test that forms version tonight and give you feedback. Thank you!
Please let me know if the issue is not resolved. Thanks!
That update resolved my problem. Thank you very much Christian.