Overview
Instructors are essential staff members who teach riding lessons. Each instructor has a unique profile with personal information, color coding for calendar visibility, and activity status tracking.Accessing Instructor Registration
Required Information
Personal Data (Mandatory)
All personal information fields are required for instructor registration:DNI (National ID)
DNI (National ID)
- Format: Numbers only, no periods or dashes
- Example:
12345678 - Validation: Real-time duplicate checking
- Trigger: Validation activates when 9+ digits are entered
Name and Surname
Name and Surname
- First Name: Full first name(s) of the instructor
- Last Name: Full last name(s) of the instructor
- Both fields are required and trimmed of whitespace on submission
Date of Birth
Date of Birth
- Required for personnel records
- Standard date picker format
- Used for age verification and HR purposes
Contact Information
Contact Information
Telephone:Email (Optional but recommended):
- Format: Without
0or15prefix - Example:
221234567 - System automatically adds
+549prefix for Argentina
- Used for communications
- System notifications
- Schedule updates
Phone numbers are automatically normalized with the
+549 country code when saved.Color Assignment
Each instructor is assigned a unique color for visual identification in the calendar.Color Picker
The system provides 7 preset colors:Color Selection UI
Red
#E06666High visibility, ideal for senior instructors
Purple
#CBBBF0Soft and distinctive
Orange
#FFBE66Warm and welcoming
Pink
#F5A6E8Bright and cheerful
Yellow
#FFF76AHigh contrast for readability
Blue
#9FC5F8Professional and calm
Green
#93C47DNatural and approachable
How Colors Are Used
- Calendar cells: Background color with lightened opacity
- Class cards: Border or accent color
- Schedule view: Quick instructor identification
- Reports: Color-coded statistics
Choose colors that are visually distinct from each other to avoid confusion when viewing multiple instructors’ schedules simultaneously.
Form Validation
The registration form includes comprehensive validation:DNI Duplicate Check
- Validates in real-time as user types
- Activates after 9 digits entered
- Checks against all existing instructors
- Excludes current instructor when editing
Required Fields Validation
Submit Button State
- Form is submitting (
isPending) - DNI is duplicate (
validacionDni?.duplicado)
Complete Registration Process
Enter Personal Information
Fill in all required fields:
- DNI (system validates for duplicates)
- First and last name
- Date of birth
- Phone number (without 0 or 15)
- Email (optional but recommended)
Select Instructor Color
Choose a color from the 7 preset options:
- Click on the color circle
- Selected color shows larger with ring effect
- Color preview displays hex code
- This color will identify the instructor in calendars
Submit Registration
Click Create Instructor to save. The system will:
- Validate all required fields
- Check for duplicate DNI
- Normalize phone number with +549 prefix
- Create the instructor with active status
- Assign the selected color
Automatic Configuration
Several fields are set automatically:Active Status
activo: true).
Default Color
After Registration
Once registered, the instructor:- ✅ Appears in active instructors list
- ✅ Can be assigned to classes
- ✅ Shows in calendar with their color
- ✅ Is available in instructor filters and reports
- ✅ Can receive class assignments immediately
Editing Instructor Details
To modify an existing instructor:Modify Fields
Update any field:
- Personal information
- Contact details
- Color assignment
- Active/inactive status (toggle switch appears in edit mode)
Status Toggle (Edit Mode Only)
The active/inactive toggle only appears when editing an existing instructor, not during initial registration.
Technical Details
Data Structure
Submission Logic
Common Scenarios
Registering Multiple Instructors
Registering Multiple Instructors
When adding several instructors:
- Assign distinct colors to each for easy calendar identification
- Use consistent naming format (e.g., first name + last name)
- Verify DNI for each to avoid duplicates
- Add complete contact information for communications
Temporary or Substitute Instructors
Temporary or Substitute Instructors
For short-term instructors:
- Register normally with all required information
- Assign a unique color
- When their contract ends, mark as inactive instead of deleting
- Preserves historical class records
Deactivating an Instructor
Deactivating an Instructor
When an instructor leaves:
- Edit the instructor record
- Toggle “Active” switch to OFF
- They remain in the system but:
- Don’t appear in new class assignments
- Historical data is preserved
- Can be reactivated if they return
Best Practices
Do:
- Assign distinct colors to avoid confusion
- Include complete contact information
- Use consistent naming conventions
- Deactivate instead of deleting when instructors leave
- Verify DNI carefully to avoid duplicates
Related Pages
- Schedule Management - Managing instructor schedules
- Color Coding - Understanding the color system
- Class Assignment - Assigning instructors to classes