I have a Custom Module and have selected the option “Allow creating foreign items from other existing Custom Modules”.
I have a user submitted form for the child module and I want to set the parent id, but just adding the field to the input form doesn’t seem to work: <input type="text" name="prop_ParentId" value="parent's id entered here">
Good question @shannonlynd. I don’t think the ‘foreign item’ relationship can be created like this, from the front-end user-submitted form. I think it’s an admin function… but I’m not 100% sure and I’d like to be proven wrong.
Might need some input from @vlad.z or the team on this one…
Hi @shannonlynd, you need to use this code <input type="hidden" name="ParentId" value="parent's id entered here">.
I’m afraid you made a mistake in the input name.