bhl-forms 0.2.8 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/bhl-forms.es.js +1013 -590
  2. package/dist/bhl-forms.iife.js +7 -7
  3. package/dist/bhl-forms.modern.es.js +1710 -1221
  4. package/dist/bhl-forms.modern.iife.js +10 -10
  5. package/dist/bhl-forms.modern.umd.js +10 -10
  6. package/dist/bhl-forms.umd.js +7 -7
  7. package/dist/forms/accidentsAndInjuries.es.js +47 -47
  8. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  9. package/dist/forms/accidentsAndInjuries.json +1 -1
  10. package/dist/forms/appraisals.es.js +2 -2
  11. package/dist/forms/appraisals.iife.js +1 -1
  12. package/dist/forms/childAndFamily.es.js +48 -48
  13. package/dist/forms/childAndFamily.iife.js +1 -1
  14. package/dist/forms/childAndFamily.json +1 -1
  15. package/dist/forms/civilLawsuit.es.js +49 -48
  16. package/dist/forms/civilLawsuit.iife.js +1 -1
  17. package/dist/forms/civilLawsuit.json +1 -1
  18. package/dist/forms/coins.es.js +2 -2
  19. package/dist/forms/coins.iife.js +1 -1
  20. package/dist/forms/contracts.es.js +13 -13
  21. package/dist/forms/contracts.iife.js +1 -1
  22. package/dist/forms/contracts.json +1 -1
  23. package/dist/forms/criminal.es.js +169 -169
  24. package/dist/forms/criminal.iife.js +1 -1
  25. package/dist/forms/criminal.json +1 -1
  26. package/dist/forms/employmentAndWorkplace.es.js +41 -41
  27. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  28. package/dist/forms/employmentAndWorkplace.json +1 -1
  29. package/dist/forms/generalLegal.es.js +310 -176
  30. package/dist/forms/generalLegal.iife.js +1 -1
  31. package/dist/forms/generalLegal.json +1 -1
  32. package/dist/forms/generalLegalPopUnder.es.js +177 -176
  33. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  34. package/dist/forms/generalLegalPopUnder.json +1 -1
  35. package/dist/forms/generalLegalPopUnderTF.es.js +169 -169
  36. package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
  37. package/dist/forms/generalLegalPopUnderTF.json +1 -1
  38. package/dist/forms/generalLegalThankYou.es.js +169 -169
  39. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  40. package/dist/forms/generalLegalThankYou.json +1 -1
  41. package/dist/forms/harassmentAndDiscrimination.es.js +13 -13
  42. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  43. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  44. package/dist/forms/malpractice.es.js +19 -19
  45. package/dist/forms/malpractice.iife.js +1 -1
  46. package/dist/forms/malpractice.json +1 -1
  47. package/dist/forms/mechanics.es.js +2 -2
  48. package/dist/forms/mechanics.iife.js +1 -1
  49. package/dist/forms/realEstate.es.js +169 -169
  50. package/dist/forms/realEstate.iife.js +1 -1
  51. package/dist/forms/realEstate.json +1 -1
  52. package/dist/forms/repossession.es.js +15 -15
  53. package/dist/forms/repossession.iife.js +1 -1
  54. package/dist/forms/repossession.json +1 -1
  55. package/dist/forms/ssdi.es.js +7 -7
  56. package/dist/forms/ssdi.iife.js +1 -1
  57. package/dist/forms/ssdi.json +1 -1
  58. package/dist/forms/testForm.es.js +3 -3
  59. package/dist/forms/testForm.iife.js +1 -1
  60. package/dist/forms/testForm.json +1 -1
  61. package/dist/forms/testRedirects.es.js +2 -2
  62. package/dist/forms/testRedirects.iife.js +1 -1
  63. package/dist/forms/vets.es.js +5 -2
  64. package/dist/forms/vets.iife.js +1 -1
  65. package/dist/forms/vets.json +1 -1
  66. package/dist/forms/willsAndTrusts.es.js +41 -41
  67. package/dist/forms/willsAndTrusts.iife.js +1 -1
  68. package/dist/forms/willsAndTrusts.json +1 -1
  69. package/dist/main.css +1 -1
  70. package/package.json +4 -4
@@ -740,16 +740,16 @@ const amountPaymentsPastDue = () => sbsSelect({
740
740
  ]
741
741
  });
742
742
 
