$position_applied_for = [
'type' => 'text',
'name' => 'position_applied_for',
- 'label' => 'Position Applied For',
- 'grid' => 12,
+ 'label' => 'Position Applied For:',
+ 'grid' => 6,
'value' => $this->jobTitle
];
$date_available_for_work = [
'type' => 'text',
'name' => 'date',
- 'label' => 'Date',
- 'grid' => 12
+ 'label' => 'Date:',
+ 'grid' => 6
];
$type_of_employment = [
'type' => 'checkbox',
'name' => 'type_of_employment',
- 'label' => 'Type of Employment',
+ 'label' => 'Type of Employment:',
'grid' => 12,
'req' => false,
'opts' => [[
$fname = [
'type' => 'text',
'name' => 'fname',
- 'label' => 'First Name',
- 'grid' => 12,
+ 'label' => 'First Name:',
+ 'grid' => 4,
'req' => true
];
$lname = [
'type' => 'text',
'name' => 'lname',
- 'label' => 'Last Name',
- 'grid' => 12,
+ 'label' => 'Last Name:',
+ 'grid' => 4,
'req' => true
];
$mname = [
'type' => 'text',
'name' => 'mname',
- 'label' => 'Middle Name',
- 'grid' => 12,
+ 'label' => 'Middle Name:',
+ 'grid' => 4,
'req' => true
];
$additional_info_name_explain = [
'type' => 'text',
'name' => 'additional_info_name_explain',
- 'label' => 'If so, please explain',
+ 'label' => 'If so, please explain:',
'grid' => 12,
'req' => false
];
$street = [
'type' => 'text',
'name' => 'street',
- 'label' => 'Street Address',
+ 'label' => 'Street Address:',
'grid' => 12,
'req' => true
];
$city = [
'type' => 'text',
'name' => 'city',
- 'label' => 'City',
- 'grid' => 12,
+ 'label' => 'City:',
+ 'grid' => 6,
'req' => true
];
$state = [
'type' => 'text',
'name' => 'state',
- 'label' => 'State',
- 'grid' => 12,
+ 'label' => 'State:',
+ 'grid' => 3,
'req' => true
];
$zip = [
'type' => 'text',
'name' => 'zip',
- 'label' => 'ZIP',
- 'grid' => 12,
+ 'label' => 'ZIP:',
+ 'grid' => 3,
'req' => true
];
$phone = [
'type' => 'tel',
'name' => 'phone',
- 'label' => 'Phone',
- 'grid' => 12,
+ 'label' => 'Phone:',
+ 'grid' => 6,
'req' => true
];
$altPhone = [
'type' => 'tel',
'name' => 'alt_phone',
- 'label' => 'Alternate Phone',
+ 'label' => 'Alternate Phone:',
'grid' => 12
];
$email = [
'type' => 'email',
'name' => 'email',
- 'label' => 'Email',
+ 'label' => 'Email:',
'grid' => 12,
'req' => true,
'rule' => 'email'
'type' => 'radio',
'name' => 'over_18',
'label' => 'Are you at least 18 years of age?',
- 'grid' => 12,
+ 'grid' => 6,
'req' => true,
'opts' => [[
'name' => 'over_18_yes',
'type' => 'radio',
'name' => 'have_working_papers',
'label' => 'If you are under the age of 18, do you have working papers?',
- 'grid' => 12,
+ 'grid' => 6,
'req' => false,
'opts' => [[
'name' => 'have_working_papers_yes',
'label' => 'No',
'value' => 0]]
];
-$us_citizen = [
+$eligiblity = [
'type' => 'radio',
'name' => 'us_citizen',
- 'label' => 'Are you an U.S. citizen?',
- 'grid' => 12,
+ 'label' => 'Are you eligible to work in the United States'
+ . ' and can you submit documentation verifying your eligibility?',
+ 'grid' => 6,
'req' => true,
'opts' => [[
'name' => 'us_citizen_yes',
'label' => 'No',
'value' => 0]]
];
-$us_auth = [
+$unavailable_times = [
'type' => 'radio',
- 'name' => 'us_auth',
- 'label' => 'Are you authorized to work in the United States?',
- 'grid' => 12,
- 'req' => true,
+ 'name' => 'unavailable_times',
+ 'label' => 'Are there any days, shifts or hours you will not work?',
+ 'grid' => 6,
+ 'req' => false,
'opts' => [[
- 'name' => 'us_auth_yes',
+ 'name' => 'unavailable_times_yes',
'label' => 'Yes',
'value' => 1
],[
- 'name' => 'us_auth_no',
+ 'name' => 'unavailable_times_no',
'label' => 'No',
'value' => 0]]
];
-$employed_before = [
+$unavailable_times_explain = [
+ 'type' => 'text',
+ 'name' => 'unavailable_times_explain',
+ 'label' => 'If yes, please explain:',
+ 'grid' => 6
+];
+$date_to_start = [
+ 'type' => 'text',
+ 'name' => 'date_to_start',
+ 'label' => 'Date you will be able to start:',
+ 'grid' => 6
+];
+$willing_to_travel = [
'type' => 'radio',
- 'name' => 'employed_before',
- 'label' => 'Have you been previously employed here?',
- 'grid' => 12,
- 'req' => true,
+ 'name' => 'willing_to_travel',
+ 'label' => 'Are you willing to travel if you job requires?',
+ 'grid' => 6,
+ 'req' => false,
'opts' => [[
- 'name' => 'employed_before_yes',
+ 'name' => 'willing_to_travel_yes',
'label' => 'Yes',
'value' => 1
],[
- 'name' => 'employed_before_no',
+ 'name' => 'willing_to_travel_no',
'label' => 'No',
'value' => 0]]
];
-$employed_before_dates = [
- 'type' => 'text',
- 'name' => 'employed_before_dates',
- 'label' => 'If yes, date(s)',
- 'grid' => 12
+$willing_to_work_overtime = [
+ 'type' => 'radio',
+ 'name' => 'willing_to_work_overtime',
+ 'label' => 'Are you willing work overtime if necessary?',
+ 'grid' => 6,
+ 'req' => false,
+ 'opts' => [[
+ 'name' => 'willing_to_work_overtime_yes',
+ 'label' => 'Yes',
+ 'value' => 1
+ ],[
+ 'name' => 'willing_to_work_overtime_no',
+ 'label' => 'No',
+ 'value' => 0]]
];
-$supervisor = [
+$convicted = [
+ 'type' => 'radio',
+ 'name' => 'convicted',
+ 'label' => 'Have you ever been convicted of a crime or pleaded quilty or "no contest" to a crime',
+ 'grid' => 6,
+ 'req' => false,
+ 'opts' => [[
+ 'name' => 'convicted_yes',
+ 'label' => 'Yes',
+ 'value' => 1
+ ],[
+ 'name' => 'convicted_no',
+ 'label' => 'No',
+ 'value' => 0]]
+];
+$convicted_explain = [
'type' => 'text',
- 'name' => 'supervisor',
- 'label' => 'Supervisor Name(s)',
- 'grid' => 12
+ 'name' => 'convicted_explain',
+ 'label' => 'If yes, please explain the nature of the offense and when and where you where convicted or pleaded quilty/no contest:',
+ 'grid' => 6
+];
+$convicted_static = [
+ 'type' => 'static',
+ 'name' => 'convicted_static',
+ 'value' => 'Except for law enforcement positions, a conviction '
+ . 'will not necessarily disqualify you and the information will '
+ . 'be used for job-related purposes to the extent by law'
+];
+$mcoles = [
+ 'type' => 'text',
+ 'name' => 'mcoles',
+ 'label' => 'Police Applicants: MCOLES Certified Officer:',
+ 'grid' => 6
];
$applied_before = [
'type' => 'radio',
'name' => 'applied_before',
- 'label' => 'Have you ever applied to this Company before?',
- 'grid' => 12,
+ 'label' => 'Have you ever applied to work here before?',
+ 'grid' => 6,
'req' => true,
'opts' => [[
'name' => 'applied_before_yes',
$applied_before_dates = [
'type' => 'text',
'name' => 'applied_before_dates',
- 'label' => 'Where?',
- 'grid' => 12
+ 'label' => 'If yes, please provide dates',
+ 'grid' => 6
+];
+$use_drugs = [
+ 'type' => 'radio',
+ 'name' => 'use_drugs',
+ 'label' => 'Are you currently using illegal drugs?',
+ 'grid' => 6,
+ 'req' => true,
+ 'opts' => [[
+ 'name' => 'use_drugs_yes',
+ 'label' => 'Yes',
+ 'value' => 1
+ ],[
+ 'name' => 'use_drugs_no',
+ 'label' => 'No',
+ 'value' => 0]]
];
$applied_before_under_what_name = [
'type' => 'text',
$list_any_friends = [
'type' => 'text',
'name' => 'list_any_friends',
- 'label' => 'List any friends or relatives working here',
+ 'label' => 'List any friends or relatives currently employed here:',
'grid' => 12
];
+$who_to_contact_static = [
+ 'type' => 'static',
+ 'name' => 'who_to_contact_static',
+ 'value' => 'Who should be contacted in the case of an emergency?'
+];
+$contact_name = [
+ 'type' => 'text',
+ 'name' => 'contact_name',
+ 'label' => 'Name:',
+ 'grid' => 4
+];
+$contact_address = [
+ 'type' => 'text',
+ 'name' => 'contact_address',
+ 'label' => 'Address:',
+ 'grid' => 4
+];
+$contact_phone = [
+ 'type' => 'text',
+ 'name' => 'contact_phone',
+ 'label' => 'Phone:',
+ 'grid' => 4
+];
$have_drivers_license = [
'type' => 'radio',
'name' => 'have_drivers_license',
[$street, $city, $state, $zip],
[$phone],
[$over_18, $have_working_papers],
- [$employed_before, $employed_before_dates],
- [$supervisor],
+ [$unavailable_times, $unavailable_times_explain],
+ [$date_to_start, $willing_to_travel],
+ [$mcoles, $willing_to_work_overtime],
+ [$convicted, $convicted_explain],
+ [$convicted_static],
+ [$eligiblity, $use_drugs],
[$applied_before, $applied_before_dates],
- [$applied_before_under_what_name, $applied_before_when],
[$list_any_friends],
- [$have_drivers_license, $means_of_travel],
- [$drivers_license, $license_state],
- [$license_type, $license_exp_date],
- [$had_accident_in_past_three_years, $had_accident_in_past_three_years_how_many],
- [$had_violations_in_past_three_years, $had_violations_in_past_three_years_how_many],
- [$special_training]
+ [$who_to_contact_static],
+ [$contact_name, $contact_address, $contact_phone],
];
--- /dev/null
+<?php
+$date_of_birth = [
+ 'type' => 'text',
+ 'name' => 'date_of_birth',
+ 'label' => 'Date of Birth',
+ 'grid' => 2,
+ 'req' => true
+];
+$date_of_birth_explain = [
+ 'type' => 'static',
+ 'value' => '<div class="static">The U.S. Department of Transportation requires that driver '
+ . 'applicants state their date of birth §391.21(b)(2).</div>',
+ 'grid' => 10
+];
+$stateHdr = [
+ 'type' => 'static',
+ 'label' => 'State',
+ 'grid' => 1,
+ 'req' => true,
+ 'rcoll' => true
+];
+$licenseHdr = [
+ 'type' => 'static',
+ 'label' => 'License No.',
+ 'grid' => 4,
+ 'req' => true
+];
+$classHdr = [
+ 'type' => 'static',
+ 'label' => 'Class',
+ 'grid' => 1,
+ 'req' => true
+];
+$endorsementHdr = [
+ 'type' => 'static',
+ 'label' => 'Endorsement(s)',
+ 'grid' => 4,
+ 'req' => true
+];
+$exp_dateHdr = [
+ 'type' => 'static',
+ 'label' => 'Expiration Date',
+ 'grid' => 2,
+ 'req' => true
+];
+for ($i = 1; $i <= 4; ++$i) {
+ $licenseReq = ($i == 1) ? true: false;
+ ${'state'.$i} = [
+ 'type' => 'text',
+ 'name' => 'state' . $i,
+ 'label' => '',
+ 'grid' => 1,
+ 'req' => $licenseReq,
+ 'rcoll' => true
+ ];
+ ${'license'.$i} = [
+ 'type' => 'text',
+ 'name' => 'license' . $i,
+ 'label' => '',
+ 'grid' => 4,
+ 'req' => $licenseReq
+ ];
+ ${'class'.$i} = [
+ 'type' => 'text',
+ 'name' => 'class' . $i,
+ 'label' => '',
+ 'grid' => 1,
+ 'req' => $licenseReq
+ ];
+ ${'endorsement'.$i} = [
+ 'type' => 'text',
+ 'name' => 'endorsement' . $i,
+ 'label' => '',
+ 'grid' => 4,
+ 'req' => $licenseReq
+ ];
+ ${'exp_date'.$i} = [
+ 'type' => 'text',
+ 'name' => 'exp_date' . $i,
+ 'label' => '',
+ 'grid' => 2,
+ 'req' => $licenseReq
+ ];
+}
+$denied_license = [
+ 'type' => 'radio',
+ 'name' => 'denied_license',
+ 'label' => 'A. Have you ever been denied a license, permit or privilege to'
+ . ' operate a motor vehicle?',
+ 'grid' => 4,
+ 'req' => true,
+ 'opts' => [[
+ 'name' => 'denied_license_yes',
+ 'label' => 'Yes',
+ 'value' => 1
+ ],[
+ 'name' => 'denied_license_no',
+ 'label' => 'No',
+ 'value' => 0]]
+];
+$suspended_license = [
+ 'type' => 'radio',
+ 'name' => 'suspended_license',
+ 'label' => 'B. Has any license, permit or privilege ever been suspended or revoked?',
+ 'grid' => 4,
+ 'req' => true,
+ 'opts' => [[
+ 'name' => 'suspended_license_yes',
+ 'label' => 'Yes',
+ 'value' => 1
+ ],[
+ 'name' => 'suspended_license_no',
+ 'label' => 'No',
+ 'value' => 0]]
+];
+$disqualified_license = [
+ 'type' => 'radio',
+ 'name' => 'disqualified_license',
+ 'label' => 'C. Have you ever been disqualified for violations of the Federal'
+ . ' Motor Carrier Safety Regulations?',
+ 'grid' => 4,
+ 'req' => true,
+ 'opts' => [[
+ 'name' => 'disqualified_license_yes',
+ 'label' => 'Yes',
+ 'value' => 1
+ ],[
+ 'name' => 'disqualified_license_no',
+ 'label' => 'No',
+ 'value' => 0]]
+];
+$details_of_license = [
+ 'type' => 'textarea',
+ 'name' => 'details_of_license',
+ 'label' => 'If you answered "yes" to A, B, C, give details',
+ 'grid' => 12
+];
+$titles = [
+ 1 => 'Straight Truck',
+ 'Tractor and Semi Trailer',
+ 'Twin Trailers - LCV\'s',
+ 'Other'
+];
+$eq_classHdr = [
+ 'type' => 'static',
+ 'label' => 'Class of Equipment',
+ 'grid' => 3,
+ 'req' => false,
+ 'rcoll' => true
+];
+$eq_typeHdr = [
+ 'type' => 'static',
+ 'label' => 'Type of Equipment (Van, Tank, Flat, etc.)',
+ 'grid' => 4,
+ 'req' => false
+];
+$eq_dates_fromHdr = [
+ 'type' => 'static',
+ 'label' => 'From',
+ 'grid' => 1,
+ 'req' => false
+];
+$eq_dates_toHdr = [
+ 'type' => 'static',
+ 'label' => 'To',
+ 'grid' => 1,
+ 'req' => false
+];
+$eq_approx_milesHdr = [
+ 'type' => 'static',
+ 'label' => 'Approximate total Miles',
+ 'grid' => 3,
+ 'req' => false
+];
+for ($i = 1; $i <= 4; ++$i) {
+ ${'eq_class'.$i} = [
+ 'type' => 'static',
+ 'label' => '',
+ 'value' => '<div class="static">'.$titles[$i].'</div>',
+ 'grid' => 3,
+ 'rcoll' => true
+ ];
+ ${'eq_type'.$i} = [
+ 'type' => 'text',
+ 'name' => 'eq_type' . $i,
+ 'label' => '',
+ 'grid' => 4,
+ 'req' => false
+ ];
+ ${'eq_dates_from'.$i} = [
+ 'type' => 'text',
+ 'name' => 'eq_dates_from' . $i,
+ 'label' => '',
+ 'grid' => 1,
+ 'req' => false
+ ];
+ ${'eq_dates_to'.$i} = [
+ 'type' => 'text',
+ 'name' => 'eq_dates_to' . $i,
+ 'label' => '',
+ 'grid' => 1,
+ 'req' => false
+ ];
+ ${'eq_approx_miles'.$i} = [
+ 'type' => 'text',
+ 'name' => 'eq_approx_miles' . $i,
+ 'label' => '',
+ 'grid' => 3,
+ 'req' => false
+ ];
+}
+$last_5_years_states = [
+ 'type' => 'textarea',
+ 'name' => 'last_5_years_states',
+ 'label' => 'List states operated in during last five years:',
+ 'grid' => 12
+];
+$special_drivers_training = [
+ 'type' => 'textarea',
+ 'name' => 'special_drivers_training',
+ 'label' => 'List special courses or training that will help you as a driver:',
+ 'grid' => 12
+];
+$driving_awards = [
+ 'type' => 'textarea',
+ 'name' => 'driving_awards',
+ 'label' => 'List driving awards held and who awards were presented by:',
+ 'grid' => 12
+];
+
+$accident_review_dates = [
+ 'type' => 'static',
+ 'label' => 'Dates<br><br>',
+ 'grid' => 3
+];
+$accident_review_nature = [
+ 'type' => 'static',
+ 'label' => 'Nature of Accident (Head-on, Rear-End, Overturn, etc.)',
+ 'grid' => 3
+];
+$accident_review_fatalities = [
+ 'type' => 'static',
+ 'label' => 'Fatalities<br><br>',
+ 'grid' => 3
+];
+$accident_review_injuries = [
+ 'type' => 'static',
+ 'label' => 'Injuries<br><br>',
+ 'grid' => 3
+];
+for ($i = 1; $i <= 3; ++$i) {
+ ${'accident_review_dates'.$i} = [
+ 'type' => 'text',
+ 'name' => 'accident_review_dates'.$i,
+ 'label' => '',
+ 'grid' => 3
+ ];
+ ${'accident_review_nature'.$i} = [
+ 'type' => 'text',
+ 'name' => 'accident_review_nature'.$i,
+ 'label' => '',
+ 'grid' => 3
+ ];
+ ${'accident_review_fatalities'.$i} = [
+ 'type' => 'text',
+ 'name' => 'accident_review_fatalities'.$i,
+ 'label' => '',
+ 'grid' => 3
+ ];
+ ${'accident_review_injuries'.$i} = [
+ 'type' => 'text',
+ 'name' => 'accident_review_injuries'.$i,
+ 'label' => '',
+ 'grid' => 3
+ ];
+}
+$traffic_convictions_locations = [
+ 'type' => 'static',
+ 'label' => 'Location',
+ 'grid' => 3
+];
+$traffic_convictions_date = [
+ 'type' => 'static',
+ 'label' => 'Date',
+ 'grid' => 3
+];
+$traffic_convictions_charge = [
+ 'type' => 'static',
+ 'label' => 'Charge',
+ 'grid' => 3
+];
+$traffic_convictions_penalty = [
+ 'type' => 'static',
+ 'label' => 'Penalty',
+ 'grid' => 3
+];
+for ($i = 1; $i <= 3; ++$i) {
+ ${'traffic_convictions_locations'.$i} = [
+ 'type' => 'text',
+ 'name' => 'traffic_convictions_locations'.$i,
+ 'label' => '',
+ 'grid' => 3
+ ];
+ ${'traffic_convictions_date'.$i} = [
+ 'type' => 'text',
+ 'name' => 'traffic_convictions_date'.$i,
+ 'label' => '',
+ 'grid' => 3
+ ];
+ ${'traffic_convictions_charge'.$i} = [
+ 'type' => 'text',
+ 'name' => 'traffic_convictions_charge'.$i,
+ 'label' => '',
+ 'grid' => 3
+ ];
+ ${'traffic_convictions_penalty'.$i} = [
+ 'type' => 'text',
+ 'name' => 'traffic_convictions_penalty'.$i,
+ 'label' => '',
+ 'grid' => 3
+ ];
+}
+$resume_file = [
+ 'type' => 'file',
+ 'label' => 'Upload your resume and/or cover letter',
+ 'grid' => 12
+];
+$form = [
+ //['type' => 'header', 'label' => 'Driver Experience and Qualification'],
+ //[$date_of_birth, $date_of_birth_explain],
+ ['type' => 'header', 'label' => 'Drivers Licenses held in past 3 years must be shown'],
+ [$stateHdr, $licenseHdr, $classHdr, $endorsementHdr, $exp_dateHdr],
+ [$state1, $license1, $class1, $endorsement1, $exp_date1],
+ [$state2, $license2, $class2, $endorsement2, $exp_date2],
+ [$state3, $license3, $class3, $endorsement3, $exp_date3],
+ [$state4, $license4, $class4, $endorsement4, $exp_date4],
+ [$denied_license, $suspended_license, $disqualified_license],
+ [$details_of_license],
+ ['type' => 'header', 'label' => 'Driving Experience'],
+ [$eq_classHdr, $eq_typeHdr, $eq_dates_fromHdr, $eq_dates_toHdr, $eq_approx_milesHdr],
+ [$eq_class1, $eq_type1, $eq_dates_from1, $eq_dates_to1, $eq_approx_miles1],
+ [$eq_class2, $eq_type2, $eq_dates_from2, $eq_dates_to2, $eq_approx_miles2],
+ [$eq_class3, $eq_type3, $eq_dates_from3, $eq_dates_to3, $eq_approx_miles3],
+ [$eq_class4, $eq_type4, $eq_dates_from4, $eq_dates_to4, $eq_approx_miles4],
+ [$last_5_years_states],
+ [$special_drivers_training],
+ [$driving_awards],
+ ['type' => 'header', 'label' => 'Accident Review for past 3 years'],
+ [$accident_review_dates,$accident_review_nature, $accident_review_fatalities, $accident_review_injuries],
+ [$accident_review_dates1,$accident_review_nature1, $accident_review_fatalities1, $accident_review_injuries1],
+ [$accident_review_dates2,$accident_review_nature2, $accident_review_fatalities2, $accident_review_injuries2],
+ [$accident_review_dates3,$accident_review_nature3, $accident_review_fatalities3, $accident_review_injuries3],
+ ['type' => 'header', 'label' => 'Traffic Convictions and Forfeitures', 'subheader' => 'for the past 3 years other than parking violations'],
+ [$traffic_convictions_locations, $traffic_convictions_date, $traffic_convictions_charge, $traffic_convictions_penalty],
+ [$traffic_convictions_locations1, $traffic_convictions_date1, $traffic_convictions_charge1, $traffic_convictions_penalty1],
+ [$traffic_convictions_locations2, $traffic_convictions_date2, $traffic_convictions_charge2, $traffic_convictions_penalty2],
+ [$traffic_convictions_locations3, $traffic_convictions_date3, $traffic_convictions_charge3, $traffic_convictions_penalty3],
+ [$resume_file]
+];
<?php
-$date_of_birth = [
- 'type' => 'text',
- 'name' => 'date_of_birth',
- 'label' => 'Date of Birth',
- 'grid' => 2,
- 'req' => true
+$topHeader = [
+ 'type' => 'header',
+ 'label' => 'Employment History',
+ 'subheader' => '(Please complete for all full-time or part-time employment beginning with you most recent employer)',
];
-$date_of_birth_explain = [
- 'type' => 'static',
- 'value' => '<div class="static">The U.S. Department of Transportation requires that driver '
- . 'applicants state their date of birth §391.21(b)(2).</div>',
- 'grid' => 10
+$titles = [
+ 1 => '<label class="error">1</label>',
+ 2 => '2',
+ 3 => '3',
+ 4 => '4'
];
-$stateHdr = [
+$employment_titleHdr = [
'type' => 'static',
- 'label' => 'State',
- 'grid' => 1,
- 'req' => true,
+ 'label' => ' ',
+ 'grid' => 1,
+ 'req' => false,
'rcoll' => true
];
-$licenseHdr = [
+$employment_datesHdr = [
+ 'type' => 'static',
+ 'label' => 'Date Month/Year:',
+ 'grid' => 2
+];
+$employment_infoHdr = [
+ 'type' => 'static',
+ 'label' => 'Company Name, Address, and Telephone:',
+ 'grid' => 4
+];
+$employment_supervisorHdr = [
'type' => 'static',
- 'label' => 'License No.',
- 'grid' => 4,
- 'req' => true
+ 'label' => 'Supervisor:',
+ 'grid' => 1
];
-$classHdr = [
+$employment_salaryHdr = [
'type' => 'static',
- 'label' => 'Class',
- 'grid' => 1,
- 'req' => true
+ 'label' => 'Salary:',
+ 'grid' => 1
];
-$endorsementHdr = [
+$employment_positionHdr = [
'type' => 'static',
- 'label' => 'Endorsement(s)',
- 'grid' => 4,
- 'req' => true
+ 'label' => 'State job titles and describe duties:',
+ 'grid' => 2
];
-$exp_dateHdr = [
+$employment_reasonHdr = [
'type' => 'static',
- 'label' => 'Expiration Date',
- 'grid' => 2,
- 'req' => true
+ 'label' => 'Reason for Leaving:',
+ 'grid' => 2
+];
+$employment_typeOBHdr = [
+ 'type' => 'static',
+ 'label' => 'Type of business:',
+ 'grid' => 2
];
for ($i = 1; $i <= 4; ++$i) {
- $licenseReq = ($i == 1) ? true: false;
- ${'state'.$i} = [
- 'type' => 'text',
- 'name' => 'state' . $i,
- 'label' => '',
+ ${'employment_title'.$i} = [
+ 'type' => 'static',
+ 'label' => ' ',
+ 'value' => '<div class="static">'.$titles[$i].'</div>',
+ 'grid' => 1,
+ 'rcoll' => true
+ ];
+ ${'employment_title_sub'.$i} = [
+ 'type' => 'static',
+ 'label' => ' ',
+ 'value' => '',
'grid' => 1,
- 'req' => $licenseReq,
'rcoll' => true
];
- ${'license'.$i} = [
+ ${'employment_dates_from'.$i} = [
'type' => 'text',
- 'name' => 'license' . $i,
- 'label' => '',
- 'grid' => 4,
- 'req' => $licenseReq
+ 'name' => 'employment_dates_from'.$i,
+ 'placeholder' => 'From:',
+ 'req' => ($i == 1) ? true: false,
+ 'grid' => 2
];
- ${'class'.$i} = [
+ ${'employment_dates_to'.$i} = [
'type' => 'text',
- 'name' => 'class' . $i,
- 'label' => '',
- 'grid' => 1,
- 'req' => $licenseReq
+ 'name' => 'employment_dates_to'.$i,
+ 'placeholder' => 'To:',
+ 'req' => ($i == 1) ? true: false,
+ 'grid' => 2
];
- ${'endorsement'.$i} = [
+ ${'employment_info'.$i} = [
'type' => 'text',
- 'name' => 'endorsement' . $i,
- 'label' => '',
- 'grid' => 4,
- 'req' => $licenseReq
+ 'name' => 'employment_info'.$i,
+ 'req' => ($i == 1) ? true: false,
+ 'grid' => 4
];
- ${'exp_date'.$i} = [
+ ${'employment_supervisor'.$i} = [
'type' => 'text',
- 'name' => 'exp_date' . $i,
- 'label' => '',
- 'grid' => 2,
- 'req' => $licenseReq
+ 'name' => 'employment_supervisor'.$i,
+ 'placeholder' => 'Supervisor',
+ 'req' => ($i == 1) ? true: false,
+ 'grid' => 4
+ ];
+ ${'employment_salary_start'.$i} = [
+ 'type' => 'text',
+ 'name' => 'employment_salary_start'.$i,
+ 'placeholder' => 'Starting',
+ 'req' => ($i == 1) ? true: false,
+ 'grid' => 1
+ ];
+ ${'employment_salary_end'.$i} = [
+ 'type' => 'text',
+ 'name' => 'employment_salary_end'.$i,
+ 'placeholder' => 'Ending',
+ 'req' => ($i == 1) ? true: false,
+ 'grid' => 1
+ ];
+ ${'employment_position'.$i} = [
+ 'type' => 'text',
+ 'name' => 'employment_position'.$i,
+ 'req' => ($i == 1) ? true: false,
+ 'grid' => 2
+ ];
+ ${'employment_position_sub'.$i} = [
+ 'type' => 'static',
+ 'name' => 'employment_position_sub'.$i,
+ 'req' => false,
+ 'grid' => 2
+ ];
+ ${'employment_reason'.$i} = [
+ 'type' => 'text',
+ 'name' => 'employment_reason'.$i,
+ 'req' => ($i == 1) ? true: false,
+ 'grid' => 2
+ ];
+ ${'employment_reason_sub'.$i} = [
+ 'type' => 'static',
+ 'name' => 'employment_reason_sub'.$i,
+ 'req' => false,
+ 'grid' => 2
+ ];
+ ${'employment_typeof'.$i} = [
+ 'type' => 'static',
+ 'name' => 'employment_typeof'.$i,
+ 'req' => false,
+ 'grid' => 2
+ ];
+ ${'employment_typeof_sub'.$i} = [
+ 'type' => 'static',
+ 'name' => 'employment_typeof_sub'.$i,
+ 'req' => false,
+ 'grid' => 2
];
}
-$denied_license = [
+$may_we_contact = [
'type' => 'radio',
- 'name' => 'denied_license',
- 'label' => 'A. Have you ever been denied a license, permit or privilege to'
- . ' operate a motor vehicle?',
- 'grid' => 4,
+ 'name' => 'may_we_contact',
+ 'label' => 'May we contact the employers listed?',
+ 'grid' => 6,
'req' => true,
'opts' => [[
- 'name' => 'denied_license_yes',
+ 'name' => 'may_we_contact_yes',
'label' => 'Yes',
'value' => 1
],[
- 'name' => 'denied_license_no',
+ 'name' => 'may_we_contact_no',
'label' => 'No',
'value' => 0]]
];
-$suspended_license = [
- 'type' => 'radio',
- 'name' => 'suspended_license',
- 'label' => 'B. Has any license, permit or privilege ever been suspended or revoked?',
- 'grid' => 4,
- 'req' => true,
- 'opts' => [[
- 'name' => 'suspended_license_yes',
- 'label' => 'Yes',
- 'value' => 1
- ],[
- 'name' => 'suspended_license_no',
- 'label' => 'No',
- 'value' => 0]]
-];
-$disqualified_license = [
- 'type' => 'radio',
- 'name' => 'disqualified_license',
- 'label' => 'C. Have you ever been disqualified for violations of the Federal'
- . ' Motor Carrier Safety Regulations?',
- 'grid' => 4,
- 'req' => true,
- 'opts' => [[
- 'name' => 'disqualified_license_yes',
- 'label' => 'Yes',
- 'value' => 1
- ],[
- 'name' => 'disqualified_license_no',
- 'label' => 'No',
- 'value' => 0]]
-];
-$details_of_license = [
+$who_to_not_contact = [
'type' => 'textarea',
- 'name' => 'details_of_license',
- 'label' => 'If you answered "yes" to A, B, C, give details',
- 'grid' => 12
+ 'name' => 'who_to_not_contact',
+ 'label' => 'If no, which one(s) should we NOT contact?',
+ 'grid' => 6,
+ 'req' => false
];
-$titles = [
- 1 => 'Straight Truck',
- 'Tractor and Semi Trailer',
- 'Twin Trailers - LCV\'s',
- 'Other'
+//
+$titles3 = [
+ 1 => '<label class="error">High School</label>',
+ '<label class="error">College / University</label>',
+ '<label class="error">Graduate</label>',
+ //'Business or trade school',
+ //'other',
+ //''
];
-$eq_classHdr = [
+$edu_titleHdr = [
'type' => 'static',
- 'label' => 'Class of Equipment',
- 'grid' => 3,
+ 'label' => ' ',
+ 'grid' => 2,
'req' => false,
'rcoll' => true
];
-$eq_typeHdr = [
+$edu_title2Hdr = $edu_titleHdr;
+$edu_title2Hdr['label'] = ' ';
+$edu_schoolHdr = [
'type' => 'static',
- 'label' => 'Type of Equipment (Van, Tank, Flat, etc.)',
- 'grid' => 4,
+ 'label' => 'Name and Location of School',
+ 'grid' => 4,
'req' => false
];
-$eq_dates_fromHdr = [
+$edu_school2Hdr = $edu_schoolHdr;
+$edu_school2Hdr['label'] = ' ';
+$edu_yearsHdr = [
'type' => 'static',
- 'label' => 'From',
- 'grid' => 1,
+ 'label' => 'No. of Years Attended',
+ 'grid' => 2,
'req' => false
];
-$eq_dates_toHdr = [
+$edu_years2Hdr = $edu_yearsHdr;
+$edu_years2Hdr['label'] = ' ';
+$edu_gradHdr = [
'type' => 'static',
- 'label' => 'To',
- 'grid' => 1,
+ 'label' => 'Did you Graduate',
+ 'grid' => 2,
'req' => false
];
-$eq_approx_milesHdr = [
+$edu_grad_degreeHdr = [
'type' => 'static',
- 'label' => 'Approximate total Miles',
- 'grid' => 3,
+ 'label' => 'Degree',
+ 'grid' => 1,
'req' => false
];
-for ($i = 1; $i <= 4; ++$i) {
- ${'eq_class'.$i} = [
- 'type' => 'static',
- 'label' => '',
- 'value' => '<div class="static">'.$titles[$i].'</div>',
- 'grid' => 3,
- 'rcoll' => true
- ];
- ${'eq_type'.$i} = [
- 'type' => 'text',
- 'name' => 'eq_type' . $i,
- 'label' => '',
- 'grid' => 4,
- 'req' => false
- ];
- ${'eq_dates_from'.$i} = [
- 'type' => 'text',
- 'name' => 'eq_dates_from' . $i,
- 'label' => '',
- 'grid' => 1,
- 'req' => false
- ];
- ${'eq_dates_to'.$i} = [
- 'type' => 'text',
- 'name' => 'eq_dates_to' . $i,
- 'label' => '',
- 'grid' => 1,
- 'req' => false
- ];
- ${'eq_approx_miles'.$i} = [
- 'type' => 'text',
- 'name' => 'eq_approx_miles' . $i,
- 'label' => '',
- 'grid' => 3,
- 'req' => false
- ];
-}
-$last_5_years_states = [
- 'type' => 'textarea',
- 'name' => 'last_5_years_states',
- 'label' => 'List states operated in during last five years:',
- 'grid' => 12
-];
-$special_drivers_training = [
- 'type' => 'textarea',
- 'name' => 'special_drivers_training',
- 'label' => 'List special courses or training that will help you as a driver:',
- 'grid' => 12
-];
-$driving_awards = [
- 'type' => 'textarea',
- 'name' => 'driving_awards',
- 'label' => 'List driving awards held and who awards were presented by:',
- 'grid' => 12
-];
-
-$accident_review_dates = [
- 'type' => 'static',
- 'label' => 'Dates<br><br>',
- 'grid' => 3
-];
-$accident_review_nature = [
+$edu_grad_certificateHdr = [
'type' => 'static',
- 'label' => 'Nature of Accident (Head-on, Rear-End, Overturn, etc.)',
- 'grid' => 3
-];
-$accident_review_fatalities = [
- 'type' => 'static',
- 'label' => 'Fatalities<br><br>',
- 'grid' => 3
+ 'label' => 'Certificate',
+ 'grid' => 1,
+ 'req' => false
];
-$accident_review_injuries = [
+$edu_subjectHdr = [
'type' => 'static',
- 'label' => 'Injuries<br><br>',
- 'grid' => 3
+ 'label' => 'Subject/Major',
+ 'grid' => 2,
+ 'req' => false
];
+$edu_subject2Hdr = $edu_subjectHdr;
+$edu_subject2Hdr['label'] = ' ';
for ($i = 1; $i <= 3; ++$i) {
- ${'accident_review_dates'.$i} = [
- 'type' => 'text',
- 'name' => 'accident_review_dates'.$i,
+ ${'edu_title'.$i} = [
+ 'type' => 'static',
'label' => '',
- 'grid' => 3
+ 'value' => '<div class="static">'.$titles3[$i].'</div>',
+ 'grid' => 2,
+ 'rcoll' => true
];
- ${'accident_review_nature'.$i} = [
+ ${'edu_school'.$i} = [
'type' => 'text',
- 'name' => 'accident_review_nature'.$i,
+ 'name' => 'edu_school' . $i,
'label' => '',
- 'grid' => 3
+ 'grid' => 4,
+ 'req' => ($i == 1) ? true: false
];
- ${'accident_review_fatalities'.$i} = [
+ ${'edu_years'.$i} = [
'type' => 'text',
- 'name' => 'accident_review_fatalities'.$i,
+ 'name' => 'edu_years' . $i,
'label' => '',
- 'grid' => 3
+ 'grid' => 2,
+ 'req' => ($i == 1) ? true: false
];
- ${'accident_review_injuries'.$i} = [
+ ${'edu_grad_degree'.$i} = [
'type' => 'text',
- 'name' => 'accident_review_injuries'.$i,
+ 'name' => 'edu_grad_degree' . $i,
'label' => '',
- 'grid' => 3
+ 'grid' => 1,
+ 'req' => ($i == 1) ? true: false
];
-}
-$traffic_convictions_locations = [
- 'type' => 'static',
- 'label' => 'Location',
- 'grid' => 3
-];
-$traffic_convictions_date = [
- 'type' => 'static',
- 'label' => 'Date',
- 'grid' => 3
-];
-$traffic_convictions_charge = [
- 'type' => 'static',
- 'label' => 'Charge',
- 'grid' => 3
-];
-$traffic_convictions_penalty = [
- 'type' => 'static',
- 'label' => 'Penalty',
- 'grid' => 3
-];
-for ($i = 1; $i <= 3; ++$i) {
- ${'traffic_convictions_locations'.$i} = [
- 'type' => 'text',
- 'name' => 'traffic_convictions_locations'.$i,
- 'label' => '',
- 'grid' => 3
- ];
- ${'traffic_convictions_date'.$i} = [
- 'type' => 'text',
- 'name' => 'traffic_convictions_date'.$i,
- 'label' => '',
- 'grid' => 3
- ];
- ${'traffic_convictions_charge'.$i} = [
+ ${'edu_grad_certificate'.$i} = [
'type' => 'text',
- 'name' => 'traffic_convictions_charge'.$i,
+ 'name' => 'edu_grad_certificate' . $i,
'label' => '',
- 'grid' => 3
+ 'grid' => 1,
+ 'req' => ($i == 1) ? true: false
];
- ${'traffic_convictions_penalty'.$i} = [
+ ${'edu_subject'.$i} = [
'type' => 'text',
- 'name' => 'traffic_convictions_penalty'.$i,
+ 'name' => 'edu_subject' . $i,
'label' => '',
- 'grid' => 3
+ 'grid' => 2,
+ 'req' => ($i == 1) ? true: false
];
}
-$resume_file = [
- 'type' => 'file',
- 'label' => 'Upload your resume and/or cover letter',
- 'grid' => 12
+$explain_emp_gaps = [
+ 'type' => 'textarea',
+ 'name' => 'explain_emp_gaps',
+ 'label' => 'Explain any gaps in your employment history:'
];
$form = [
- ['type' => 'header', 'label' => 'Driver Experience and Qualification'],
- [$date_of_birth, $date_of_birth_explain],
- ['type' => 'header', 'label' => 'Drivers Licenses held in past 3 years must be shown'],
- [$stateHdr, $licenseHdr, $classHdr, $endorsementHdr, $exp_dateHdr],
- [$state1, $license1, $class1, $endorsement1, $exp_date1],
- [$state2, $license2, $class2, $endorsement2, $exp_date2],
- [$state3, $license3, $class3, $endorsement3, $exp_date3],
- [$state4, $license4, $class4, $endorsement4, $exp_date4],
- [$denied_license, $suspended_license, $disqualified_license],
- [$details_of_license],
- ['type' => 'header', 'label' => 'Driving Experience'],
- [$eq_classHdr, $eq_typeHdr, $eq_dates_fromHdr, $eq_dates_toHdr, $eq_approx_milesHdr],
- [$eq_class1, $eq_type1, $eq_dates_from1, $eq_dates_to1, $eq_approx_miles1],
- [$eq_class2, $eq_type2, $eq_dates_from2, $eq_dates_to2, $eq_approx_miles2],
- [$eq_class3, $eq_type3, $eq_dates_from3, $eq_dates_to3, $eq_approx_miles3],
- [$eq_class4, $eq_type4, $eq_dates_from4, $eq_dates_to4, $eq_approx_miles4],
- [$last_5_years_states],
- [$special_drivers_training],
- [$driving_awards],
- ['type' => 'header', 'label' => 'Accident Review for past 3 years'],
- [$accident_review_dates,$accident_review_nature, $accident_review_fatalities, $accident_review_injuries],
- [$accident_review_dates1,$accident_review_nature1, $accident_review_fatalities1, $accident_review_injuries1],
- [$accident_review_dates2,$accident_review_nature2, $accident_review_fatalities2, $accident_review_injuries2],
- [$accident_review_dates3,$accident_review_nature3, $accident_review_fatalities3, $accident_review_injuries3],
- ['type' => 'header', 'label' => 'Traffic Convictions and Forfeitures', 'subheader' => 'for the past 3 years other than parking violations'],
- [$traffic_convictions_locations, $traffic_convictions_date, $traffic_convictions_charge, $traffic_convictions_penalty],
- [$traffic_convictions_locations1, $traffic_convictions_date1, $traffic_convictions_charge1, $traffic_convictions_penalty1],
- [$traffic_convictions_locations2, $traffic_convictions_date2, $traffic_convictions_charge2, $traffic_convictions_penalty2],
- [$traffic_convictions_locations3, $traffic_convictions_date3, $traffic_convictions_charge3, $traffic_convictions_penalty3],
- [$resume_file]
+ [
+ 'type' => 'header',
+ 'label' => 'Education & Training',
+ 'subheader' => '(may or may not be considered depending on the job applied for)'
+ ],
+ [$edu_titleHdr, $edu_schoolHdr, $edu_yearsHdr, $edu_gradHdr, $edu_subjectHdr],
+ [$edu_title2Hdr, $edu_school2Hdr, $edu_years2Hdr, $edu_grad_degreeHdr, $edu_grad_certificateHdr, $edu_subject2Hdr],
+ [$edu_title1, $edu_school1, $edu_years1, $edu_grad_degree1, $edu_grad_certificate1, $edu_subject1],
+ [$edu_title2, $edu_school2, $edu_years2, $edu_grad_degree2, $edu_grad_certificate2, $edu_subject2],
+ [$edu_title3, $edu_school3, $edu_years3, $edu_grad_degree3, $edu_grad_certificate3, $edu_subject3],
+ [$edu_title4, $edu_school4, $edu_years4, $edu_grad_degree4, $edu_grad_certificate4, $edu_subject4],
+ [$edu_title5, $edu_school5, $edu_years5, $edu_grad_degree5, $edu_grad_certificate5, $edu_subject5],
+ [$edu_title6, $edu_school6, $edu_years6, $edu_grad_degree6, $edu_grad_certificate6, $edu_subject6],
+ $topHeader,
+ [$employment_titleHdr, $employment_datesHdr, $employment_infoHdr, $employment_salaryHdr, $employment_positionHdr, $employment_reasonHdr, $employment_typeOBHdr],
+
+ [$employment_title1, $employment_dates_from1, $employment_info1, $employment_salary_start1, $employment_position1, $employment_reason1, $employment_typeof1],
+ [$employment_title_sub1, $employment_dates_to1, $employment_supervisor1, $employment_salary_end1,$employment_position_sub1, $employment_reason_sub1, $employment_typeof_sub1],
+
+ [$employment_title2, $employment_dates_from2, $employment_info2, $employment_salary_start2, $employment_position2, $employment_reason2, $employment_typeof2],
+ [$employment_title_sub2, $employment_dates_to2, $employment_supervisor2, $employment_salary_end2,$employment_position_sub2, $employment_reason_sub2, $employment_typeof_sub2],
+
+ [$employment_title3, $employment_dates_from3, $employment_info3, $employment_salary_start3, $employment_position3, $employment_reason3, $employment_typeof3],
+ [$employment_title_sub3, $employment_dates_to3, $employment_supervisor3, $employment_salary_end3,$employment_position_sub3, $employment_reason_sub3, $employment_typeof_sub3],
+
+ [$employment_title4, $employment_dates_from4, $employment_info4, $employment_salary_start4, $employment_position4, $employment_reason4, $employment_typeof4],
+ [$employment_title_sub4, $employment_dates_to4, $employment_supervisor4, $employment_salary_end4,$employment_position_sub4, $employment_reason_sub4, $employment_typeof_sub4],
+
+ [$may_we_contact, $who_to_not_contact],
];
+++ /dev/null
-<?php
-$topHeader = [
- 'type' => 'header',
- 'label' => 'Current and Former Employers',
- 'subheader' => '(List current or most current job first)',
- 'notes' => '<b>Note to Driver Candidates:</b> The U.S. Department of '
- . 'Transportation requires that driver applications show all employment for '
- . 'the past three years. They must also show commercial driver employment '
- . 'for the seven years immediately preceding this three year period. '
- . '§391.21(b)(10),(11). <b>All Applicants:</b> start with last, or current'
- . ' position, and work back.'
-];
-$titles = [
- 1 => '<label class="error">1</label>',
- 2 => '2',
- 3 => '3',
- 4 => '4'
-];
-$employment_titleHdr = [
- 'type' => 'static',
- 'label' => ' ',
- 'grid' => 1,
- 'req' => false,
- 'rcoll' => true
-];
-$employment_datesHdr = [
- 'type' => 'static',
- 'label' => 'Date Month/Year',
- 'grid' => 2
-];
-$employment_infoHdr = [
- 'type' => 'static',
- 'label' => 'Employer Name, Address, and Telephone',
- 'grid' => 4
-];
-$employment_supervisorHdr = [
- 'type' => 'static',
- 'label' => 'Supervisor',
- 'grid' => 1
-];
-$employment_salaryHdr = [
- 'type' => 'static',
- 'label' => 'Salary',
- 'grid' => 1
-];
-$employment_positionHdr = [
- 'type' => 'static',
- 'label' => 'Last Position Held & Work Performed',
- 'grid' => 2
-];
-$employment_reasonHdr = [
- 'type' => 'static',
- 'label' => 'Reason for Leaving',
- 'grid' => 2
-];
-for ($i = 1; $i <= 4; ++$i) {
- ${'employment_title'.$i} = [
- 'type' => 'static',
- 'label' => ' ',
- 'value' => '<div class="static">'.$titles[$i].'</div>',
- 'grid' => 1,
- 'rcoll' => true
- ];
- ${'employment_title_sub'.$i} = [
- 'type' => 'static',
- 'label' => ' ',
- 'value' => '',
- 'grid' => 1,
- 'rcoll' => true
- ];
- ${'employment_dates_from'.$i} = [
- 'type' => 'text',
- 'name' => 'employment_dates_from'.$i,
- 'placeholder' => 'From:',
- 'req' => ($i == 1) ? true: false,
- 'grid' => 2
- ];
- ${'employment_dates_to'.$i} = [
- 'type' => 'text',
- 'name' => 'employment_dates_to'.$i,
- 'placeholder' => 'To:',
- 'req' => ($i == 1) ? true: false,
- 'grid' => 2
- ];
- ${'employment_info'.$i} = [
- 'type' => 'text',
- 'name' => 'employment_info'.$i,
- 'req' => ($i == 1) ? true: false,
- 'grid' => 4
- ];
- ${'employment_supervisor'.$i} = [
- 'type' => 'text',
- 'name' => 'employment_supervisor'.$i,
- 'placeholder' => 'Supervisor',
- 'req' => ($i == 1) ? true: false,
- 'grid' => 4
- ];
- ${'employment_salary_start'.$i} = [
- 'type' => 'text',
- 'name' => 'employment_salary_start'.$i,
- 'placeholder' => 'Starting',
- 'req' => ($i == 1) ? true: false,
- 'grid' => 1
- ];
- ${'employment_salary_end'.$i} = [
- 'type' => 'text',
- 'name' => 'employment_salary_end'.$i,
- 'placeholder' => 'Ending',
- 'req' => ($i == 1) ? true: false,
- 'grid' => 1
- ];
- ${'employment_position'.$i} = [
- 'type' => 'text',
- 'name' => 'employment_position'.$i,
- 'req' => ($i == 1) ? true: false,
- 'grid' => 2
- ];
- ${'employment_position_sub'.$i} = [
- 'type' => 'static',
- 'name' => 'employment_position_sub'.$i,
- 'req' => false,
- 'grid' => 2
- ];
- ${'employment_reason'.$i} = [
- 'type' => 'text',
- 'name' => 'employment_reason'.$i,
- 'req' => ($i == 1) ? true: false,
- 'grid' => 2
- ];
- ${'employment_reason_sub'.$i} = [
- 'type' => 'static',
- 'name' => 'employment_reason_sub'.$i,
- 'req' => false,
- 'grid' => 2
- ];
-}
-$may_we_contact = [
- 'type' => 'radio',
- 'name' => 'may_we_contact',
- 'label' => 'May we contact the employers listed?',
- 'grid' => 6,
- 'req' => true,
- 'opts' => [[
- 'name' => 'may_we_contact_yes',
- 'label' => 'Yes',
- 'value' => 1
- ],[
- 'name' => 'may_we_contact_no',
- 'label' => 'No',
- 'value' => 0]]
-];
-$who_to_not_contact = [
- 'type' => 'textarea',
- 'name' => 'who_to_not_contact',
- 'label' => 'If no, which one(s) should we NOT contact?',
- 'grid' => 6,
- 'req' => false
-];
-//
-$titles3 = [
- 1 => '<label class="error">High School</label>',
- 'College / University',
- 'Specialized Training',
- 'Business or trade school',
- 'other',
- ''
-];
-$edu_titleHdr = [
- 'type' => 'static',
- 'label' => ' ',
- 'grid' => 2,
- 'req' => false,
- 'rcoll' => true
-];
-$edu_title2Hdr = $edu_titleHdr;
-$edu_title2Hdr['label'] = ' ';
-$edu_schoolHdr = [
- 'type' => 'static',
- 'label' => 'Name and Location of School',
- 'grid' => 4,
- 'req' => false
-];
-$edu_school2Hdr = $edu_schoolHdr;
-$edu_school2Hdr['label'] = ' ';
-$edu_yearsHdr = [
- 'type' => 'static',
- 'label' => 'No. of Years Attended',
- 'grid' => 2,
- 'req' => false
-];
-$edu_years2Hdr = $edu_yearsHdr;
-$edu_years2Hdr['label'] = ' ';
-$edu_gradHdr = [
- 'type' => 'static',
- 'label' => 'Did you Graduate',
- 'grid' => 2,
- 'req' => false
-];
-$edu_grad_degreeHdr = [
- 'type' => 'static',
- 'label' => 'Degree',
- 'grid' => 1,
- 'req' => false
-];
-$edu_grad_certificateHdr = [
- 'type' => 'static',
- 'label' => 'Certificate',
- 'grid' => 1,
- 'req' => false
-];
-$edu_subjectHdr = [
- 'type' => 'static',
- 'label' => 'Subject/Major',
- 'grid' => 2,
- 'req' => false
-];
-$edu_subject2Hdr = $edu_subjectHdr;
-$edu_subject2Hdr['label'] = ' ';
-for ($i = 1; $i <= 6; ++$i) {
- ${'edu_title'.$i} = [
- 'type' => 'static',
- 'label' => '',
- 'value' => '<div class="static">'.$titles3[$i].'</div>',
- 'grid' => 2,
- 'rcoll' => true
- ];
- ${'edu_school'.$i} = [
- 'type' => 'text',
- 'name' => 'edu_school' . $i,
- 'label' => '',
- 'grid' => 4,
- 'req' => ($i == 1) ? true: false
- ];
- ${'edu_years'.$i} = [
- 'type' => 'text',
- 'name' => 'edu_years' . $i,
- 'label' => '',
- 'grid' => 2,
- 'req' => ($i == 1) ? true: false
- ];
- ${'edu_grad_degree'.$i} = [
- 'type' => 'text',
- 'name' => 'edu_grad_degree' . $i,
- 'label' => '',
- 'grid' => 1,
- 'req' => ($i == 1) ? true: false
- ];
- ${'edu_grad_certificate'.$i} = [
- 'type' => 'text',
- 'name' => 'edu_grad_certificate' . $i,
- 'label' => '',
- 'grid' => 1,
- 'req' => ($i == 1) ? true: false
- ];
- ${'edu_subject'.$i} = [
- 'type' => 'text',
- 'name' => 'edu_subject' . $i,
- 'label' => '',
- 'grid' => 2,
- 'req' => ($i == 1) ? true: false
- ];
-}
-$form = [
- $topHeader,
- [$employment_titleHdr, $employment_datesHdr, $employment_infoHdr, $employment_salaryHdr, $employment_positionHdr, $employment_reasonHdr],
-
- [$employment_title1, $employment_dates_from1, $employment_info1, $employment_salary_start1, $employment_position1, $employment_reason1],
- [$employment_title_sub1, $employment_dates_to1, $employment_supervisor1, $employment_salary_end1,$employment_position_sub1, $employment_reason_sub1],
-
- [$employment_title2, $employment_dates_from2, $employment_info2, $employment_salary_start2, $employment_position2, $employment_reason2],
- [$employment_title_sub2, $employment_dates_to2, $employment_supervisor2, $employment_salary_end2,$employment_position_sub2, $employment_reason_sub2],
-
- [$employment_title3, $employment_dates_from3, $employment_info3, $employment_salary_start3, $employment_position3, $employment_reason3],
- [$employment_title_sub3, $employment_dates_to3, $employment_supervisor3, $employment_salary_end3,$employment_position_sub3, $employment_reason_sub3],
-
- [$employment_title4, $employment_dates_from4, $employment_info4, $employment_salary_start4, $employment_position4, $employment_reason4],
- [$employment_title_sub4, $employment_dates_to4, $employment_supervisor4, $employment_salary_end4,$employment_position_sub4, $employment_reason_sub4],
-
- [$may_we_contact, $who_to_not_contact],
- ['type' => 'header', 'label' => 'Education & Training'],
- [$edu_titleHdr, $edu_schoolHdr, $edu_yearsHdr, $edu_gradHdr, $edu_subjectHdr],
- [$edu_title2Hdr, $edu_school2Hdr, $edu_years2Hdr, $edu_grad_degreeHdr, $edu_grad_certificateHdr, $edu_subject2Hdr],
- [$edu_title1, $edu_school1, $edu_years1, $edu_grad_degree1, $edu_grad_certificate1, $edu_subject1],
- [$edu_title2, $edu_school2, $edu_years2, $edu_grad_degree2, $edu_grad_certificate2, $edu_subject2],
- [$edu_title3, $edu_school3, $edu_years3, $edu_grad_degree3, $edu_grad_certificate3, $edu_subject3],
- [$edu_title4, $edu_school4, $edu_years4, $edu_grad_degree4, $edu_grad_certificate4, $edu_subject4],
- [$edu_title5, $edu_school5, $edu_years5, $edu_grad_degree5, $edu_grad_certificate5, $edu_subject5],
- [$edu_title6, $edu_school6, $edu_years6, $edu_grad_degree6, $edu_grad_certificate6, $edu_subject6],
-];