snippet-library
snippet-library copied to clipboard
`gpnf-set-created-by-property-on-child-entries-after-user-registratio…
trafficstars
…n.php` : Added new snippet for GP Nested Forms that sets the created by property on the child entries after user account is created.
Context
⛑️ Ticket(s): https://secure.helpscout.net/conversation/2719134672/71947/
Summary
When a nested form is submitted by a non-logged-in user, the created by property is not set on both the parent form entry and the child entries. However, when a, create user feed, is on the parent form to create a user account, it sets the created by property on the parent form but doesn't set that of the child form entries. This snippet sets the created by property on the child form entries, that is linked to the user registration parent form.