[Resolved] create form for user to update existing relationship posts
This support ticket is created 3 years, 1 month 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Tell us what you are trying to do?
Create a form for user to edit existing relationship posts in account area. I have an existing directory site with custom post types with many-to-many relationships between them. We are upgrading the site so that the organizations can edit their own information. I have figured out how to allow the organizations (users) to update their main post type information, and also add a new post with while creating a relationship through the documentation for forms. One thing I can't figure out is how to allow the user to edit the existing post relationships which we have put in place. Is this possible?
What is the link to your site? hidden link Here, we would like for the user/org "Breakwater Health Network" to be able to 1. Edit their HCCN info (I have this figured out) 2. Add an EHR, PHM, etc and connect the post (I have this figured out) and 3. Edit the existing EHR, PHM ,etc. posts/relationships we already have on the site using a form (**WHAT I NEED HELP WITH)
Hello. Thank you for contacting the Toolset support.
Do you mean that you want to edit the custom fields belongs to intermediary post type? OR you just want the users to allow to change the existing connections?
Hi I was able to create the relationship form to edit the existing relationship post. and now I'm getting this error message:
EDITED: This only happens when I try to un-check the checkboxes on the form. If I simply change the radio buttons or check additional checkboxes, the form saves and the relationship post is updated as it should be.
Can you please share problem URL and steps I need to follow that should lead me to see the issue you mention.
Please share admin and addon frontend user access details if required.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Thanks for the frontend user access details and its working. I logged in using the shared information and then navigate to:
=> hidden link
Under the section "Electronic Health Record Systems" I click on the edit link "Edit this EHR" available with the item "Athena" and I show me edit form. On edit form I checked the checkbox "Vendor Contract Technical Assistance: External Support" (the last checkbox) and saved the form and when I edit the form again I see the checkbox x "Vendor Contract Technical Assistance: External Support" is checked.
Do you mean that once I checked this additional checkbox "Vendor Contract Technical Assistance: External Support" and saved the form, this checkbox is not get displayed under section "External Support" when we view the "Athena" item?
Minesh,
I have also been able to check additional checkboxes. What doesn't work is un-checking or removing the checkboxes. If you try to edit the form again, and un-check or deselect something that was previously checked (for example Vendor Contract Technical Assistance: External Support that you just checked) and save the form, it will not remove items that were previously selected and we get an error.
Thank you.
I've added all those required details to our internal ticket and to be honest there is no workaround available and you will have to wait a bit until the fix is offered.