Tell us what you are trying to do?
Screenshot of a ticket that was closed. Sorry, I did not get back to it in time. I want to connect events from The Events Calendar to a Toolset Type in a parent > child relationship. I set up the relationship but I think I need to add a hidden form field to their 3rd party form.
Is there any documentation that you are following?
N/A. If you have any documentation on assigning relationships in form fields. (hidden) that would be great.
Is there a similar example that we can see?
This is a test business types page: hidden link
And what I would like to be able to do is to add events that this business created using this form:
hidden link
Then I should be able to include it's child event elements on that business page.
Hi,
Thank you for contacting us and I'd be happy to assist.
I tried to view the submit an event form, but, it is asking to log in first.
Can you please share temporary admin login details, so that I can see how this form is set up in the admin area? I'll be in a better position to guide you with the next steps, accordingly.
Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.
regards,
Waqar
Thank you for sharing these details.
Reviewing your setup and the add new event form, I'll recommend consulting The Events Calendar support to know about the recommended hook that can be used to trigger a custom PHP function when a new event is created.
In this PHP function, you can get the ID of the current user's 'ROC Businesses' post and connect it with the newly created event post, using the "toolset_connect_posts":
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_connect_posts
I hope this helps and please let me know if you need any further assistance around this.