743
- const applicantOccupation = () => sbsText({
743
+ const applicantOccupation = (scope) => sbsText({
744
+ name: scope ? scope + ':' + 'Applicant_Occupation' : 'Applicant_Occupation',
744
745
  label: "What is the Applicant's Occupation?",
745
- name: 'Applicant_Occupation',
746
746
  placeholder: "Occupation"
747
747
  });
748
748
 
749
749
 
750
- const applicantAge = () => sbsSelect({
750
+ const applicantAge = (scope) => sbsSelect({
751
+ name: scope ? scope + ':' + 'Applicant_Age' : 'Applicant_Age',
751
752
  label: 'Age of Applicant?',
752
- name: 'Applicant_Age',
753
753
  options: [
754
754
  "18",
755
755
  "19",
@@ -802,9 +802,9 @@ const applicantAge = () => sbsSelect({
802
802
  ]
803
803
  });
804
804
 
805
- const applicantDisabilityHowObtain = () => sbsSelect({
805
+ const applicantDisabilityHowObtain = (scope) => sbsSelect({
806
+ name: scope ? scope + ':' + 'Applicant_Disability_How_Obtain' : 'Applicant_Disability_How_Obtain',
806
807
  label: 'How Did Applicant Obtain the Disability Policy?',
807
- name: 'Applicant_Disability_How_Obtain',
808
808
  options: [
809
809
  "Employer",
810
810
  "Self",
@@ -812,8 +812,8 @@ const applicantDisabilityHowObtain = () => sbsSelect({
812
812
  ]
813
813
  });
814
814
 
815
- const applicantPreviouslyAppliedLtdBenefits = () => sbsRadio({
816
- name: 'Applicant_Previously_Apply_Ltd_Benefits',
815
+ const applicantPreviouslyAppliedLtdBenefits = (scope) => sbsRadio({
816
+ name: scope ? scope + ':' + 'Applicant_Previously_Apply_Ltd_Benefits' : 'Applicant_Previously_Apply_Ltd_Benefits',
817
817
  label: 'Has Applicant Previously Applied for Long Term Disability Benefits?',
818
818
  options: [
819
819
  "Yes, claim pending",
@@ -822,9 +822,9 @@ const applicantPreviouslyAppliedLtdBenefits = () => sbsRadio({
822
822
  ]
823
823
  });
824
824
 
825
- const applicantMonthlySalary = () => sbsSelect({
825
+ const applicantMonthlySalary = (scope) => sbsSelect({
826
+ name: scope ? scope + ':' + 'Applicant_Monthly_Salary' : 'Applicant_Monthly_Salary',
826
827
  label: "Applicant's Monthly Salary/Pay When Last at Work:",
827
- name: 'Applicant_Monthly_Salary',
828
828
  options: [
829
829
  "< $1,000",
830
830
  "$1,000 - $2,000",
@@ -840,8 +840,8 @@ const applicantMonthlySalary = () => sbsSelect({
840
840
  ]
841
841
  });
842
842
 
843
- const applicantReceivedDisabilityBenefits = () => sbsRadio({
844
- name: 'Applicant_Received_Disability_Benefits',
843
+ const applicantReceivedDisabilityBenefits = (scope) => sbsRadio({
844
+ name: scope ? scope + ':' + 'Applicant_Received_Disability_Benefits' : 'Applicant_Received_Disability_Benefits',
845
845
  label: 'Has Applicant Ever Received Long Term Disability Benefits for this Claim?',
846
846
  options: [
847
847
  "Yes, currently receiving",
@@ -850,13 +850,13 @@ const applicantReceivedDisabilityBenefits = () => sbsRadio({
850
850
  ]
851
851
  });
852
852
 
853
- const applicantLTDisabilityPolicy = () => sbsYesNoRadio({
854
- name: 'Applicant_Lt_Disability_Policy',
853
+ const applicantLTDisabilityPolicy = (scope) => sbsYesNoRadio({
854
+ name: scope ? scope + ':' + 'Applicant_Lt_Disability_Policy' : 'Applicant_Lt_Disability_Policy',
855
855
  label: 'Does Applicant have a Long Term Disability Policy?'
856
856
  });
857
857
 
858
- const atFault = () => sbsYesNoRadio({
859
- name: 'At_Fault',
858
+ const atFault = (scope) => sbsYesNoRadio({
859
+ name: scope ? scope + ':' + 'At_Fault' : 'At_Fault',
860
860
  label: 'Were You at Fault?'
861
861
  });
862
862
 
@@ -869,9 +869,9 @@ const bankruptcyCrossSell = () => sbsCheckbox({
869
869
  helpClass: "!t-text-sm"
870
870
  });
871
871
 
872
- const bloodContentAlcholTest = () => sbsSelect({
872
+ const bloodContentAlcholTest = (scope) => sbsSelect({
873
+ name: scope ? scope + ':' + 'Blood_Alcohol_Content_Test' : 'Blood_Alcohol_Content_Test',
873
874
  label: 'Blood Alcohol Content Measured by Test:',
874
- name: 'Blood_Alcohol_Content_Test',
875
875
  options: [
876
876
  "No Test",
877
877
  "0.00% - 0.04%",
@@ -908,9 +908,9 @@ const businessType = () => sbs2ColRadio({
908
908
  ]
909
909
  });
910
910
 
911
- const causeOfInjury = () => sbsSelect({
911
+ const causeOfInjury = (scope) => sbsSelect({
912
+ name: scope ? scope + ':' + 'Cause_Of_Injury' : 'Cause_Of_Injury',
912
913
  label: 'Cause of Injury:',
913
- name: 'Cause_Of_Injury',
914
914
  options: [
915
915
  "Traumatic Physical Injury (Accident)",
916
916
  "Repeated Trauma Injury",
@@ -975,9 +975,9 @@ const civilRightsType = () => sbsSelect({
975
975
  ]
976
976
  });
977
977
 
978
- const childHome = () => sbsSelect({
978
+ const childHome = (scope) => sbsSelect({
979
+ name: scope ? scope + ':' + 'Child_Home' : 'Child_Home',
979
980
  label: 'With Whom Do the Children Currently Live?',
980
- name: 'Child_Home',
981
981
  options: [
982
982
  'Mother',
983
983
  'Father',
@@ -986,9 +986,9 @@ const childHome = () => sbsSelect({
986
986
  ]
987
987
  });
988
988
 
989
- const childPrimaryCaregiver = () => sbsSelect({
989
+ const childPrimaryCaregiver = (scope) => sbsSelect({
990
+ name: scope ? scope + ':' + 'Child_Primary_Caregiver' : 'Child_Primary_Caregiver',
990
991
  label: 'Who is the Primary Caregiver?',
991
- name: 'Child_Primary_Caregiver',
992
992
  options: [
993
993
  'Mother',
994
994
  'Father',
@@ -996,9 +996,9 @@ const childPrimaryCaregiver = () => sbsSelect({
996
996
  ]
997
997
  });
998
998
 
999
- const childRelationship = () => sbsSelect({
999
+ const childRelationship = (scope) => sbsSelect({
1000
+ name: scope ? scope + ':' + 'Child_Relationship' : 'Child_Relationship',
1000
1001
  label: 'Your Relationship to Child(ren):',
1001
- name: 'Child_Relationship',
1002
1002
  options: [
1003
1003
  'Father',
1004
1004
  'Mother',
@@ -1008,9 +1008,9 @@ const childRelationship = () => sbsSelect({
1008
1008
  ]
1009
1009
  });
1010
1010
 
1011
- const claimStatus = () => sbsSelect({
1011
+ const claimStatus = (scope) => sbsSelect({
1012
+ name: scope ? scope + ':' + 'Claim_Status' : 'Claim_Status',
1012
1013
  label: "Status of Claim:",
1013
- name: 'Claim_Status',
1014
1014
  options: [
1015
1015
  "No action taken yet",
1016
1016
  "Demand for compensation made",
@@ -1045,9 +1045,9 @@ const consumerLawyerType = () => sbsSelect({
1045
1045
  ]
1046
1046
  });
1047
1047
 
1048
- const countryOfCitizenship = () => sbsSelect({
1048
+ const countryOfCitizenship = (scope) => sbsSelect({
1049
+ name: scope ? scope + ':' + 'Country_Of_Citizenship' : 'Country_Of_Citizenship',
1049
1050
  label: 'What is Your Current Country of Citizenship?',
1050
- name: 'Country_Of_Citizenship',
1051
1051
  options: [
1052
1052
  "Afghanistan",
1053
1053
  "Albania",
@@ -1271,10 +1271,10 @@ const criminalChargesFiled = () => sbsRadio({
1271
1271
  ]
1272
1272
  });
1273
1273
 
1274
- const degreeOfInterest = (help) => sbsSelect({
1274
+ const degreeOfInterest = (scope, help) => sbsSelect({
1275
+ name: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
1276
+ id: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
1275
1277
  label: 'How Likely Are You to Pay if Your Issue Could be Resolved?',
1276
- id: 'Degree_Of_Interest',
1277
- name: 'Degree_Of_Interest',
1278
1278
  help: help,
1279
1279
  options: [
1280
1280
  'Definitely',
@@ -1289,7 +1289,7 @@ const defaultNotice = () => sbsYesNoRadio({
1289
1289
  label: 'Have You Received a Notice of Default from the Lender?'
1290
1290
  });
1291
1291
 
1292
- const degreeOfInterestHelp = () => degreeOfInterest('No payment necessary to speak with lawyers.');
1292
+ const degreeOfInterestHelp = (scope) => degreeOfInterest(scope, 'No payment necessary to speak with lawyers.');
1293
1293
 
1294
1294
  const disabilityConditionStopWork = () => sbsYesNoRadio({
1295
1295
  name: 'Disability_Condition_Stop_Work',
@@ -1301,8 +1301,8 @@ const disabilityWorkHistory = () => sbsYesNoRadio({
1301
1301
  label: 'Have You Had a Full-Time Job Within the Past 5 Years?'
1302
1302
  });
1303
1303
 
1304
- const doctorTreatment = () => sbsYesNoRadio({
1305
- name: 'Doctor_Treatment',
1304
+ const doctorTreatment = (scope) => sbsYesNoRadio({
1305
+ name: scope ? scope + ':' + 'Doctor_Treatment' : 'Doctor_Treatment',
1306
1306
  label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?'
1307
1307
  });
1308
1308
 
@@ -1359,9 +1359,9 @@ const employmentAndWorkplaceTOLPDisplay = (updates) => col2Radio(merge({
1359
1359
  ]
1360
1360
  }, updates));
1361
1361
 
1362
- const estateLegalServicesNeeded = () => sbsSelect({
1362
+ const estateLegalServicesNeeded = (scope) => sbsSelect({
1363
+ name: scope ? scope + ':' + 'Estate_Legal_Services_Needed' : 'Estate_Legal_Services_Needed',
1363
1364
  label: "Legal Services Needed for Your Estate:",
1364
- name: 'Estate_Legal_Services_Needed',
1365
1365
  options: [
1366
1366
  "Charitable Giving",
1367
1367
  "Contested Wills",
@@ -1445,13 +1445,13 @@ const generalTOLP = (updates) => sbsSelect(merge({
1445
1445
  ]
1446
1446
  }, updates));
1447
1447
 
1448
- const haveAttorney = () => sbsYesNoRadio({
1449
- name: 'Have_Attorney',
1448
+ const haveAttorney = (scope) => sbsYesNoRadio({
1449
+ name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
1450
1450
  label: 'Already Working with An Attorney?'
1451
1451
  });
1452
1452
 
1453
- const haveChildren = () => sbsYesNoRadio({
1454
- name: 'Have_Children',
1453
+ const haveChildren = (scope) => sbsYesNoRadio({
1454
+ name: scope ? scope + ':' + 'Have_Children' : 'Have_Children',
1455
1455
  label: 'Do You Have Children?'
1456
1456
  });
1457
1457
 
@@ -1460,9 +1460,9 @@ const haveCourtDate = () => sbsYesNoRadio({
1460
1460
  label: 'Do You Have a Court Date?'
1461
1461
  });
1462
1462
 
1463
- const immigrationDetails = () => sbsSelect({
1463
+ const immigrationDetails = (scope) => sbsSelect({
1464
+ name: scope ? scope + ':' + 'Immigration_Details' : 'Immigration_Details',
1464
1465
  label: 'Where is the Person Seeking Immigration Located?',
1465
- name: 'Immigration_Details',
1466
1466
  options: [
1467
1467
  "In the USA with proper documentation",
1468
1468
  "In the USA without proper documentation",
@@ -1474,9 +1474,9 @@ const immigrationDetails = () => sbsSelect({
1474
1474
  ]
1475
1475
  });
1476
1476
 
1477
- const immigrationEntry = () => sbsSelect({
1477
+ const immigrationEntry = (scope) => sbsSelect({
1478
+ name: scope ? scope + ':' + 'Immigration_Entry' : 'Immigration_Entry',
1478
1479
  label: 'How are you Trying to Enter the Country?',
1479
- name: 'Immigration_Entry',
1480
1480
  options: [
1481
1481
  "With Proper Documents/Visa and Inspection through Customs Border Patrol",
1482
1482
  "Illegally",
@@ -1485,18 +1485,18 @@ const immigrationEntry = () => sbsSelect({
1485
1485
  ]
1486
1486
  });
1487
1487
 
1488
- const immigrationLocation = () => sbsSelect({
1488
+ const immigrationLocation = (scope) => sbsSelect({
1489
+ name: scope ? scope + ':' + 'Immigration_Location' : 'Immigration_Location',
1489
1490
  label: 'Where Are You Migrating To?',
1490
- name: 'Immigration_Location',
1491
1491
  options: [
1492
1492
  "In the USA",
1493
1493
  "Outside the USA"
1494
1494
  ]
1495
1495
  });
1496
1496
 
1497
- const immigrationType = () => sbsSelect({
1497
+ const immigrationType = (scope) => sbsSelect({
1498
+ name: scope ? scope + ':' + 'Immigration_Type' : 'Immigration_Type',
1498
1499
  label: 'What Type of Immigration Issue?',
1499
- name: 'Immigration_Type',
1500
1500
  options: [
1501
1501
  "Citizenship (for current green card holders)",
1502
1502
  "Permanent Visa Family Based (green cards)",
@@ -1511,9 +1511,9 @@ const immigrationType = () => sbsSelect({
1511
1511
  ]
1512
1512
  });
1513
1513
 
1514
- const immigrationStatus = () => sbsSelect({
1514
+ const immigrationStatus = (scope) => sbsSelect({
1515
+ name: scope ? scope + ':' + 'Immigration_Status' : 'Immigration_Status',
1515
1516
  label: 'What is the Current Status of the Immigration Case?',
1516
- name: 'Immigration_Status',
1517
1517
  options: [
1518
1518
  "Out of Status (overstayed my visa)",
1519
1519
  "Current Visa Holder (in status)",
@@ -1523,9 +1523,9 @@ const immigrationStatus = () => sbsSelect({
1523
1523
  ]
1524
1524
  });
1525
1525
 
1526
- const incidentDate = () => sbsDate({
1526
+ const incidentDate = (scope) => sbsDate({
1527
+ name: scope ? scope + ':' + 'Incident_Date' : 'Incident_Date',
1527
1528
  label: 'Date of Incident:',
1528
- name: 'Incident_Date'
1529
1529
  });
1530
1530
 
1531
1531
  const lastName = () => sbsText({
@@ -1576,9 +1576,9 @@ const lawsuitOtherParty = () => sbsSelect({
1576
1576
  ]
1577
1577
  });
1578
1578
 
1579
- const lawyerPaymentMethod = () => sbsSelect({
1579
+ const lawyerPaymentMethod = (scope) => sbsSelect({
1580
+ name: scope ? scope + ':' + 'Lawyer_Payment_Method' : 'Lawyer_Payment_Method',
1580
1581
  label: 'How Will You Pay for Legal Fees if You Hire a Lawyer?',
1581
- name: 'Lawyer_Payment_Method',
1582
1582
  help: 'No payment necessary to speak with lawyers.',
1583
1583
  options: [
1584
1584
  'Cash',
@@ -1592,7 +1592,8 @@ const lawyerPaymentMethod = () => sbsSelect({
1592
1592
 
1593
1593
 
1594
1594
  const legalCrossSells$1 = () => col2Checkbox({
1595
- name: 'Legal_Cross_Sells',
1595
+ id: 'Legal_CrossSells',
1596
+ name: 'Legal_CrossSells',
1596
1597
  help: 'Note: just hit "Next" if none apply',
1597
1598
  helpClass: 't-text-center !t-text-sm',
1598
1599
  validation: null,
@@ -1604,7 +1605,7 @@ const legalCrossSells$1 = () => col2Checkbox({
1604
1605
  'Workers Compensation': 'Workplace Injury',
1605
1606
  'Power of Attorney': 'Update Power of Attorney',
1606
1607
  'Divorce and Separation': 'Need a Divorce or Separation',
1607
- 'Immigration and Visas': 'Immigration or Visa Issues'
1608
+ 'Child Custody': 'Need help with Child Custody',
1608
1609
  },
1609
1610
  else: {
1610
1611
  if: '$getVal($get(form), "Type_Of_Legal_Problem") === "Personal Injury" || $getVal($get(form), "Type_Of_Legal_Problem") === "Workers Compensation"',
@@ -1614,7 +1615,7 @@ const legalCrossSells$1 = () => col2Checkbox({
1614
1615
  'Power of Attorney': 'Update Power of Attorney',
1615
1616
  'Divorce and Separation': 'Need a Divorce or Separation',
1616
1617
  'Child Custody': 'Need help with Child Custody',
1617
- 'Immigration and Visas': 'Immigration or Visa Issues'
1618
+ // TODO add one more?
1618
1619
  },
1619
1620
  else: {
1620
1621
  if: '$getVal($get(form), "Type_Of_Legal_Problem") === "DUI and DWI"',
@@ -1624,7 +1625,7 @@ const legalCrossSells$1 = () => col2Checkbox({
1624
1625
  'Long Term Disability': 'Interest in Disability Benefits',
1625
1626
  'Power of Attorney': 'Update Power of Attorney',
1626
1627
  'Divorce and Separation': 'Need a Divorce or Separation',
1627
- 'Immigration and Visas': 'Immigration or Visa Issues'
1628
+ 'Child Custody': 'Need help with Child Custody',
1628
1629
  },
1629
1630
  else: {
1630
1631
  if: '$getVal($get(form), "Type_Of_Legal_Problem") === "Wills and Trusts" || $getVal($get(form), "Type_Of_Legal_Problem") === "Probate and Estates" || $getVal($get(form), "Type_Of_Legal_Problem") === "Power of Attorney"',
@@ -1633,8 +1634,8 @@ const legalCrossSells$1 = () => col2Checkbox({
1633
1634
  'Personal Injury': 'Personal or Workplace Injury',
1634
1635
  'DUI and DWI': 'Charged with a DUI/DWI',
1635
1636
  'Long Term Disability': 'Interest in Disability Benefits',
1637
+ 'Divorce and Separation': 'Need a Divorce or Separation',
1636
1638
  'Child Custody': 'Need help with Child Custody',
1637
- 'Immigration and Visas': 'Immigration or Visa Issues'
1638
1639
  },
1639
1640
  else: {
1640
1641
  if: '$getVal($get(form), "Type_Of_Legal_Problem") === "Long Term Disability" || $getVal($get(form), "Type_Of_Legal_Problem") === "Social Security Disability and Insurance"',
@@ -1644,7 +1645,7 @@ const legalCrossSells$1 = () => col2Checkbox({
1644
1645
  'Wills and Trusts': 'Need a Will or Trust',
1645
1646
  'Power of Attorney': 'Update Power of Attorney',
1646
1647
  'Divorce and Separation': 'Need a Divorce or Separation',
1647
- 'Immigration and Visas': 'Immigration or Visa Issues'
1648
+ 'Child Custody': 'Need help with Child Custody',
1648
1649
  },
1649
1650
  else: {
1650
1651
  'Auto and Car Accidents': 'Injured in a Car Accident',
@@ -1678,9 +1679,9 @@ const loanAmount = () => sbsSelect({
1678
1679
  ]
1679
1680
  });
1680
1681
 
1681
- const maritalStatus = () => sbsSelect({
1682
+ const maritalStatus = (scope) => sbsSelect({
1683
+ name: scope ? scope + ':' + 'Marital_Status' : 'Marital_Status',
1682
1684
  label: 'Marital Status:',
1683
- name: 'Marital_Status',
1684
1685
  options: [
1685
1686
  'Unmarried, Living Together',
1686
1687
  'Unmarried, Do Not Live Together',
@@ -1763,8 +1764,8 @@ const patentFor = () => sbsSelect({
1763
1764
  ]
1764
1765
  });
1765
1766
 
1766
- const pendingCharges = () => sbsYesNoRadio({
1767
- name: 'Pending_Charges',
1767
+ const pendingCharges = (scope) => sbsYesNoRadio({
1768
+ name: scope ? scope + ':' + 'Pending_Charges' : 'Pending_Charges',
1768
1769
  label: 'Do you currently have any pending charges?'
1769
1770
  });
1770
1771
 
@@ -1786,9 +1787,9 @@ const phone = () => sbsText({
1786
1787
  helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]"
1787
1788
  });
1788
1789
 
1789
- const primaryInjury = () => sbs2ColRadio({
1790
+ const primaryInjury = (scope) => sbs2ColRadio({
1791
+ name: scope ? scope + ':' + 'Primary_Injury' : 'Primary_Injury',
1790
1792
  label: 'Primary Injury:',
1791
- name: 'Primary_Injury',
1792
1793
  options: [
1793
1794
  "Anxiety",
1794
1795
  "Back or Neck Pain",
@@ -1801,13 +1802,13 @@ const primaryInjury = () => sbs2ColRadio({
1801
1802
  ]
1802
1803
  });
1803
1804
 
1804
- const priorAlcoholOffenses = () => sbsYesNoRadio({
1805
- name: 'Prior_Alcohol_Offenses',
1805
+ const priorAlcoholOffenses = (scope) => sbsYesNoRadio({
1806
+ name: scope ? scope + ':' + 'Prior_Alcohol_Offenses' : 'Prior_Alcohol_Offenses',
1806
1807
  label: 'Any Prior Alcohol Related Offenses?'
1807
1808
  });
1808
1809
 
1809
- const policeReportFiled = () => sbsYesNoRadio({
1810
- name: 'Police_Report_Filed',
1810
+ const policeReportFiled = (scope) => sbsYesNoRadio({
1811
+ name: scope ? scope + ':' + 'Police_Report_Filed' : 'Police_Report_Filed',
1811
1812
  label: 'Was a Police Report Filed?'
1812
1813
  });
1813
1814
 
@@ -1866,9 +1867,9 @@ const roleInMatterCriminal = () => sbsRadio({
1866
1867
  ]
1867
1868
  });
1868
1869
 
1869
- const roleInMatterProbate = () => sbsSelect({
1870
+ const roleInMatterProbate = (scope) => sbsSelect({
1871
+ name: scope ? scope + ':' + 'Role_In_Matter_Probate' : 'Role_In_Matter_Probate',
1870
1872
  label: "What Is Your Role in this Matter?",
1871
- name: 'Role_In_Matter_Probate',
1872
1873
  options: [
1873
1874
  "Preparing My Will",
1874
1875
  "Executor",
@@ -1961,9 +1962,9 @@ const TCPAConsent = () => ({
1961
1962
  }
1962
1963
  });
1963
1964
 
1964
- const typeOfAlcoholTest = () => sbsSelect({
1965
+ const typeOfAlcoholTest = (scope) => sbsSelect({
1966
+ name: scope ? scope + ':' + 'Type_Of_Alcohol_Test' : 'Type_Of_Alcohol_Test',
1965
1967
  label: 'Type of Alcohol Test Performed?',
1966
- name: 'Type_Of_Alcohol_Test',
1967
1968
  options: [
1968
1969
  "No Test",
1969
1970
  "Refused Test",
@@ -1974,9 +1975,9 @@ const typeOfAlcoholTest = () => sbsSelect({
1974
1975
  ]
1975
1976
  });
1976
1977
 
1977
- const typeOfAssets = () => col2Checkbox({
1978
+ const typeOfAssets = (scope) => col2Checkbox({
1979
+ name: scope ? scope + ':' + 'Type_Of_Assets' : 'Type_Of_Assets',
1978
1980
  label: 'Type of Assets:',
1979
- name: 'Type_Of_Assets',
1980
1981
  options: [
1981
1982
  "Business Interests",
1982
1983
  "Cash",
@@ -2025,9 +2026,9 @@ const trafficViolations = () => sbsSelect({
2025
2026
  ]
2026
2027
  });
2027
2028
 
2028
- const valueOfAssets = () => sbsSelect({
2029
+ const valueOfAssets = (scope) => sbsSelect({
2030
+ name: scope ? scope + ':' + 'Value_Of_Assets' : 'Value_Of_Assets',
2029
2031
  label: 'Value of Your Assets?',
2030
- name: 'Value_Of_Assets',
2031
2032
  options: [
2032
2033
  "Less than 50K",
2033
2034
  "50K to 100K",
@@ -2156,17 +2157,17 @@ const AsbestosAndMesotheliomaQuestions = () => group(
2156
2157
  }
2157
2158
  );
2158
2159
 
2159
- const AutoAndCarAccidentsQuestions = () => group(
2160
+ const AutoAndCarAccidentsQuestions = (condition, scope) => group(
2160
2161
  'AutoAndCarAccidentsQuestions',
2161
2162
  {
2162
- if: '$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',
2163
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"'),
2163
2164
  children: [
2164
- haveAttorney(),
2165
- incidentDate(),
2166
- atFault(),
2167
- primaryInjury(),
2168
- doctorTreatment(),
2169
- policeReportFiled()
2165
+ haveAttorney(scope),
2166
+ incidentDate(scope),
2167
+ atFault(scope),
2168
+ primaryInjury(scope),
2169
+ doctorTreatment(scope),
2170
+ policeReportFiled(scope)
2170
2171
  ]
2171
2172
  }
2172
2173
  );
@@ -2211,32 +2212,32 @@ const BusinessLawyersQuestions = () => group(
2211
2212
  }
2212
2213
  );
2213
2214
 
2214
- const ChildCustodyAndSupportQuestions = () => group(
2215
+ const ChildCustodyAndSupportQuestions = (condition, scope) => group(
2215
2216
  'ChildCustodyAndSupportQuestions',
2216
2217
  {
2217
- if: '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',
2218
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"'),
2218
2219
  children: [
2219
- haveAttorney(),
2220
- childRelationship(),
2221
- childHome(),
2222
- childPrimaryCaregiver(),
2223
- degreeOfInterest(),
2224
- lawyerPaymentMethod()
2220
+ haveAttorney(scope),
2221
+ childRelationship(scope),
2222
+ childHome(scope),
2223
+ childPrimaryCaregiver(scope),
2224
+ degreeOfInterest(scope),
2225
+ lawyerPaymentMethod(scope)
2225
2226
  ]
2226
2227
  }
2227
2228
  );
2228
2229
 
2229
- const ChildCustodyQuestions = () => group(
2230
+ const ChildCustodyQuestions = (condition, scope) => group(
2230
2231
  'ChildCustodyQuestions',
2231
2232
  {
2232
- if: '$get(Type_Of_Legal_Problem).value == "Child Custody"',
2233
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody"'),
2233
2234
  children: [
2234
- haveAttorney(),
2235
- childRelationship(),
2236
- childHome(),
2237
- childPrimaryCaregiver(),
2238
- degreeOfInterest(),
2239
- lawyerPaymentMethod()
2235
+ haveAttorney(scope),
2236
+ childRelationship(scope),
2237
+ childHome(scope),
2238
+ childPrimaryCaregiver(scope),
2239
+ degreeOfInterest(scope),
2240
+ lawyerPaymentMethod(scope)
2240
2241
  ]
2241
2242
  }
2242
2243
  );
@@ -2373,32 +2374,32 @@ const DebtAndCollectionsQuestions = () => group(
2373
2374
  }
2374
2375
  );
2375
2376
 
2376
- const DivorceQuestions = () => group(
2377
+ const DivorceQuestions = (condition, scope) => group(
2377
2378
  'DivorceQuestions',
2378
2379
  {
2379
- if: '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',
2380
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"'),
2380
2381
  children: [
2381
- haveAttorney(),
2382
- maritalStatus(),
2383
- haveChildren(),
2384
- degreeOfInterest(),
2385
- lawyerPaymentMethod()
2382
+ haveAttorney(scope),
2383
+ maritalStatus(scope),
2384
+ haveChildren(scope),
2385
+ degreeOfInterest(scope),
2386
+ lawyerPaymentMethod(scope)
2386
2387
  ]
2387
2388
  }
2388
2389
  );
2389
2390
 
2390
- const DUIAndDWIQuestions = () => group(
2391
+ const DUIAndDWIQuestions = (condition, scope) => group(
2391
2392
  'DUIAndDWIQuestions',
2392
2393
  {
2393
- if: '$get(Type_Of_Legal_Problem).value == "DUI and DWI"',
2394
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "DUI and DWI"'),
2394
2395
  children: [
2395
- haveAttorney(),
2396
- incidentDate(),
2397
- priorAlcoholOffenses(),
2398
- typeOfAlcoholTest(),
2399
- bloodContentAlcholTest(),
2400
- pendingCharges(),
2401
- degreeOfInterestHelp()
2396
+ haveAttorney(scope),
2397
+ incidentDate(scope),
2398
+ priorAlcoholOffenses(scope),
2399
+ typeOfAlcoholTest(scope),
2400
+ bloodContentAlcholTest(scope),
2401
+ pendingCharges(scope),
2402
+ degreeOfInterestHelp(scope)
2402
2403
  ]
2403
2404
  }
2404
2405
  );
@@ -2544,19 +2545,19 @@ const IdentityTheftQuestions = () => group(
2544
2545
  }
2545
2546
  );
2546
2547
 
2547
- const ImmigrationAndVisasQuestions = () => group(
2548
+ const ImmigrationAndVisasQuestions = (condition, scope) => group(
2548
2549
  'ImmigrationAndVisasQuestions',
2549
2550
  {
2550
- if: '$get(Type_Of_Legal_Problem).value == "Immigration and Visas"',
2551
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Immigration and Visas"'),
2551
2552
  children: [
2552
- haveAttorney(),
2553
- countryOfCitizenship(),
2554
- immigrationLocation(),
2555
- immigrationEntry(),
2556
- immigrationType(),
2557
- immigrationStatus(),
2558
- immigrationDetails(),
2559
- degreeOfInterestHelp()
2553
+ haveAttorney(scope),
2554
+ countryOfCitizenship(scope),
2555
+ immigrationLocation(scope),
2556
+ immigrationEntry(scope),
2557
+ immigrationType(scope),
2558
+ immigrationStatus(scope),
2559
+ immigrationDetails(scope),
2560
+ degreeOfInterestHelp(scope)
2560
2561
  ]
2561
2562
  }
2562
2563
  );
@@ -2597,19 +2598,19 @@ const LemonLawQuestions = () => group(
2597
2598
  }
2598
2599
  );
2599
2600
 
2600
- const LongTermDisabilityQuestions = () => group(
2601
+ const LongTermDisabilityQuestions = (condition, scope) => group(
2601
2602
  'LongTermDisabilityQuestions',
2602
2603
  {
2603
- if: '$get(Type_Of_Legal_Problem).value == "Long Term Disability"',
2604
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Long Term Disability"'),
2604
2605
  children: [
2605
- haveAttorney(),
2606
- applicantOccupation(),
2607
- applicantAge(),
2608
- applicantLTDisabilityPolicy(),
2609
- applicantDisabilityHowObtain(),
2610
- applicantPreviouslyAppliedLtdBenefits(),
2611
- applicantReceivedDisabilityBenefits(),
2612
- applicantMonthlySalary()
2606
+ haveAttorney(scope),
2607
+ applicantOccupation(scope),
2608
+ applicantAge(scope),
2609
+ applicantLTDisabilityPolicy(scope),
2610
+ applicantDisabilityHowObtain(scope),
2611
+ applicantPreviouslyAppliedLtdBenefits(scope),
2612
+ applicantReceivedDisabilityBenefits(scope),
2613
+ applicantMonthlySalary(scope)
2613
2614
  ]
2614
2615
  }
2615
2616
  );
@@ -2654,28 +2655,28 @@ const PatentsAndIntellectualPropertyQuestions = () => group(
2654
2655
  }
2655
2656
  );
2656
2657
 
2657
- const PersonalInjuryQuestions = () => group(
2658
+ const PersonalInjuryQuestions = (condition, scope) => group(
2658
2659
  'PersonalInjuryQuestions',
2659
2660
  {
2660
- if: '$get(Type_Of_Legal_Problem).value == "Personal Injury"',
2661
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Personal Injury"'),
2661
2662
  children: [
2662
- haveAttorney(),
2663
- incidentDate(),
2664
- claimStatus(),
2665
- atFault(),
2666
- primaryInjury(),
2667
- doctorTreatment()
2663
+ haveAttorney(scope),
2664
+ incidentDate(scope),
2665
+ claimStatus(scope),
2666
+ atFault(scope),
2667
+ primaryInjury(scope),
2668
+ doctorTreatment(scope)
2668
2669
  ]
2669
2670
  }
2670
2671
  );
2671
2672
 
2672
- const PowerofAttorneyQuestions = () => group(
2673
+ const PowerofAttorneyQuestions = (condition, scope) => group(
2673
2674
  'PowerofAttorneyQuestions',
2674
2675
  {
2675
- if: '$get(Type_Of_Legal_Problem).value == "Power of Attorney"',
2676
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Power of Attorney"'),
2676
2677
  children: [
2677
- haveAttorney(),
2678
- degreeOfInterestHelp()
2678
+ haveAttorney(scope),
2679
+ degreeOfInterestHelp(scope)
2679
2680
  ]
2680
2681
  }
2681
2682
  );
@@ -2827,32 +2828,32 @@ const VictimOfACrimeQuestions = () => group(
2827
2828
  }
2828
2829
  );
2829
2830
 
2830
- const WillsAndTrustsQuestions = () => group(
2831
+ const WillsAndTrustsQuestions = (condition, scope) => group(
2831
2832
  'WillsAndTrustsQuestions',
2832
2833
  {
2833
- if: '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',
2834
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"'),
2834
2835
  children: [
2835
- haveAttorney(),
2836
- valueOfAssets(),
2837
- typeOfAssets(),
2838
- roleInMatterProbate(),
2839
- estateLegalServicesNeeded(),
2840
- degreeOfInterestHelp()
2836
+ haveAttorney(scope),
2837
+ valueOfAssets(scope),
2838
+ typeOfAssets(scope),
2839
+ roleInMatterProbate(scope),
2840
+ estateLegalServicesNeeded(scope),
2841
+ degreeOfInterestHelp(scope)
2841
2842
  ]
2842
2843
  }
2843
2844
  );
2844
2845
 
2845
- const WorkersCompensationQuestions = () => group(
2846
+ const WorkersCompensationQuestions = (condition, scope) => group(
2846
2847
  'WorkersCompensationQuestions',
2847
2848
  {
2848
- if: '$get(Type_Of_Legal_Problem).value == "Workers Compensation"',
2849
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Workers Compensation"'),
2849
2850
  children: [
2850
- haveAttorney(),
2851
- incidentDate(),
2852
- claimStatus(),
2853
- primaryInjury(),
2854
- causeOfInjury(),
2855
- doctorTreatment()
2851
+ haveAttorney(scope),
2852
+ incidentDate(scope),
2853
+ claimStatus(scope),
2854
+ primaryInjury(scope),
2855
+ causeOfInjury(scope),
2856
+ doctorTreatment(scope)
2856
2857
  ]
2857
2858
  }
2858
2859
  );
@@ -2934,9 +2935,29 @@ const stepDefaults = (step) => ({
2934
2935
  function questionsStepHeadline(updates) {
2935
2936
  return {
2936
2937
  $el: 'h3',
2937
- children: updates.headline || 'Tell Us About Your Case',
2938
+ children: updates.headline || 'Tell Us About Your Situation',
2939
+ attrs: {
2940
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1'
2941
+ }
2942
+ }
2943
+ }
2944
+
2945
+ function crossSellQuestionsStepHeadline(updates) {
2946
+ return {
2947
+ $el: 'h3',
2948
+ children: updates.headline || 'Tell Us About Your Situation',
2938
2949
  attrs: {
2939
- class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3'
2950
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1'
2951
+ }
2952
+ }
2953
+ }
2954
+
2955
+ function crossSellQuestionsStepSubHeadline(updates) {
2956
+ return {
2957
+ $el: 'h5',
2958
+ children: updates.subheadline || 'Tell us about your situation:',
2959
+ attrs: {
2960
+ class: 't-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3'
2940
2961
  }
2941
2962
  }
2942
2963
  }
@@ -2947,7 +2968,7 @@ function commentsStepHeadline(updates) {
2947
2968
  $el: 'h3',
2948
2969
  children: updates.headline || 'Additional Case Details',
2949
2970
  attrs: {
2950
- class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3' + ' ' + (updates.headlineClass || '')
2971
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1' + ' ' + (updates.headlineClass || '')
2951
2972
  }
2952
2973
  }
2953
2974
  }
@@ -2957,7 +2978,7 @@ function firstAndLastStepHeadline(updates) {
2957
2978
  $el: 'h3',
2958
2979
  children: updates.headline || 'Please Provide a Contact Name',
2959
2980
  attrs: {
2960
- class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3' + ' ' + (updates.headlineClass || '')
2981
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1' + ' ' + (updates.headlineClass || '')
2961
2982
  }
2962
2983
  }
2963
2984
  }
@@ -2967,7 +2988,7 @@ function legalCrossSellsStepHeadline(updates) {
2967
2988
  $el: 'h3',
2968
2989
  children: updates.headline || 'Do any of the following situations apply?',
2969
2990
  attrs: {
2970
- class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3' + ' ' + (updates.headlineClass || '')
2991
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1' + ' ' + (updates.headlineClass || '')
2971
2992
  }
2972
2993
  }
2973
2994
  }
@@ -2977,7 +2998,7 @@ function contactStepHeadline(updates) {
2977
2998
  $el: 'h3',
2978
2999
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
2979
3000
  attrs: {
2980
- class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-3'
3001
+ class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1'
2981
3002
  }
2982
3003
  }
2983
3004
  }
@@ -3024,10 +3045,10 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false) {
3024
3045
  }
3025
3046
  if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
3026
3047
  const lastInput = findLastInput(inputs[inputs.length - 1]);
3027
- if (nextOnEnter === true) {
3048
+ if (lastInput && nextOnEnter === true) {
3028
3049
  lastInput.onKeypress = NEXT_ON_ENTER;
3029
3050
  }
3030
- if (nextOnInput === true) {
3051
+ if (lastInput && nextOnInput === true) {
3031
3052
  lastInput.onInput = NEXT_ON_INPUT;
3032
3053
  }
3033
3054
  }
@@ -3185,6 +3206,110 @@ function generalLegalTOLPQuestions(updates = {}) {
3185
3206
  )
3186
3207
  }
3187
3208
 
3209
+
3210
+ function autoAndCarAccidentCrossSellQuestions(updates = {}) {
3211
+ return step(
3212
+ 'autoAndCarAccidentCrossSellQuestions',
3213
+ [
3214
+ crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Compensation' }),
3215
+ crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your accident:' }),
3216
+ AutoAndCarAccidentsQuestions("true", 'CrossSell:Auto_and_Car_Accidents'),
3217
+ ],
3218
+ updates.nextOnEnter
3219
+ )
3220
+ }
3221
+
3222
+ function childCustodyCrossSellQuestions(updates = {}) {
3223
+ return step(
3224
+ 'childCustodyCrossSellQuestions',
3225
+ [
3226
+ crossSellQuestionsStepHeadline({ headline: 'Child Custody Information' }),
3227
+ ChildCustodyQuestions("true", 'CrossSell:Child_Custody'),
3228
+ ],
3229
+ updates.nextOnEnter
3230
+ )
3231
+ }
3232
+
3233
+ function divorceAndSeparationCrossSellQuestions(updates = {}) {
3234
+ return step(
3235
+ 'divorceAndSeparationCrossSellQuestions',
3236
+ [
3237
+ crossSellQuestionsStepHeadline({ headline: 'Divorce or Separation Information' }),
3238
+ DivorceQuestions("true", 'CrossSell:Divorce_and_Separation'),
3239
+ ],
3240
+ updates.nextOnEnter
3241
+ )
3242
+ }
3243
+
3244
+ function duiAndDWICrossSellQuestions(updates = {}) {
3245
+ return step(
3246
+ 'duiAndDWICrossSellQuestions',
3247
+ [
3248
+ crossSellQuestionsStepHeadline({ headline: 'About Your DUI/DWI' }),
3249
+ DUIAndDWIQuestions("true", 'CrossSell:DUI_and_DWI'),
3250
+ ],
3251
+ updates.nextOnEnter
3252
+ )
3253
+ }
3254
+
3255
+ function longTermDisabilityCrossSellQuestions(updates = {}) {
3256
+ return step(
3257
+ 'longTermDisabilityCrossSellQuestions',
3258
+ [
3259
+ crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Benefits' }),
3260
+ crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your disability:' }),
3261
+ LongTermDisabilityQuestions("true", 'CrossSell:Long_Term_Disability'),
3262
+ ],
3263
+ updates.nextOnEnter
3264
+ )
3265
+ }
3266
+
3267
+ function personalInjuryCrossSellQuestions(updates = {}) {
3268
+ return step(
3269
+ 'personalInjuryCrossSellQuestions',
3270
+ [
3271
+ crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Compensation' }),
3272
+ crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your injury:' }),
3273
+ PersonalInjuryQuestions("true", 'CrossSell:Personal_Injury'),
3274
+ ],
3275
+ updates.nextOnEnter
3276
+ )
3277
+ }
3278
+
3279
+ function powerOfAttorneyCrossSellQuestions(updates = {}) {
3280
+ return step(
3281
+ 'powerOfAttorneyCrossSellQuestions',
3282
+ [
3283
+ crossSellQuestionsStepHeadline({ headline: 'Power of Attorney Information' }),
3284
+ PowerofAttorneyQuestions("true", 'CrossSell:Power_of_Attorney'),
3285
+ ],
3286
+ updates.nextOnEnter
3287
+ )
3288
+ }
3289
+
3290
+ function willsAndTrustsCrossSellQuestions(updates = {}) {
3291
+ return step(
3292
+ 'willsAndTrustsCrossSellQuestions',
3293
+ [
3294
+ crossSellQuestionsStepHeadline({ headline: 'Will or Trust Information' }),
3295
+ WillsAndTrustsQuestions("true", 'CrossSell:Wills_and_Trusts'),
3296
+ ],
3297
+ updates.nextOnEnter
3298
+ )
3299
+ }
3300
+
3301
+ function workersCompensationCrossSellQuestions(updates = {}) {
3302
+ return step(
3303
+ 'workersCompensationCrossSellQuestions',
3304
+ [
3305
+ crossSellQuestionsStepHeadline({ headline: 'You May Be Entitled To Benefits' }),
3306
+ crossSellQuestionsStepSubHeadline({ subheadline: 'Tell us about your injury:' }),
3307
+ WorkersCompensationQuestions("true", 'CrossSell:Workers_Compensation'),
3308
+ ],
3309
+ updates.nextOnEnter
3310
+ )
3311
+ }
3312
+
3188
3313
  function legalCrossSells(updates = {}) {
3189
3314
  return step(
3190
3315
  'legalCrossSells',
@@ -3312,6 +3437,15 @@ const schema = [
3312
3437
  nextOnEnter: false
3313
3438
  }),
3314
3439
  legalCrossSells(),
3440
+ autoAndCarAccidentCrossSellQuestions(),
3441
+ personalInjuryCrossSellQuestions(),
3442
+ workersCompensationCrossSellQuestions(),
3443
+ duiAndDWICrossSellQuestions(),
3444
+ longTermDisabilityCrossSellQuestions(),
3445
+ powerOfAttorneyCrossSellQuestions(),
3446
+ willsAndTrustsCrossSellQuestions(),
3447
+ divorceAndSeparationCrossSellQuestions(),
3448
+ childCustodyCrossSellQuestions(),
3315
3449
  firstAndLastV2(),
3316
3450
  contactInfoV2({
3317
3451
  nextOnEnter: false