Can't seem to figure out how to add members via Channel Form to a VMG Chosen Member field.
Members need to be able to sign up for a session of their choosing on the front-end and be associated with that particular session in the CP.
There isn't any documentation on the vmg_chosen_member git page other than how to format/style the field if you're using {field:session-attendees}.
Ideally, I would pass the logged in member_id via a text input field like so:
{exp:channel:form channel="sessions" entry_id="{last_segment}" id="session-registration" class="session-form" return="url/success"}
<input name="session-attendees" type="text" value="{member_id}" />
<input type="submit" value="Register for this session" />
{/exp:channel:form}
But that doesn't work.
I don't want to use {field:session-attendees} because the member signing up for a session does not need to see the other members signed up.
What's the proper way to add members to a chosen member field via Channel Form?