linking custom user field with self enrollment key on registration

linking custom user field with self enrollment key on registration

by Rudraksh Batra -
Number of replies: 0
Hi

On the registration page of moodle 4.3, i want to add one access code field, i want if the user enter the access code and get register, then same access code automatically applied as group enrollment key, which is already set in system courses , so user will only enter key once during registration and after that user will get self enroll automatically in courses which has similar access code or self enrollment key, basically i want to remove the step where user register and then during access of courses, user enter their key again for each courses if we have 10 courses which has same key, pls advise how to achieve that.

Regards
Rudraksh
Average of ratings: -