How to configure a custom roll number format (Admin — Web)

💻
Web Steps
1
Log in as Admin at vennsilix.com.
2
Go to Admin → School Settings from the left menu.
3
There are two separate roll number settings here, and both matter — Roll Number Format controls what a generated roll number looks like; Roll Number Validation Pattern (Regex) controls what's actually allowed to be saved as a roll number, whether generated or typed manually.
4
Under Roll Number Format, enter your desired layout using these tokens: {YEAR} (academic year), {CLASS} (class name), {SECTION} (section name), {NUM} (auto-padded number). For example, {YEAR}-{SECTION}-{NUM} produces roll numbers like 2025-A-01, 2025-A-02.
5
Under Roll Number Validation Pattern (Regex), enter a PCRE regex describing what a valid roll number looks like. The default, ^[1-9][0-9]*$, only allows plain positive numbers — no letters, no dashes.
6
If you set a custom Format that includes letters or symbols (like the {YEAR}-{SECTION}-{NUM} example above), you must also update the Regex to allow that pattern — otherwise your own auto-generated roll numbers will fail validation and Auto-Allot will show a 'does not match pattern' error.
7
Use the live preview shown under the Regex field to check your pattern is valid before saving.
8
Save your changes.
💡 Tips & Notes

These two settings are independent and don't update each other automatically — if you change one, check whether the other needs to change too. If you're not sure how to write a regex for your specific format, keep the default Format ({NUM}, plain numbers) together with the default Regex, which are already compatible with each other out of the box.

👤 Who can do this?
Admin ✅ Can perform
Teacher ❌ No access
Student ❌ No access
Parent ❌ No access