Back to All
Ask a Question
Creating related objects via form
almost 7 years ago by Nikolay Bonev(edited)
I have a form with used for public submission. That form is placed on the
event page and creates an
event. Now the issue I have is that it creates the
open_subscription entry but the event field stays empty. I have tried everything I could think of but still no success.
Has anyone worked with forms that create related objects? How did you implement it? Any suggestions?
Here is a gist with my code: https://gist.github.com/DonKoko/ff8d59d42d9357ef5cb0fc6545d30876