Field Mapping Configuration

Map ApprovedVolunteer fields to User entity fields

Current Mapping

Configure how data flows from volunteer applications to user profiles

First Name

firstName
string

📝 Collected on: Volunteer Application Form

first_name

📍 Used on: Edit User Profile

Last Name

lastName
string

📝 Collected on: Volunteer Application Form

last_name

📍 Used on: Edit User Profile

Mobile Phone

mobilePhone
string

📝 Collected on: Volunteer Application Form

mobile_number

📍 Used on: Edit User Profile, Manage Profiles

Date of Birth

dateOfBirth
date

📝 Collected on: Volunteer Application Form

date_of_birth

📍 Used on: Edit User Profile, Birthday Cards

Street Address

streetAddress
string

📝 Collected on: Volunteer Application Form

street_address

📍 Used on: Edit User Profile

Street Address 2

streetAddress2
string

📝 Collected on: Volunteer Application Form

street_address_2

📍 Used on: Edit User Profile

City

city
string

📝 Collected on: Volunteer Application Form

city

📍 Used on: Edit User Profile

Postal Code

postalCode
string

📝 Collected on: Volunteer Application Form

post_code

📍 Used on: Edit User Profile

Emergency Contact Name

emergencyContactName
string

📝 Collected on: Pre-Induction Form

ice_contact_name

📍 Used on: Edit User Profile, Fire Report

Emergency Contact Phone

emergencyContactPhone
string

📝 Collected on: Pre-Induction Form

ice_contact_phone

📍 Used on: Edit User Profile, Fire Report

Emergency Contact Relationship

emergencyContactRelationship
string

📝 Collected on: Pre-Induction Form

ice_contact_relationship

📍 Used on: Edit User Profile

Health Conditions

healthConditions
string

📝 Collected on: Volunteer Application Form

medical_info

📍 Used on: Edit User Profile, Fire Report

Available Days

availableDays
array

📝 Collected on: Volunteer Application Form

availability_days

📍 Used on: Edit User Profile

Available Time

availableTime
string

📝 Collected on: Volunteer Application Form

availability_time

📍 Used on: Edit User Profile

Interest Areas

interestAreas
array

📝 Collected on: Volunteer Application Form

interests

📍 Used on: Edit User Profile

Experience

experience
string

📝 Collected on: Volunteer Application Form

experience

📍 Used on: Edit User Profile

Skills

skills
string

📝 Collected on: Volunteer Application Form

skills

📍 Used on: Edit User Profile

Why Join

whyJoin
string

📝 Collected on: Volunteer Application Form

why_join

📍 Used on: Edit User Profile

Dog Experience

dogExperience
string

📝 Collected on: Volunteer Application Form

dog_experience

📍 Used on: Edit User Profile

Combined Field Mappings

Some User fields combine multiple ApprovedVolunteer fields

Full Name (firstName + lastName)

firstName+lastName

Username

newusername

Full Address

streetAddress+streetAddress2+city+postalCode

Address

address

Current Implementation in EditUserProfile.js

mobile_number: foundUser.mobile_number || approvedVol.mobilePhone
date_of_birth: foundUser.date_of_birth || approvedVol.dateOfBirth
address: foundUser.address || [streetAddress, streetAddress2, city, postalCode]
ice_contact_name: foundUser.ice_contact_name || approvedVol.emergencyContactName
ice_contact_phone: foundUser.ice_contact_phone || approvedVol.emergencyContactPhone
ice_contact_relationship: foundUser.ice_contact_relationship || approvedVol.emergencyContactRelationship
medical_info: foundUser.medical_info || approvedVol.healthConditions

Unmapped ApprovedVolunteer Fields

All fields are mapped! ✓