We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 49407
    • 159 Posts
    I'm using the Login package. I would like to supply the registrant with the option to choose their group during registration.

    I have the form working and adding the user, but I can't figure out how to vet the value of a dropdown into the &usergroups=`` statement in the [[!Register]] call.

    It's probably so simple I'm going to feel like an idiot after someone tells me. >.<

    This question has been answered by aaronkent. See the first response.

    • discuss.answer
      • 49407
      • 159 Posts
      I knew I was gonna feel stupid when I figured it out...

      &usergroupsField=`group`

      ^^^ Put that in your [[!Register]] call!

      Then create a field named "group" in your registration form.