I have three groups that I set for allowed_groups, 22, 23, 24, which are the groups: 1995, 2002, 2005
Here is the code:
{!-- Solspace User Module: Registration Form --}
{exp:user:register}
Username: <input type="text" name="username" size="25" /></p>
Screen Name: <input type="text" name="screen_name" size="25" /></p>
Email Address: <input type="text" name="email" size="40" /></p>
Password: <input type="password" name="password" size="25" /></p>
Confirm Password: <input type="password" name="password_confirm" size="25" /></p>
<label for="graduation_year">Graduation Year</label>
<select name="group_id">
{select_member_groups allowed_groups="22|23|24"}
<option value="{group_id}">{group_title}</option>
{/select_member_groups}
</select>
{if captcha}
Please enter in the word you see below: <input type="text" name="captcha" size="40" /></p>
{captcha}
{/if}
<input type="checkbox" name="accept_terms" value="y" /> Accept Terms?
<input type="submit" value="Submit" /></p>
{/exp:user:register}When I display the form, it only displays one item in the drop-down, and that being “Guest”, which isn’t even one of the allowed_groups
I am not logged into any account when viewing this page.
This is using the Solspace User module, what may be the problem with it not showing the allowed_groups I set, and instead showing the “Guest” group?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.