Auto assigning student ID

Auto assigning student ID

by Zaid Ghansar -
Number of replies: 2

I am initializing a new course in moodle with self email based registration. I want moodle to automatically assign the "ID Number" for students as they register based on a set format like RST_01, RST_02 etc. I know the profile has ID Number as a field but I am not sure if moodle can assign ID Numbers automatically on every student profile created?

Average of ratings: -
In reply to Zaid Ghansar

Re: Auto assigning student ID

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Every student has an ID auto-assigned to the id field in the database (although this is just an incrementing number).  I believe the ID Number field is designed to be imported from an external system, such as a student records system, so there's no built-in way to auto-assign it. However, there's nothing to stop you creating one smile