I have a single CPT page with several relationships/intermediary posts connected to the main CPT (called HCCN). The submit button that the relationship form added automatically stopped working - it no longer contained a label on it so it was blank. I found a workaround on your support forums to instead use this:
However, nothing happens and no connection is made with this button either. This is a critical issue as the form needs to go out before end of day Monday! Please help.
Link to a page where the issue can be seen:
sitewide password: "collaborate"
This is a staging site, feel free to change things around as needed.
Once you'll visit the same page, with this URL parameter and the HCCN post's ID ( for example yourwebsite.com/form/add-ehr/?hccn-id=1389 ), the child post's field will be automatically selected in the hidden field.
2. In the content template for the single HCCN post, where you've added a link to this new connection page, you can update the link to include the current post's ID in the URL parameter:
<div class="list"><a href="[wpv-post-url item='1895']?hccn-id=[wpv-post-id]" class="et_pb_button">Add an EHR</a></div>
I hope this helps and please let me know if you need any further assistance around this.
I made a copy of the Single HCCN template, made the addition to the Add EHR link to include ?hccn-id=[wpv-post-id] and then I was able to make the duplicate Single HCCN the active template and still this is not working.
Also, I had tested the Edit EHR link and made the changes you suggested, but now they are not working! What the heck? It's like things are changing even when I don't have templates open.
OK, I've now got the Edit and Add relationship forms working through trial and error - I didn't realize I needed to update the embed form code in both the Add and Edit page/template.
Now, the Single HCCN page is no longer displaying the intermediary post data for each relationship, whether added or edited. This was previously working, but is no longer. If I add or edit an intermediary post and save, it will show the changes in the radio buttons, but none of the checkboxes are saving data.
I don't understand why this was working and not is not - I didn't change anything in the intermediary posts, though now I'm trying to fix and can't figure it out.
I'm working with the two test posts: hidden link hidden link
I'm very unhappy that it took getting all the relationship forms hooked up to find out that checkboxes don't work on intermediary posts. I spent a shit ton of hours doing all these relationships and fields and had to redo everything. Many many hours wasted. It's not like anyone is going to read through an entire list of known issues before they figure out their approach. You should add a warning when someone tries to use checkboxes on intermediary posts. I'm extremely tired and frustrated.