Tell us what you are trying to do?
I have the CPT "courses", "editions" and "registrations"
Courses << Editions << Registration
They are related one to many.
A course will have many editions and each edition will have many enrollees.
I create a course. ok
Then I create an edition of a course, ok.
Finally, I want that, through a form, they can register for an edition, thus creating a registration.
I tried to create a form in the registered entry template.
It has all the registration fields, ok.
It has a related field "registrations-editions" that I want to use the edition that I am viewing at that moment and not have to choose from a drop-down.
how can i make it take the value of the edit field directly?
Is there any documentation that you are following?
https://toolset.com/course-lesson/what-are-post-relationships-and-how-they-work/
Is there a similar example that we can see?
I don't know
What is the link to your site?
its a local site