Discussions
Populate associations from public submissions
over 7 years ago by Lawrence Nicholson
Hi,
Based on the contact form guide I've made a form that adds some details, and tries to add associated data (through checkboxes). The form works fine until I check and boxes, then I get an "undefined method `association_ids=' for #<Locomotive::API::Forms::ContentEntryForm>"
Is this possible through public submission?
Thanks
Lawrence
over 7 years ago by Lawrence Nicholson
To answer my own question in this dead forum. The checkbox attributes should:
content[model_name][]
not
content[model_name_ids][]
almost 5 years ago by Daniel Hogenelst
I'm trying to do a similar thing, could you explain a little more about how you did this?