Does anyone know how to have a hidden field within a zoo visitor registration form which automatically chooses which member group they will go in? This is my code, which doesn't work:
{exp:zoo_visitor:registration_form error_handling="inline" return='supporters/support-us/success' allowed_groups="9"}
<input type="hidden" name="group_id" value="9" id="group_id" />
My default options set in the control panel under member preferences are for 'self-activation via email' and they go in to the 'members' member group. But for this particular form I want anyone completing it to go to a different member group, called 'supporters', group id is 9. At the moment they're just going in to the 'members' group after activating through their email, so I guess it's ignoring my hidden field?
Any help would be very much appreciated.