We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14162
    • 67 Posts
    Login is an excellent component, but I need a little help. I have a registration form set up and I’d like the registrants to be able to select a User Group from a list - rather than defining the user group(s) in the snippet parameters. e.g:

    [[!Register?
        &submitVar=`registerbtn`
        &activationResourceId=`32`
        &activationEmailTpl=`lgnActivateEmailTpl`
        &activationEmailSubject=`Thanks for Registering!`
        &submittedResourceId=`2`
    &usergroups=`somethingheretopickupwhattheregistranthaschosen`
    ]]
    <form...>
    <select name="usergroups"><option value="group1">... etc.
    


    I’ve tried preHooks but not sure if that’s relevant. Any help, much appreciated.