From: Steve Sutton Date: Mon, 30 Nov 2015 17:04:19 +0000 (-0500) Subject: updates for the forms X-Git-Tag: v0.0.2^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cb032aeaed5ec5a8597adc73daac96589a3f44e7;p=WP-Plugins%2Fstaffords-employment.git updates for the forms --- diff --git a/config/settings1.php b/config/settings1.php index 2d9ff05..67c0d03 100644 --- a/config/settings1.php +++ b/config/settings1.php @@ -2,49 +2,49 @@ $fname = [ 'type' => 'text', 'name' => 'fname', - 'label' => 'First Name', + 'label' => 'First Name:', 'grid' => 5, 'req' => true ]; $lname = [ 'type' => 'text', 'name' => 'lname', - 'label' => 'Last Name', + 'label' => 'Last Name:', 'grid' => 5, 'req' => true ]; $mname = [ 'type' => 'text', 'name' => 'mname', - 'label' => 'Middle Name', + 'label' => 'Middle Name:', 'grid' => 2, 'req' => true ]; $street = [ 'type' => 'text', 'name' => 'street', - 'label' => 'Street', + 'label' => 'Street:', 'grid' => 3, 'req' => true ]; $city = [ 'type' => 'text', 'name' => 'city', - 'label' => 'City', + 'label' => 'City:', 'grid' => 3, 'req' => true ]; $state = [ 'type' => 'text', 'name' => 'state', - 'label' => 'State', + 'label' => 'State:', 'grid' => 3, 'req' => true ]; $zip = [ 'type' => 'text', 'name' => 'zip', - 'label' => 'ZIP', + 'label' => 'ZIP:', 'grid' => 3, 'req' => true ]; @@ -52,19 +52,19 @@ $zip = [ $phone = [ 'type' => 'tel', 'name' => 'phone', - 'label' => 'Phone', + 'label' => 'Home Phone:', 'grid' => 4 ]; $altPhone = [ 'type' => 'tel', 'name' => 'alt_phone', - 'label' => 'Alternate Phone', + 'label' => 'Cell Phone:', 'grid' => 4 ]; $email = [ 'type' => 'email', 'name' => 'email', - 'label' => 'Email', + 'label' => 'Email:', 'grid' => 4, 'req' => true, 'rule' => 'email' @@ -120,123 +120,71 @@ $employed_which_property = [ 'label' => 'Which property?', 'grid' => 6 ]; -$list_any_friends = [ - 'type' => 'text', - 'name' => 'list_any_friends', - 'label' => 'List any friends or relatives working here', - 'grid' => 12 -]; -$have_drivers_license = [ +$can_you_preform_duties = [ 'type' => 'radio', - 'name' => 'have_drivers_license', - 'label' => 'DO YOU HAVE A DRIVER\'S LICENSE?', - 'grid' => 6, + 'name' => 'can_you_preform_duties', + 'label' => 'Can you preform the duties of the job for which you have applied, with or without accommodation?', + 'grid' => 12, 'req' => true, 'opts' => [[ - 'name' => 'have_drivers_license_yes', + 'name' => 'can_you_preform_duties_yes', 'label' => 'Yes', 'value' => 1 ],[ - 'name' => 'have_drivers_license_no', + 'name' => 'can_you_preform_duties_no', 'label' => 'No', 'value' => 0]] ]; -$means_of_travel = [ - 'type' => 'text', - 'name' => 'means_of_travel', - 'label' => 'What is your means of transportation to work?', - 'grid' => 6 -]; -$drivers_license = [ - 'type' => 'text', - 'name' => 'drivers_license', - 'label' => 'Driver\'s License Number', - 'grid' => 6 -]; -$license_state = [ - 'type' => 'text', - 'name' => 'license_state', - 'label' => 'State of issue', - 'grid' => 6 -]; -$license_type = [ - 'type' => 'radio', - 'name' => 'license_type', - 'label' => 'License Type', - 'grid' => 6, - 'req' => true, - 'opts' => [[ - 'name' => 'license_type_operator', - 'label' => 'Operator', - 'value' => 'Operator' - ],[ - 'name' => 'license_type_commercial', - 'label' => 'Commercial', - 'value' => 'Commercial' - ],[ - 'name' => 'license_type_chauffeur', - 'label' => 'Chauffeur', - 'value' => 'Chauffeur']] -]; -$license_exp_date = [ +$can_you_preform_duties_explain = [ 'type' => 'text', - 'name' => 'license_exp_date', - 'label' => 'Expiration date', - 'grid' => 6 -]; -$had_accident_in_past_three_years = [ - 'type' => 'radio', - 'name' => 'had_accident_in_past_three_years', - 'label' => 'Have you had any accidents during the past three years?', - 'grid' => 8, - 'req' => true, - 'opts' => [[ - 'name' => 'had_accident_in_past_three_years_yes', - 'label' => 'Yes', - 'value' => 1 - ],[ - 'name' => 'had_accident_in_past_three_years_no', - 'label' => 'No', - 'value' => 0]] -]; -$had_accident_in_past_three_years_how_many = [ - 'type' => 'text', - 'name' => 'had_accident_in_past_three_years_how_many', - 'label' => 'How Many', - 'grid' => 4 + 'name' => 'can_you_preform_duties_explain', + 'label' => 'If your answer is no, please explain:', + 'grid' => 12 ]; -$had_violations_in_past_three_years = [ +$ever_plead_guilty = [ 'type' => 'radio', - 'name' => 'had_violations_in_past_three_years', - 'label' => 'Have you had any moving violations during the past three years?', - 'grid' => 8, + 'name' => 'ever_plead_guilty', + 'label' => 'Have you ever plead guilty to or been convicted of a crime?', + 'grid' => 12, 'req' => true, 'opts' => [[ - 'name' => 'had_violations_in_past_three_years_yes', + 'name' => 'ever_plead_guilty_yes', 'label' => 'Yes', 'value' => 1 ],[ - 'name' => 'had_violations_in_past_three_years_no', + 'name' => 'ever_plead_guilty_no', 'label' => 'No', 'value' => 0]] ]; -$had_violations_in_past_three_years_how_many = [ +$ever_plead_guilty_explain = [ 'type' => 'text', - 'name' => 'had_violations_in_past_three_years_how_many', - 'label' => 'How Many', - 'grid' => 4 + 'name' => 'ever_plead_guilty_explain', + 'label' => 'If yes, please provide details, including jurisdiction.', + 'grid' => 12 ]; $position_applied_for = [ 'type' => 'text', 'name' => 'position_applied_for', - 'label' => 'Position Applied For', + 'label' => 'Title:', 'grid' => 6, 'value' => $this->jobTitle ]; +$referred_by = [ + 'type' => 'text', + 'name' => 'referred_by', + 'label' => 'Referred By:', + 'grid' => 6 +]; $date_available_for_work = [ 'type' => 'text', 'name' => 'date_available_for_work', - 'label' => 'Date Available to Work', + 'label' => 'Date You Can Start:', + 'grid' => 6 +]; +$last_date_available_for_work = [ + 'type' => 'text', + 'name' => 'last_date_available_for_work', + 'label' => 'Last Date You Can Work:', 'grid' => 6 ]; $type_of_employment = [ @@ -264,65 +212,155 @@ $salary_desired = [ $location_preference = [ 'type' => 'checkbox', 'name' => 'location_preference', - 'label' => 'Location Preference', - 'grid' => 8, + 'label' => 'Property', + 'grid' => 12, 'req' => false, 'opts' => [[ - 'name' => 'location_preference_petoskey', - 'label' => 'Petoskey', - 'value' => 'Petoskey' + 'name' => 'location_preference_bayview', + 'label' => 'Bay View Inn', + 'value' => 'Bay View Inn' ],[ - 'name' => 'location_preference_harborsprings', - 'label' => 'Harbor Springs', - 'value' => 'Harbor Springs' + 'name' => 'location_preference_crookedriver', + 'label' => 'Crooked River Lodge', + 'value' => 'Crooked River Lodge' ],[ - 'name' => 'location_preference_gaylord', - 'label' => 'Gaylord', - 'value' => 'Gaylord' + 'name' => 'location_preference_perryhotel', + 'label' => 'Perry Hotel', + 'value' => 'Perry Hotel' ],[ - 'name' => 'location_preference_traverse', - 'label' => 'Traverse City', - 'value' => 'Traverse City' - ]] -]; -$do_you_have_building_exp = [ - 'type' => 'radio', - 'name' => 'do_you_have_building_exp', - 'label' => 'Do you have experience in the building industry?', - 'grid' => 4, - 'req' => true, - 'opts' => [[ - 'name' => 'do_you_have_building_exp_yes', - 'label' => 'Yes', - 'value' => 1 + 'name' => 'location_preference_pier', + 'label' => 'Pier Restaurant', + 'value' => 'Pier Restaurant' ],[ - 'name' => 'do_you_have_building_exp_no', - 'label' => 'No', - 'value' => 0]] + 'name' => 'location_preference_weathervane', + 'label' => 'Weathervane Restaurant', + 'value' => 'Weathervane Restaurant' + ],[ + 'name' => 'location_preference_drawbridge', + 'label' => 'Drawbridge Bistro', + 'value' => 'Drawbridge Bistro' + ]] ]; -$special_training = [ - 'type' => 'textarea', - 'name' => 'special_training', - 'label' => 'Do you have any special training, skills, certifications, qualifications,' - . ' or other experiences that relate to the position(s) applied for?', +$high_school_name = [ + 'type' => 'text', + 'name' => 'high_school_name', + 'label' => 'High School:', 'grid' => 12 ]; +$high_school_location = [ + 'type' => 'text', + 'name' => 'high_school_location', + 'label' => '(City State):', + 'grid' => 6 +]; +$high_school_grad_date = [ + 'type' => 'text', + 'name' => 'high_school_grad_date', + 'label' => 'Graduation Date:', + 'grid' => 6 +]; + +$tech_school_name = [ + 'type' => 'text', + 'name' => 'tech_school_name', + 'label' => 'Business or Technical School:', + 'grid' => 6 +]; +$tech_school_location = [ + 'type' => 'text', + 'name' => 'tech_school_location', + 'label' => '(City State):', + 'grid' => 6 +]; +$tech_school_dates = [ + 'type' => 'text', + 'name' => 'tech_school_dates', + 'label' => 'Dates Attended:', + 'grid' => 6 +]; +$tech_school_degree = [ + 'type' => 'text', + 'name' => 'tech_school_degree', + 'label' => 'Degree Earned:', + 'grid' => 6 +]; + +$undergraduate_college_name = [ + 'type' => 'text', + 'name' => 'undergraduate_college_name', + 'label' => 'Undergraduate College:', + 'grid' => 6 +]; +$undergraduate_college_location = [ + 'type' => 'text', + 'name' => 'undergraduate_college_location', + 'label' => '(City State):', + 'grid' => 6 +]; +$undergraduate_college_dates = [ + 'type' => 'text', + 'name' => 'undergraduate_college_dates', + 'label' => 'Dates Attended:', + 'grid' => 6 +]; +$undergraduate_college_degree = [ + 'type' => 'text', + 'name' => 'undergraduate_college_degree', + 'label' => 'Degree, Major:', + 'grid' => 6 +]; + +$graduate_college_name = [ + 'type' => 'text', + 'name' => 'graduate_college_name', + 'label' => 'Graduate College:', + 'grid' => 6 +]; +$graduate_college_location = [ + 'type' => 'text', + 'name' => 'graduate_college_location', + 'label' => '(City State):', + 'grid' => 6 +]; +$graduate_college_dates = [ + 'type' => 'text', + 'name' => 'graduate_college_dates', + 'label' => 'Dates Attended:', + 'grid' => 6 +]; +$graduate_college_degree = [ + 'type' => 'text', + 'name' => 'graduate_college_degree', + 'label' => 'Degree, Major:', + 'grid' => 6 +]; + $form = [ - ['type' => 'header', 'label' => 'Personal Information'], + ['type' => 'header', 'label' => 'PERSONAL INFORMATION'], [$fname, $lname, $mname], [$street, $city, $state, $zip], [$phone, $altPhone, $email], [$over_18, $us_auth], [$employed_before, $employed_which_property], - [$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], - ['type' => 'header', 'label' => 'Employment Desired'], - [$position_applied_for, $date_available_for_work], - [$type_of_employment, $salary_desired], - [$location_preference, $do_you_have_building_exp], - [$special_training] + ['type' => 'header', 'label' => 'POSITION YOU ARE APPLYING FOR'], + [$position_applied_for, $referred_by], + [$location_preference], + [$date_available_for_work, $last_date_available_for_work], + [$can_you_preform_duties], + [$can_you_preform_duties_explain], + [$ever_plead_guilty], + [$ever_plead_guilty_explain], + ['type' => 'header', 'label' => 'EDUCATION RECORD'], + [$high_school_name], + [$high_school_location, $high_school_grad_date], + + [$tech_school_name, $tech_school_location], + [$tech_school_dates, $tech_school_degree], + + [$undergraduate_college_name, $undergraduate_college_location], + [$undergraduate_college_dates, $undergraduate_college_degree], + + [$graduate_college_name, $graduate_college_location], + [$graduate_college_dates, $graduate_college_degree], + ]; diff --git a/config/settings2.php b/config/settings2.php index f7c928e..6001d6a 100644 --- a/config/settings2.php +++ b/config/settings2.php @@ -1,359 +1,123 @@ 'text', - 'name' => 'date_of_birth', - 'label' => 'Date of Birth', - 'grid' => 2, - 'req' => true -]; -$date_of_birth_explain = [ - 'type' => 'static', - 'value' => '
The U.S. Department of Transportation requires that driver ' - . 'applicants state their date of birth §391.21(b)(2).
', - '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 + 'name' => 'why_do_you_want_to_work_for_staffords', + 'label' => 'WHY DO YOU WANT TO WORK FOR STAFFORD\'S?', + 'grid' => 12, + 'req' => false ]; -$exp_dateHdr = [ - 'type' => 'static', - 'label' => 'Expiration Date', - 'grid' => 2, - 'req' => true +$resume_file = [ + 'type' => 'file', + 'label' => 'Upload your resume and/or cover letter', + 'grid' => 12 ]; -for ($i = 1; $i <= 4; ++$i) { - $licenseReq = ($i == 1) ? true: false; - ${'state'.$i} = [ +$numberOfEmployers = 3; + +for ($index = 1; $index <= $numberOfEmployers; ++$index) { + ${'emp_' . $index . '_name'} = array( 'type' => 'text', - 'name' => 'state' . $i, - 'label' => '', - 'grid' => 1, - 'req' => $licenseReq, - 'rcoll' => true - ]; - ${'license'.$i} = [ + 'name' => 'emp_' . $index . '_name', + 'label' => '' . $index . ' - Employer:', + 'grid' => 6, + 'req' => false + ); + ${'emp_' . $index . '_dates'} = array( 'type' => 'text', - 'name' => 'license' . $i, - 'label' => '', - 'grid' => 4, - 'req' => $licenseReq - ]; - ${'class'.$i} = [ + 'name' => 'emp_' . $index . '_dates', + 'label' => 'Dates Employed:', + 'grid' => 6, + 'req' => false + ); + ${'emp_' . $index . '_address'} = array( 'type' => 'text', - 'name' => 'class' . $i, - 'label' => '', - 'grid' => 1, - 'req' => $licenseReq - ]; - ${'endorsement'.$i} = [ + 'name' => 'emp_' . $index . '_address', + 'label' => 'Address:', + 'grid' => 12, + 'req' => false + ); + ${'emp_' . $index . '_city'} = array( 'type' => 'text', - 'name' => 'endorsement' . $i, - 'label' => '', + 'name' => 'emp_' . $index . '_city', + 'label' => 'City:', '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' => '
'.$titles[$i].'
', - 'grid' => 3, - 'rcoll' => true - ]; - ${'eq_type'.$i} = [ + 'req' => false + ); + ${'emp_' . $index . '_state'} = array( 'type' => 'text', - 'name' => 'eq_type' . $i, - 'label' => '', + 'name' => 'emp_' . $index . '_state', + 'label' => 'State:', 'grid' => 4, 'req' => false - ]; - ${'eq_dates_from'.$i} = [ + ); + ${'emp_' . $index . '_zip'} = array( 'type' => 'text', - 'name' => 'eq_dates_from' . $i, - 'label' => '', - 'grid' => 1, + 'name' => 'emp_' . $index . '_zip', + 'label' => 'Zip:', + 'grid' => 4, 'req' => false - ]; - ${'eq_dates_to'.$i} = [ + ); + ${'emp_' . $index . '_phone'} = array( 'type' => 'text', - 'name' => 'eq_dates_to' . $i, - 'label' => '', - 'grid' => 1, + 'name' => 'emp_' . $index . '_phone', + 'label' => 'Phone:', + 'grid' => 6, 'req' => false - ]; - ${'eq_approx_miles'.$i} = [ + ); + ${'emp_' . $index . '_salary'} = array( 'type' => 'text', - 'name' => 'eq_approx_miles' . $i, - 'label' => '', - 'grid' => 3, + 'name' => 'emp_' . $index . '_salary', + 'label' => 'Ending Salary:', + 'grid' => 6, '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

', - '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

', - 'grid' => 3 -]; -$accident_review_injuries = [ - 'type' => 'static', - 'label' => 'Injuries

', - '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} = [ + ); + ${'emp_' . $index . '_duties'} = array( '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} = [ + 'name' => 'emp_' . $index . '_duties', + 'label' => 'Titles/Duties:', + 'grid' => 12, + 'req' => false + ); + ${'emp_' . $index . '_super'} = array( 'type' => 'text', - 'name' => 'traffic_convictions_charge'.$i, - 'label' => '', - 'grid' => 3 - ]; - ${'traffic_convictions_penalty'.$i} = [ + 'name' => 'emp_' . $index . '_super', + 'label' => 'Supervisor\'s Name and Title:', + 'grid' => 12, + 'req' => false + ); + ${'emp_' . $index . '_reason'} = array( 'type' => 'text', - 'name' => 'traffic_convictions_penalty'.$i, - 'label' => '', - 'grid' => 3 - ]; + 'name' => 'emp_' . $index . '_reason', + 'label' => 'Reason for Leaving:', + 'grid' => 12, + 'req' => false + ); } -$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] + [$why_do_you_want_to_work_for_staffords], + [$emp_1_name, $emp_1_dates], + [$emp_1_address], + [$emp_1_city, $emp_1_state, $emp_1_zip], + [$emp_1_phone, $emp_1_salary], + [$emp_1_duties], + [$emp_1_super], + [$emp_1_reason], + + [$emp_2_name, $emp_2_dates], + [$emp_2_address], + [$emp_2_city, $emp_2_state, $emp_2_zip], + [$emp_2_phone, $emp_2_salary], + [$emp_2_duties], + [$emp_2_super], + [$emp_2_reason], + + [$emp_3_name, $emp_3_dates], + [$emp_3_address], + [$emp_3_city, $emp_3_state, $emp_3_zip], + [$emp_3_phone, $emp_3_salary], + [$emp_3_duties], + [$emp_3_super], + [$emp_3_reason], + ]; + diff --git a/config/settings3.php b/config/settings3.php deleted file mode 100644 index d516e8d..0000000 --- a/config/settings3.php +++ /dev/null @@ -1,289 +0,0 @@ - 'header', - 'label' => 'Current and Former Employers', - 'subheader' => '(List current or most current job first)', - 'notes' => 'Note to Driver Candidates: 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). All Applicants: start with last, or current' - . ' position, and work back.' -]; -$titles = [ - 1 => '', - 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' => '
'.$titles[$i].'
', - '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 => '', - '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' => '
'.$titles3[$i].'
', - '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], -]; diff --git a/config/settings4.php b/config/settings4.php deleted file mode 100644 index 51fe2fa..0000000 --- a/config/settings4.php +++ /dev/null @@ -1,184 +0,0 @@ - 'radio', - 'name' => 'military_experience', - 'label' => 'Have you had any experience in the Armed Forces of the United States or in a State National Guard?', - 'grid' => 6, - 'req' => true, - 'opts' => [[ - 'name' => 'military_experience_yes', - 'label' => 'Yes', - 'value' => 1 - ],[ - 'name' => 'military_experience_no', - 'label' => 'No', - 'value' => 0]] -]; -$military_branch = [ - 'type' => 'text', - 'name' => 'military_branch', - 'label' => 'If yes, what branch?', - 'grid' => 6, - 'req' => false -]; -$military_date_entered = [ - 'type' => 'text', - 'name' => 'military_date_entered', - 'label' => 'Date Entered', - 'grid' => 4, - 'req' => false -]; -$military_rank = [ - 'type' => 'text', - 'name' => 'military_rank', - 'label' => 'Rank at Discharge', - 'grid' => 4, - 'req' => false -]; -$military_discharge_date = [ - 'type' => 'text', - 'name' => 'military_discharge_date', - 'label' => 'Date of Discharge', - 'grid' => 4, - 'req' => false -]; -$military_reserves = [ - 'type' => 'radio', - 'name' => 'military_reserves', - 'label' => 'Are you in the reserves?', - 'grid' => 6, - 'req' => true, - 'opts' => [[ - 'name' => 'military_reserves_yes', - 'label' => 'Yes', - 'value' => 1 - ],[ - 'name' => 'military_reserves_no', - 'label' => 'No', - 'value' => 0]] -]; -$military_reserves_end = [ - 'type' => 'text', - 'name' => 'military_reserves_end', - 'label' => 'If yes, date obligation ends?', - 'grid' => 6, - 'req' => false -]; -$military_training = [ - 'type' => 'textarea', - 'name' => 'military_training', - 'label' => 'Special/technical training', - 'grid' => 12, - 'req' => false -]; -$crimes_in_past_7_years = [ - 'type' => 'radio', - 'name' => 'crimes_in_past_7_years', - 'label' => 'Have you ever been convicted of a crime in the past seven years?', - 'grid' => 6, - 'req' => true, - 'opts' => [[ - 'name' => 'crimes_in_past_7_years_yes', - 'label' => 'Yes', - 'value' => 1 - ],[ - 'name' => 'crimes_in_past_7_years_no', - 'label' => 'No', - 'value' => 0]] -]; -$crimes_explain = [ - 'type' => 'text', - 'name' => 'crimes_explain', - 'label' => 'If so, where, when and nature of offense?', - 'grid' => 6, - 'req' => false -]; -$training_skills = [ - 'type' => 'textarea', - 'name' => 'training_skills', - 'label' => 'Please provide any additional information such as special skills, ' - . 'training, management experiences, equipment operation or qualifications ' - . 'you feel will be helpful to us in considering your application', - 'grid' => 12, - 'req' => false -]; -$additional_info = [ - 'type' => 'textarea', - 'name' => 'additional_info', - 'label' => 'State any additional information that you feel may be helpful ' - . 'to us in considering your application.', - 'grid' => 12, - 'req' => false -]; -$referenceReq = false; -$nameHdr = [ - 'type' => 'static', - 'label' => 'Name', - 'grid' => 3, - 'req' => $referenceReq -]; -$addressHdr = [ - 'type' => 'static', - 'label' => 'Address and Telephone', - 'grid' => 3, - 'req' => $referenceReq -]; -$relationshipHdr = [ - 'type' => 'static', - 'label' => 'Relationship', - 'grid' => 3, - 'req' => $referenceReq -]; -$yearHdr = [ - 'type' => 'static', - 'label' => 'Years Acquainted', - 'grid' => 3, - 'req' => $referenceReq -]; -for ($i = 1; $i <= 3; ++$i) { - $referenceReq = false; - ${'name'.$i} = [ - 'type' => 'text', - 'name' => 'name' . $i, - 'label' => '', - 'grid' => 3, - 'req' => $referenceReq - ]; - ${'address'.$i} = [ - 'type' => 'text', - 'name' => 'address' . $i, - 'label' => '', - 'grid' => 3, - 'req' => $referenceReq - ]; - ${'relationship'.$i} = [ - 'type' => 'text', - 'name' => 'relationship' . $i, - 'label' => '', - 'grid' => 3, - 'req' => $referenceReq - ]; - ${'year'.$i} = [ - 'type' => 'text', - 'name' => 'years' . $i, - 'label' => '', - 'grid' => 3, - 'req' => $referenceReq - ]; -} -$form = [ - ['type' => 'header', 'label' => 'Military Service Record'], - [$military_experience, $military_branch], - [$military_date_entered, $military_rank, $military_discharge_date], - [$military_reserves, $military_reserves_end], - [$military_training], - ['type' => 'header', 'label' => 'Additional Information'], - [$crimes_in_past_7_years, $crimes_explain], - [$training_skills], - [$additional_info], - ['type' => 'header', 'label' => 'References'], - [$nameHdr, $addressHdr, $relationshipHdr, $yearHdr], - [$name1, $address1, $relationship1, $year1], - [$name2, $address2, $relationship2, $year2], - [$name3, $address3, $relationship3, $year3], -]; diff --git a/config/settings5.php b/config/settings5.php deleted file mode 100644 index e0d5ffd..0000000 --- a/config/settings5.php +++ /dev/null @@ -1,71 +0,0 @@ - 'header', - 'label' => 'Please Read Carefully', - 'subheader' => 'Application Form Waiver: Please read the following statements ' - . 'carefully before signing to indicate your understanding', - 'notes' => 'I authorize investigation of all statements contained in this - application. I hereby give the Company permission to contact schools, - previous employers (unless otherwise indicated), references, and others. - I hereby release the Company, or any prior employer, or reference from any - liability as a result of such contact, for providing factual information. - I certify that the facts contained in this application are true, accurate, - and complete to the best of my knowledge. I understand that, if employed, - falsified statements or omitted material facts on this application may - result in my disqualification from consideration for employment, or - termination from employment if I have been hired.

I understand that - (1) the Company has a drug and alcohol policy that provides for pre-employment - testing as well as testing after employment; (2) consent to and compliance - with such policy is a condition of my employment; and (3) continued - employment is based on the successful passing of testing under such - policy.

I understand and agree that, if hired, my employment is - "At-Will" and that either the company or I may terminate the employment - relationship at any time with or without cause and with or without notice. - I further understand that this employment relationship may not be modified - by verbal statements, customs, practices, or written documents unless - such modification is in writing and signed by the President of the - company.

I understand that, in connection with the routine processing - of your employment application, the Company may request from a consumer - reporting agency an investigative consumer report including information - as to my credit records, character, general reputation, personal - characteristics, and mode of living. Upon written request from me, the - Company, will provide me with additional information concerning the - nature and scope of any such report requested by it, as required by the - Fair Credit Reporting Act.

Preston Feather Building Centers is an - equal opportunity employer. You will be considered for all positions - without regard to race, color, religion, weight, height, sex, national - origin, marital status, veteran status, the presence of a non-job related - medical condition, disability or any other protected status required by - law.

Under Michigan law, disabled employees and applicants must - request an accommodation of their disability by notifying the firm in - writing of the need for accommodation within 182 days of the date the - disabled individual knows or should know that an accommodation is needed. - Failure to properly notify the firm may preclude any claim that the employer - failed to accommodate the disabled individual.' -]; - -$name_of_applicant = [ - 'type' => 'text', - 'name' => 'name_of_applicant', - 'label' => 'Name of Applicant', - 'grid' => 6, - 'req' => true -]; -$agree_form_waiver = [ - 'type' => 'checkbox', - 'name' => 'agree_form_waiver', - 'label' => 'Do you agree to the above terms? By clicking Yes, you consent ' - . 'that you have read and understand the above terms.', - 'grid' => 12, - 'req' => true, - 'opts' => [[ - 'name' => 'agree_form_waiver', - 'label' => 'I Agree', - 'value' => 1 - ]] -]; -$form = [ - $topHeader, - [$name_of_applicant], - [$agree_form_waiver] -]; \ No newline at end of file diff --git a/config/settings6.php b/config/settings6.php deleted file mode 100644 index af5875c..0000000 --- a/config/settings6.php +++ /dev/null @@ -1,50 +0,0 @@ - 'header', - 'label' => 'Drug Test Consent Form', - 'subheader' => 'Consent for Pre-Employment drug test screen and Release ' - . 'Covenant not to sue and indemnity agreement.', - 'notes' => 'I hereby give my consent for Preston Feather Building Centers, ' - . 'through an authorized testing service of its choice, to collect blood, ' - . 'hair, urine, or saliva samples from me and to conduct any other necessary ' - . 'medical tests to determine the presence of alcohol, drugs or controlled ' - . 'substances, and I hereby release Preston Feather Building Centers from any ' - . 'liability arising out of such test or its results. Further, I give my ' - . 'consent for the release of the test results and other relevant medical ' - . 'information to authorized Preston Feather Building Center’s management ' - . 'for appropriate review. I hereby release and agree to indemnify and hold ' - . 'harmless, Preston Feather Building Centers, the laboratory, the testing ' - . 'service and their officers, agents and employees for any damages, costs ' - . 'and expenses arising out of the testing or release of its results. If I ' - . 'am accepted for employment by Preston Feather Building Centers, I hereby ' - . 'consent to be tested in the above manner during my employment when, in ' - . 'the Company’s judgment, such testing is appropriate and I acknowledge ' - . 'that remaining free of illegal drug use and complying with the Company\'s ' - . 'substance abuse policy is a condition of my employment.' -]; - -$name_of_applicant = [ - 'type' => 'text', - 'name' => 'name_of_applicant', - 'label' => 'Name of Applicant', - 'grid' => 6, - 'req' => true -]; -$agree_form_waiver = [ - 'type' => 'checkbox', - 'name' => 'agree_form_waiver', - 'label' => 'Do you agree to the above terms? By clicking Yes, you consent ' - . 'that you have read and understand the above terms.', - 'grid' => 4, - 'req' => true, - 'opts' => [[ - 'name' => 'agree_form_waiver', - 'label' => 'I Agree', - 'value' => 1 - ]] -]; -$form = [ - $topHeader, - [$name_of_applicant], - [$agree_form_waiver] -]; \ No newline at end of file diff --git a/config/settings7.php b/config/settings7.php deleted file mode 100644 index 3b280ba..0000000 --- a/config/settings7.php +++ /dev/null @@ -1,187 +0,0 @@ - 'header', - 'label' => 'Summary of Rights under Fair Credit Reporting Act', - 'subheader' => '', - 'notes' => 'The federal Fair Credit Reporting Act (FCRA) promotes the ' - . 'accuracy, fairness, and privacy of information in the files of consumer ' - . 'reporting agencies. There are many types of consumer reporting agencies, ' - . 'including credit bureaus and specialty agencies (such as agencies that sell ' - . 'information about check writing histories, medical records, and rental ' - . 'history records). Here is a summary of your major rights under the FCRA. ' - . 'For more information, including information about additional rights, go ' - . 'to www.ftc.gov/credit ' - . 'or write to: Consumer Response Center, Room 130-A, Federal trade ' - . 'Commission, 600 Pennsylvania Ave. N.W., Washington D.C. 20580.

' - . '

' - . 'States may enforce the FCRA, and many states have their own consumer reporting laws. In some cases, you may have more rights under state law. For more information, contact your state or local consumer protection agency or your state Attorney General. Federal enforcers are:' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '' - . '
For Questions or Concerns Regarding:Please Contact:
Consumer reporting agencies, creditors and others not listed belowFederal Trade Commission, Bureau of Consumer Protection, FCRA, Washington DC, 20580. 1-877-382-4357
National banks, federal branches/agencies of foreign banks (word “National” or initials “N.A.” appear in or after bank’s name)Office of the Comptroller of the Currency Compliance Management, Mail Stop 6-6, Washington DC, 20219. 800-613-6743
Federal Reserve System member banks (except national banks, and federal branches/agencies of foreign banks)Federal Reserve Board, Division of Consumer & Community Affairs, Washington DC, 20551. 202-452-3693
Savings associations and federally chartered savings banks (word “Federal” or initials “F.S.B.” appear in federal institution’s name)Office of Thrift Supervision, Consumer Complaints, Washington DC, 20552. 800-842-6929
Federal credit unions (words “Federal Credit Union” appear in institution’s name)National Credit Union Administration, 1775 Duke Street, Alexandria VA, 22314. 703-519-4600
State-chartered banks that are not members of the Federal Reserve SystemFederal Deposit Insurance Corp., Consumer Response Center, 2345 Grand Avenue, Suite 100, Kansas City, Missouri, 64108-2638 877-275-3342
Air, surface or rail common carriers regulated by former Civil Aeronautics Board or Interstate Commerce CommissionDepartment of Transportation, Office of Financial Management, Washington DC, 20590. 202-366-1306
Activities subject to the Packers and Stockyards Act, 1921Department of Agriculture, Office of Deputy Administrator-GIPSA, Washington DC, 20205. 202-720-7051
' -]; - -$app_name = [ - 'type' => 'text', - 'name' => 'app_name', - 'label' => 'Applicants Name', - 'grid' => 6, - 'req' => true -]; -$app_address = [ - 'type' => 'text', - 'name' => 'app_address', - 'label' => 'Address', - 'grid' => 6, - 'req' => true -]; -$app_city = [ - 'type' => 'text', - 'name' => 'app_city', - 'label' => 'City', - 'grid' => 4, - 'req' => true -]; -$app_state = [ - 'type' => 'text', - 'name' => 'app_state', - 'label' => 'State', - 'grid' => 4, - 'req' => true -]; -$app_zip = [ - 'type' => 'text', - 'name' => 'app_zip', - 'label' => 'Zip', - 'grid' => 4, - 'req' => true -]; -$app_social = [ - 'type' => 'text', - 'name' => 'app_social', - 'label' => 'Social Security Number', - 'grid' => 6, - 'req' => true -]; - -$agree_form_waiver2 = [ - 'type' => 'checkbox', - 'name' => 'agree_form_waiver2', - 'label' => 'Do you agree to the above terms? By clicking Yes, you consent ' - . 'that you have read and understand the above terms.', - 'grid' => 4, - 'req' => true, - 'opts' => [[ - 'name' => 'agree_form_waiver2', - 'label' => 'I Agree', - 'value' => 1 - ]] -]; -$header2 = [ - 'type' => 'header', - 'label' => 'Disclosure to Employment Applicant', - 'subheader' => '', - 'notes' => '

In connection with your application for employment, or during the course of your employment, we may procure a consumer report on you. In the event that information from the report is utilized in whole or in part in making an adverse decision with regard to your employment, before making the adverse decision, we will provide you with a copy of the consumer report and a description in writing of your rights under the law.

' - . '

Please be advised that we may also obtain an investigative report including information as to your character, general reputation, and personal characteristics. This information may be obtained by contacting your previous employers or references applied by you. Please be advised that you have the right to request, in writing, within a reasonable time, that we make a complete and accurate disclosure of the nature and scope of the information requested. Such disclosure will be made to you within 5 days of the date on which we receive the request from you or within 5 days of the time the report was finished.

' - . '

The Fair Credit Reporting Act gives you specific rights in dealing with consumer reporting agencies. You will find these rights summarized on the next page (see Summary of Rights).

' - . '

By your signature below, you hereby authorize us to obtain a consumer report about you in order to consider you for employment.

' -]; -$copies = [ - 'type' => 'radio', - 'name' => 'copies', - 'label' => 'Please provide me with a copy of the reports obtained', - 'grid' => 4, - 'req' => true, - 'opts' => [[ - 'name' => 'copies_yes', - 'label' => 'Yes', - 'value' => 1 - ],[ - 'name' => 'copies_no', - 'label' => 'No', - 'value' => 0]] -]; -$form = [ - $topHeader, - $header2, - [$app_name], - [$app_address], - [$app_city, $app_state, $app_zip], - [$app_social], - [$agree_form_waiver2] -]; diff --git a/controllers/admin.php b/controllers/admin.php index a2f35e9..9b89e32 100644 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -95,8 +95,7 @@ class staffords_employment_admin '1.0', true ); - wp_enqueue_style('foundation', - get_template_directory_uri() . '/css/app.js'); + wp_enqueue_style('foundation', get_template_directory_uri() . '/css/app.js'); $id = filter_var($_REQUEST['application'], FILTER_VALIDATE_INT); $sql = " SELECT * diff --git a/controllers/front.php b/controllers/front.php index 053e820..b4886c8 100644 --- a/controllers/front.php +++ b/controllers/front.php @@ -35,7 +35,7 @@ class staffords_employment_front const FORM_VAR = 'applyOnline'; const FORM_SETTINGS_DIR = 'config'; const FORM_VIEW_DIR = 'views'; - const FINAL_FORM = 8; + const FINAL_FORM = 3; const FORM_TEMPLATE = 'formTemplate.php'; const SUCCESS_TEMPLATE = 'thankYou.php'; @@ -126,11 +126,6 @@ class staffords_employment_front switch ($formPart) { case 1: case 2: - case 3: - case 4: - case 5: - case 6: - case 7: if ($this->formSubmitted) { $this->appId = $appId = (isset($_REQUEST['appId'])) ? filter_var($_REQUEST['appId'], FILTER_VALIDATE_INT): null; $form = $this->form_process($formPart); @@ -178,11 +173,9 @@ class staffords_employment_front */ public function store_resume_file() { -// echo '
'.print_r($form, true).'
'; if (!$appId = filter_var($_REQUEST['appId'], FILTER_VALIDATE_INT)) { return false; } -// echo '
'.print_r($_FILES, true).'
'; preg_match("%\.[A-Za-z]*$%", $_FILES['resume_file']['name'], $ext); $size = getImageSize($_FILES['resume_file']['tmp_name']); $resumeFile = tempnam(STAFFORDS_EMP_UPLOAD_DIR, "RESUME"); @@ -337,20 +330,28 @@ class staffords_employment_front if (in_array($field['name'], array('fname', 'lname', 'mname'))) { $this->$field['name'] = $form[$rowKey][$fieldKey]['value']; } - if ( ($field['type'] == 'checkbox' || $field['type'] == 'radio') - && isset($field['opts']) && !empty($field['opts']) + if ( ($field['type'] == 'radio') && isset($field['opts']) && !empty($field['opts']) ) { foreach ($field['opts'] as $opKey => $option) { if (isset($_POST[$field['name']])) { $form[$rowKey][$fieldKey]['opts'][$opKey]['checked'] = true; - if ($field['type'] == 'checkbox') { - $_POST[$option['name']] = $option['value']; - } - } } } + if ( ($field['type'] == 'checkbox') && isset($field['opts']) && !empty($field['opts']) + ) { + $checkboxOptions = array(); + foreach ($field['opts'] as $opKey => $option) { + if (isset($_POST[$option['name']])) { + $form[$rowKey][$fieldKey]['opts'][$opKey]['checked'] = true; + $_POST[$option['name']][] = $option['value']; + $checkboxOptions[] = $option['value']; + } + } + $form[$rowKey][$fieldKey]['value'][] = implode(', ', $checkboxOptions); + $checkboxOptions = array(); + } if ( isset($field['req']) && $field['req'] == true && $_POST[$field['name']] == '' @@ -360,8 +361,7 @@ class staffords_employment_front ++$this->errorCount; } - if ( isset($field['rule']) - && $_POST[$field['name']] != '' + if ( isset($field['rule']) && $_POST[$field['name']] != '' ) { switch ($field['rule']) { case 'email': diff --git a/models/list-applications.php b/models/list-applications.php index 9b3bbc9..8c744ea 100644 --- a/models/list-applications.php +++ b/models/list-applications.php @@ -35,7 +35,7 @@ class List_Applications extends GLM_List_Table $where[] = "archived <> true"; } $where[] = "(SELECT count(*) FROM " - . $this->wpdb->prefix . STAFFORDS_EMP_FORM_TABLE . " glm_ft WHERE glm_ft.form_part = 7 AND glm_ft.application = glm_at.id)"; + . $this->wpdb->prefix . STAFFORDS_EMP_FORM_TABLE . " glm_ft WHERE glm_ft.form_part = 2 AND glm_ft.application = glm_at.id)"; $sql = " SELECT id as ID,fname,lname,create_time,archived,position,resume FROM " . $this->wpdb->prefix . STAFFORDS_EMP_APPLICATION_TABLE . " glm_at diff --git a/views/front/formTemplate.php b/views/front/formTemplate.php index b3c5728..a520a51 100644 --- a/views/front/formTemplate.php +++ b/views/front/formTemplate.php @@ -40,7 +40,7 @@
-
+
class="error"> diff --git a/views/front/thankYou.php b/views/front/thankYou.php index 15615a0..702afed 100644 --- a/views/front/thankYou.php +++ b/views/front/thankYou.php @@ -1,4 +1,3 @@
- Thank You For Completing This Application Form And For Your Interest In - Preston Feather Building Centers. + Thank You For Completing This Application Form And For Your Interest In Staffords.