Advanced user registration fields

aster
Forums
Hi, Is there an option to automatically register user to particular class from registration form. For example: I have added drop down list of Schools on Create new account page and I want user to be automatically enrolled to corresponding class for chosen school, ie. On the registration page user select School1 and I want him to be enrolled to class named School1.
Profile picture for user James Aparicio
James Aparicio

Hi aster

Hi aster Sure, you can create a rule, that has that behavior. On user register get the class field, and add the user to the class and set it him as active with the og rule you want. https://drupal.org/node/1866108 Best regards
Canyasa

James I've been trying to do

James I've been trying to do this but couldn't make it. Could you explain more detailed please?