[memb_groupaccount_show_code]
Summary
This shortcode displays a unique code (only to the parent account) that can be entered into a registration form allowing sub-accounts to sign up themselves.
Shortcode Examples
[memb_groupaccount_show_code]
Shortcode Parameters
contact_id: The ActiveCampaign contact ID of the users for which you’d like to show the content to. Optional.
user_id: The user ID of the users to which you’d like to show the content to. Optional.
Description
The primary use case for this is to allow sub-accounts/child accounts to sign up themselves. If your site sells access in bulk using the Group Accounts feature, this can be very useful for large groups where having to add the accounts manually would be time consuming.
This way, each member can register on their own, simply entering the unique code for their company or team.
This field would be added to [memb_registration_form] with the example here.
The code used to generate the form above:
[memb_registration_form] <p>First Name: <input name="first_name" required="required" type="text"></p> <p>Email: <input name="email" required="required" type="email"></p> <p>Company Code: <input name="memberium/child_code" required="required" type="text"></p> <p>Password: <input name="password" required="required" type="password"></p> <p><input type="submit"></p> [/memb_registration_form]
Additional Information
This is a shortcode for Group accounts feature of Memberium for ActiveCampaign.