Campus Form
Field reference for campus location configuration.
Fields
| Field | Type | Required | Max Length | Validation | Notes |
|---|---|---|---|---|---|
| Campus ID | Integer | Auto | - | - | System-generated identifier |
| Campus Code | Text | Yes | 20 | Unique | Campus code (e.g., MAIN, ONLINE) |
| Campus Name | Text | Yes | 200 | - | Full campus name |
| Is Online | Boolean | No | - | - | Virtual/online campus |
| Is Open to All | Boolean | No | - | - | Any student can register |
| Sort Order | Integer | No | - | - | Display order |
| Is Active | Boolean | No | - | - | Campus is operational |
Address Fields
| Field | Type | Required | Max Length | Notes |
|---|---|---|---|---|
| Address Line 1 | Text | No | 200 | Street address |
| Address Line 2 | Text | No | 200 | Suite, building, etc. |
| City | Text | No | 100 | City/Town |
| State | Text | No | 50 | State/Province |
| Postal Code | Text | No | 20 | ZIP/Postal code |
| Country | Select (FK) | No | - | Country |
| Phone | Text | No | 50 | Campus phone |
Computed Fields (Read-Only)
| Field | Description |
|---|---|
| Full Address | Multi-line formatted address |
| Building Count | Number of buildings on campus |
| Section Count | Sections offered at campus |
| Student Count | Students assigned to campus |
Validation Rules
- Campus Code must be unique
- Address fields recommended for physical campuses
- Is Online = true typically means no address
- Is Open to All affects student registration eligibility
Campus Registration Rules
| Setting | Effect |
|---|---|
| Is Open to All = true | All students can register |
| Is Open to All = false | Students must be assigned to campus |
| Student.Restrict to Campus = true | Student can only register at assigned campuses |
| Student.Restrict to Campus = false | Student can register anywhere |