After users are logged in, they can submit a channel form, but it looks like it’s only submitting it with default author (Channel settings). How can I make the author is the the member that submitting the form? I know Johnathan Waters had a plugin for this in EE2, but have not found a solution for EE3
Using EE 3.4.2
Hi there,
to perform this, I’ve simply added the hidden field inside the channel form:
<input type="hidden" name="author_id" value="{visitor_member_id}" />
PS: I’ve used here the Visitor module to populate the current logged-in member id value, however, you are free to set up one by your own way.
Cheers
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.