bhl-forms 0.0.86 → 0.1.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 (39) hide show
  1. package/dist/bhl-forms.iife.js +1 -1
  2. package/dist/bhl-forms.modern.iife.js +1 -1
  3. package/dist/bhl-forms.modern.umd.js +1 -1
  4. package/dist/bhl-forms.umd.js +1 -1
  5. package/dist/forms/childAndFamily.es.js +170 -88
  6. package/dist/forms/childAndFamily.iife.js +1 -1
  7. package/dist/forms/childAndFamily.json +1 -1
  8. package/dist/forms/civilLawsuit.es.js +281 -1544
  9. package/dist/forms/civilLawsuit.iife.js +1 -1
  10. package/dist/forms/civilLawsuit.json +1 -1
  11. package/dist/forms/criminal.es.js +414 -78
  12. package/dist/forms/criminal.iife.js +1 -1
  13. package/dist/forms/criminal.json +1 -1
  14. package/dist/forms/employmentAndWorkplace.es.js +1372 -0
  15. package/dist/forms/employmentAndWorkplace.iife.js +1 -0
  16. package/dist/forms/employmentAndWorkplace.json +1 -0
  17. package/dist/forms/generalLegal.es.js +365 -81
  18. package/dist/forms/generalLegal.iife.js +1 -1
  19. package/dist/forms/generalLegal.json +1 -1
  20. package/dist/forms/generalLegalPopUnder.es.js +365 -81
  21. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  22. package/dist/forms/generalLegalPopUnder.json +1 -1
  23. package/dist/forms/generalLegalPopUnderTF.es.js +337 -103
  24. package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
  25. package/dist/forms/generalLegalPopUnderTF.json +1 -1
  26. package/dist/forms/harassmentAndDiscrimination.es.js +1092 -0
  27. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -0
  28. package/dist/forms/harassmentAndDiscrimination.json +1 -0
  29. package/dist/forms/realEstate.es.js +403 -76
  30. package/dist/forms/realEstate.iife.js +1 -1
  31. package/dist/forms/realEstate.json +1 -1
  32. package/dist/forms/testForm.es.js +278 -23
  33. package/dist/forms/testForm.iife.js +1 -1
  34. package/dist/forms/testForm.json +1 -1
  35. package/dist/forms/willsAndTrusts.es.js +1271 -0
  36. package/dist/forms/willsAndTrusts.iife.js +1 -0
  37. package/dist/forms/willsAndTrusts.json +1 -0
  38. package/dist/main.css +1 -1
  39. package/package.json +1 -1
@@ -8,13 +8,21 @@ function JALegalUrl(pageId) {
8
8
 
9
9
  var TCPA_LANGUAGE = "By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.";
10
10
 
11
+ const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC = '$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
12
+ const DEFAULT_COMMENTS_LABEL = 'Please briefly describe your legal issue in a few words:';
13
+ const DEFAULT_FINAL_HEADLINE = 'Submit Your Case';
14
+ const DEFAULT_FINAL_HEADLINE_DYNAMIC = '$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
15
+ const DEFAULT_FINAL_SUBHEADLINE = 'You may benefit from speaking with a legal professional. Please verify your contact information.';
16
+ const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC = '$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
17
+
11
18
  const formPropDefaults = {
12
19
  type: 'form',
13
20
  id: 'form',
14
21
  config: { validationVisibility: 'submit' },
15
- onSubmit: '$submit("https://httpbin.org/post", $prepData, $handleRedirect, "text/plain; charset=UTF-8")',
22
+ onSubmit: '$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',
16
23
  plugins: '$plugins',
17
24
  actions: false,
25
+ anchorElement: 'form-anchor',
18
26
  prepop: {
19
27
  fromURL: true
20
28
  },
@@ -49,6 +57,18 @@ function metaProps(updates) {
49
57
  }
50
58
  }
51
59
 
60
+ function defaultMetaProps() {
61
+ return metaProps({
62
+ defaultCommentsPlaceholder: DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
63
+ commentsPlaceholders: TOLPCommentsPlaceholders,
64
+ defaultFinalHeadline: DEFAULT_FINAL_HEADLINE,
65
+ finalHeadlines: TOLPFinalHeadlines,
66
+ defaultFinalSubHeadline: DEFAULT_FINAL_SUBHEADLINE,
67
+ finalSubHeadlines: TOLPFinalSubHeadlines,
68
+ trustedFormTOLPs: trustedFormTOLPs
69
+ })
70
+ }
71
+
52
72
  const formAnchorDefaults = {
53
73
  $el: 'div',
54
74
  children: [
@@ -94,7 +114,6 @@ const subHeadlineDefaults = {
94
114
  }
95
115
  };
96
116
 
97
-
98
117
  function subHeadline(updates) {
99
118
  return merge(
100
119
  subHeadlineDefaults,
@@ -102,6 +121,13 @@ function subHeadline(updates) {
102
121
  )
103
122
  }
104
123
 
124
+ function defaultSubHeadline() {
125
+ return subHeadline({
126
+ children: '$urlParam("shl", "Our Service is Fast and Free!")',
127
+ if: '$activeStep === $firstStep()'
128
+ })
129
+ }
130
+
105
131
  const secureIconDefault = {
106
132
  $el: 'div',
107
133
  if: '$activeStep === $lastStep()',
@@ -174,7 +200,11 @@ const legalRedirectMapDefaults = {
174
200
  'Adoption': JALegalUrl('565949'),
175
201
  'Bankruptcy': JALegalUrl('1147978'),
176
202
  'Child Custody and Support': JALegalUrl('565949'),
203
+ 'Child Custody': JALegalUrl('565949'),
204
+ 'Child Support': JALegalUrl('565949'),
177
205
  'Civil Lawsuit': JALegalUrl('897042'),
206
+ 'File a Lawsuit': JALegalUrl('897042'),
207
+ 'Defend a Lawsuit': JALegalUrl('897042'),
178
208
  'Consumer Lawyers': JALegalUrl('897042'),
179
209
  'Criminal and Felony': JALegalUrl('897012'),
180
210
  'Debt and Collections': JALegalUrl('1147978'),
@@ -211,21 +241,22 @@ function legalRedirectMap(updates) {
211
241
  )
212
242
  }
213
243
 
214
- const legalCivilValueOverrideMap = {
244
+ const legalAllValueOverrideMap = {
215
245
  'Civil_Defense': {
216
246
  'Yes': {
217
- 'Type_Of_Legal_Problem': 'Civil Lawsuit'
247
+ 'Type_Of_Legal_Problem': 'Defend a Lawsuit'
218
248
  }
219
249
  },
220
250
  'Type_Of_Legal_Problem_Display': {
251
+ // Civil
221
252
  'Automobile Accident': {
222
253
  'Type_Of_Legal_Problem': 'Auto and Car Accidents'
223
254
  },
224
255
  'Contract Disputes': {
225
- 'Type_Of_Legal_Problem': 'Consumer Lawyers'
256
+ 'Type_Of_Legal_Problem': 'Business Lawyers'
226
257
  },
227
258
  'Defamation and Slander': {
228
- 'Type_Of_Legal_Problem': 'Consumer Lawyers'
259
+ 'Type_Of_Legal_Problem': 'File a Lawsuit'
229
260
  },
230
261
  'Dog Bite': {
231
262
  'Type_Of_Legal_Problem': 'Personal Injury'
@@ -246,18 +277,86 @@ const legalCivilValueOverrideMap = {
246
277
  'Type_Of_Legal_Problem': 'Property Damage'
247
278
  },
248
279
  'Small Claims': {
249
- 'Type_Of_Legal_Problem': 'Consumer Lawyers'
280
+ 'Type_Of_Legal_Problem': 'File a Lawsuit'
250
281
  },
251
282
  'Real Estate': {
252
283
  'Type_Of_Legal_Problem': 'Real Estate'
253
284
  },
254
285
  'Other (describe on next page)': {
255
286
  'Type_Of_Legal_Problem': 'Not Sure or Other'
287
+ },
288
+ // Criminal
289
+ 'Criminal Defense': {
290
+ 'Type_Of_Legal_Problem': 'Criminal and Felony'
291
+ },
292
+ 'Victim of a Crime': {
293
+ 'Type_Of_Legal_Problem': 'Victim of a Crime'
294
+ },
295
+ 'DUI and DWI': {
296
+ 'Type_Of_Legal_Problem': 'DUI and DWI'
297
+ },
298
+ 'Expungement': {
299
+ 'Type_Of_Legal_Problem': 'Expungement'
300
+ },
301
+ 'Harassment': {
302
+ 'Type_Of_Legal_Problem': 'Criminal and Felony'
303
+ },
304
+ 'Not Sure or Other': {
305
+ 'Type_Of_Legal_Problem': 'Not Sure or Other'
306
+ },
307
+ // Employment and Workplace
308
+ 'Workplace Harassment': {
309
+ 'Type_Of_Legal_Problem': 'Workplace Harassment'
310
+ },
311
+ 'Workplace Discrimination': {
312
+ 'Type_Of_Legal_Problem': 'Workplace Discrimination'
313
+ },
314
+ 'Wrongful Termination': {
315
+ 'Type_Of_Legal_Problem': 'Wrongful Termination'
316
+ },
317
+ 'Payment Disputes': {
318
+ 'Type_Of_Legal_Problem': 'Employment and Workplace'
319
+ },
320
+ 'Workers Compensation': {
321
+ 'Type_Of_Legal_Problem': 'Workers Compensation'
322
+ },
323
+ 'Unemployment': {
324
+ 'Type_Of_Legal_Problem': 'Unemployment'
325
+ },
326
+ 'Other Workplace Issues': {
327
+ 'Type_Of_Legal_Problem': 'Employment and Workplace'
328
+ },
329
+ // Real Estate
330
+ 'Contracts and Agreements': {
331
+ 'Type_Of_Legal_Problem': 'Real Estate'
332
+ },
333
+ 'Deeds, Liens, and Titles': {
334
+ 'Type_Of_Legal_Problem': 'Real Estate'
335
+ },
336
+ 'Foreclosure': {
337
+ 'Type_Of_Legal_Problem': 'Foreclosure'
338
+ },
339
+ 'Insurance': {
340
+ 'Type_Of_Legal_Problem': 'Insurance'
341
+ },
342
+ 'Landlord and Tenant': {
343
+ 'Type_Of_Legal_Problem': 'Landlord and Tenant',
344
+ },
345
+ 'Loans and Mortgages': {
346
+ 'Type_Of_Legal_Problem': 'Real Estate',
347
+ },
348
+ 'Wills, Trusts, and Estates': {
349
+ 'Type_Of_Legal_Problem': 'Wills and Trusts'
350
+ },
351
+ 'Property Damage': {
352
+ 'Type_Of_Legal_Problem': 'Property Damage'
353
+ },
354
+ 'Other Real Estate Issues': {
355
+ 'Type_Of_Legal_Problem': 'Real Estate'
256
356
  }
257
357
  }
258
358
  };
259
359
 
260
-
261
360
  const TOLPCommentsPlaceholders = {
262
361
  'Adoption': 'Example: "I need help with adoption forms"',
263
362
  'Asbestos and Mesothelioma': 'Example: "I was exposed to asbestos at work and would like to file a claim"',
@@ -266,8 +365,12 @@ const TOLPCommentsPlaceholders = {
266
365
  'Birth Certificate and Name Change': 'Example: "Just married and would like to change my last name"',
267
366
  'Business Lawyers': 'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',
268
367
  'Child Custody and Support': 'Example: "Need help getting custody" or "Issues with child support payments"',
368
+ 'Child Custody': 'Example: "Need help getting custody"',
369
+ 'Child Support': 'Example: "Issues with child support payments"',
269
370
  'Civil Rights and Discrimination': 'Example: "Police brutality" or "Coworker keeps harassing me"',
270
371
  'Civil Lawsuit': 'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',
372
+ 'File a Lawsuit': 'Example: "A contractor took my money and never completed the job"',
373
+ 'Defend a Lawsuit': 'Example: "I am being sued by a neighbor"',
271
374
  'Consumer Lawyers': 'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',
272
375
  'Copyrights and Trademarks': 'Example: "I would like to register a trademark or copyright a name"',
273
376
  'Criminal and Felony': 'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',
@@ -281,6 +384,11 @@ const TOLPCommentsPlaceholders = {
281
384
  'Foreclosure': 'Example: "I need help to avoid foreclosure on my house"',
282
385
  'Guardianship': 'Example: "I need help with guardianship documents"',
283
386
  'Harassment and Discrimination': 'Example: "I am being discriminated at work" or "My neighbor is harassing me"',
387
+ 'Sexual Harassment': 'Example: "I am being sexually harassed by a coworker"',
388
+ 'Workplace Harassment': 'Example: "My coworker is being aggressive towards me"',
389
+ 'Non-Workplace Harassment': 'Example: "My neighbor is harassing me"',
390
+ 'Workplace Discrimination': 'Example: "I am being discriminated at work based on my age"',
391
+ 'Non-Workplace Discrimination': 'Example: "I am being discriminated against by a local official"',
284
392
  'Identity Theft': 'Example: "Someone stole my identity and I need help fixing the issue"',
285
393
  'Immigration and Visas': 'Example: "I need help filing for a visa" or "Help with a green card"',
286
394
  'Insurance': 'Example: "I need help filing an insurance claim for damage to my house"',
@@ -360,6 +468,11 @@ const TOLPFinalHeadlines = {
360
468
  // 'Wrongful Death': '',
361
469
  // 'Wrongful Termination': '',
362
470
  // 'Not Sure or Other': ''
471
+ // 'Sexual Harassment': '',
472
+ // 'Workplace Harassment': '',
473
+ // 'Non-Workplace Harassment': '',
474
+ // 'Workplace Discrimination': '',
475
+ // 'Non-Workplace Discrimination': '',
363
476
  };
364
477
 
365
478
  const TOLPFinalSubHeadlines = {
@@ -412,6 +525,66 @@ const TOLPFinalSubHeadlines = {
412
525
  // 'Wrongful Death': '',
413
526
  // 'Wrongful Termination': '',
414
527
  // 'Not Sure or Other': ''
528
+ // 'Sexual Harassment': '',
529
+ // 'Workplace Harassment': '',
530
+ // 'Non-Workplace Harassment': '',
531
+ // 'Workplace Discrimination': '',
532
+ // 'Non-Workplace Discrimination': '',
533
+ };
534
+
535
+
536
+ const trustedFormTOLPs = {
537
+ 'Adoption': true,
538
+ // 'Asbestos and Mesothelioma': '',
539
+ // 'Auto and Car Accidents': '',
540
+ // 'Bankruptcy': '',
541
+ // 'Birth Certificate and Name Change': '',
542
+ // 'Business Lawyers': '',
543
+ 'Child Custody and Support': true,
544
+ 'Child Custody': true,
545
+ 'Child Support': true,
546
+ // 'Civil Rights and Discrimination': '',
547
+ // 'Civil Lawsuit': '',
548
+ // 'Consumer Lawyers': '',
549
+ // 'Copyrights and Trademarks': '',
550
+ // 'Criminal and Felony': '',
551
+ // 'Debt and Collections': '',
552
+ 'Divorce and Separation': true,
553
+ // 'DUI and DWI': '',
554
+ // 'Elder Law': '',
555
+ // 'Employment and Workplace': '',
556
+ // 'Expungement': '',
557
+ 'Family Issues': true,
558
+ // 'Foreclosure': '',
559
+ 'Guardianship': true,
560
+ // 'Harassment and Discrimination': '',
561
+ // 'Identity Theft': '',
562
+ // 'Immigration and Visas': '',
563
+ // 'Insurance': '',
564
+ // 'Landlord and Tenant': '',
565
+ // 'Lemon Law': '',
566
+ // 'Long Term Disability': '',
567
+ // 'Medical Malpractice': '',
568
+ // 'Nursing Home Abuse': '',
569
+ // 'Patents and Intellectual Property': '',
570
+ // 'Personal Injury': '',
571
+ // 'Power of Attorney': '',
572
+ // 'Probate and Estates': '',
573
+ // 'Product Liability': '',
574
+ // 'Property Damage': '',
575
+ // 'Real Estate': '',
576
+ // 'Social Security Disability and Insurance': '',
577
+ // 'Tax and IRS': '',
578
+ // 'Traffic and Tickets': '',
579
+ // 'Unemployment': '',
580
+ // 'Vaccination Injury': '',
581
+ // 'Veteran\'s Disability': '',
582
+ // 'Victim of a Crime': '',
583
+ // 'Wills and Trusts': '',
584
+ // 'Workers Compensation': '',
585
+ // 'Wrongful Death': '',
586
+ // 'Wrongful Termination': '',
587
+ 'Not Sure or Other': true,
415
588
  };
416
589
 
417
590
  // ------ Common Base Settings
@@ -435,15 +608,6 @@ const sbsCheckbox = (updates) => {
435
608
  return checkbox(updates)
436
609
  };
437
610
 
438
- const col2Checkbox = (updates) => {
439
- updates.legendClass = 'required';
440
- updates.fieldsetClass = '$reset';
441
- updates.optionsClass = 't-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2';
442
- updates.innerClass = 't-items-start';
443
- updates.wrapperClass = '$reset t-flex t-cursor-pointer t-mb-3';
444
- return checkbox(updates)
445
- };
446
-
447
611
  const radio = (updates) => {
448
612
  return merge({
449
613
  $formkit: 'radio',
@@ -543,6 +707,7 @@ const textArea = (updates) => {
543
707
  validationMessages: {
544
708
  required: 'Field is required'
545
709
  },
710
+ innerClass: 't-max-w-xl',
546
711
  labelClass: 'required'
547
712
  }, updates)
548
713
  };
@@ -564,139 +729,6 @@ const sbsDate = (updates) => {
564
729
  return date(updates)
565
730
  };
566
731
 
567
- // ------ Inputs
568
-
569
- const amountPaymentsPastDue = () => sbsSelect({
570
- label: 'Total Amount of Payments that are Past Due:',
571
- name: 'Amount_Payments_Past_Due',
572
- options: [
573
- "$0 - $499",
574
- "$500 - $999",
575
- "$1,000 - $2,499",
576
- "$2,500 - $4,999",
577
- "$5,000 - $9,999",
578
- "$10,000 - $24,999",
579
- "$25,000 - $49,999",
580
- "$50,000 - $99,999",
581
- "More than $100,000"
582
- ]
583
- });
584
-
585
- const applicantOccupation = () => sbsText({
586
- label: "What is the Applicant's Occupation?",
587
- name: 'Applicant_Occupation',
588
- placeholder: "Occupation"
589
- });
590
-
591
-
592
- const applicantAge = () => sbsSelect({
593
- label: 'Age of Applicant?',
594
- name: 'Applicant_Age',
595
- options: [
596
- "18",
597
- "19",
598
- "20",
599
- "21",
600
- "22",
601
- "23",
602
- "24",
603
- "25",
604
- "26",
605
- "27",
606
- "28",
607
- "29",
608
- "30",
609
- "31",
610
- "32",
611
- "33",
612
- "34",
613
- "35",
614
- "36",
615
- "37",
616
- "38",
617
- "39",
618
- "40",
619
- "41",
620
- "42",
621
- "43",
622
- "44",
623
- "45",
624
- "46",
625
- "47",
626
- "48",
627
- "49",
628
- "50",
629
- "51",
630
- "52",
631
- "53",
632
- "54",
633
- "55",
634
- "56",
635
- "57",
636
- "58",
637
- "59",
638
- "60",
639
- "61",
640
- "62",
641
- "63",
642
- "64",
643
- "65"
644
- ]
645
- });
646
-
647
- const applicantDisabilityHowObtain = () => sbsSelect({
648
- label: 'How Did Applicant Obtain the Disability Policy?',
649
- name: 'Applicant_Disability_How_Obtain',
650
- options: [
651
- "Employer",
652
- "Self",
653
- "Other"
654
- ]
655
- });
656
-
657
- const applicantPreviouslyAppliedLtdBenefits = () => sbsRadio({
658
- name: 'Applicant_Previously_Apply_Ltd_Benefits',
659
- label: 'Has Applicant Previously Applied for Long Term Disability Benefits?',
660
- options: [
661
- "Yes, claim pending",
662
- "Yes, claim denied",
663
- "No"
664
- ]
665
- });
666
-
667
- const applicantMonthlySalary = () => sbsSelect({
668
- label: "Applicant's Monthly Salary/Pay When Last at Work:",
669
- name: 'Applicant_Monthly_Salary',
670
- options: [
671
- "< $1,000",
672
- "$1,000 - $2,000",
673
- "$2,000 - $3,000",
674
- "$3,000 - $4,000",
675
- "$4,000 - $5,000",
676
- "$5,000 - $6,000",
677
- "$6,000 - $7,000",
678
- "$7,000 - $8,000",
679
- "$8,000 - $9,000",
680
- "$9,000 - $10,000",
681
- ">$10,000"
682
- ]
683
- });
684
-
685
- const applicantReceivedDisabilityBenefits = () => sbsRadio({
686
- name: 'Applicant_Received_Disability_Benefits',
687
- label: 'Has Applicant Ever Received Long Term Disability Benefits for this Claim?',
688
- options: [
689
- "Yes, currently receiving",
690
- "Yes, appealing a decision to stop payment of benefits",
691
- "No"
692
- ]
693
- });
694
-
695
- const applicantLTDisabilityPolicy = () => sbsYesNoRadio({
696
- name: 'Applicant_Lt_Disability_Policy',
697
- label: 'Does Applicant have a Long Term Disability Policy?'
698
- });
699
-
700
732
  const atFault = () => sbsYesNoRadio({
701
733
  name: 'At_Fault',
702
734
  label: 'Were You at Fault?'
@@ -711,21 +743,6 @@ const bankruptcyCrossSell = () => sbsCheckbox({
711
743
  helpClass: "!t-text-sm"
712
744
  });
713
745
 
714
- const bloodContentAlcholTest = () => sbsSelect({
715
- label: 'Blood Alcohol Content Measured by Test:',
716
- name: 'Blood_Alcohol_Content_Test',
717
- options: [
718
- "No Test",
719
- "0.00% - 0.04%",
720
- "0.05% - 0.08%",
721
- "0.09% - 0.12%",
722
- "0.13% - 0.16%",
723
- "0.17% - 0.20%",
724
- "More than 0.20%",
725
- "Don't know"
726
- ]
727
- });
728
-
729
746
  const businessServices = () => sbsSelect({
730
747
  label: 'Legal Services Needed for Your Business:',
731
748
  name: 'Business_Services',
@@ -749,29 +766,6 @@ const businessType = () => sbs2ColRadio({
749
766
  ]
750
767
  });
751
768
 
752
- const causeOfInjury = () => sbsSelect({
753
- label: 'Cause of Injury:',
754
- name: 'Cause_Of_Injury',
755
- options: [
756
- "Traumatic Physical Injury (Accident)",
757
- "Repeated Trauma Injury",
758
- "Mental Injury",
759
- "Occupational Disease",
760
- "Not Sure"
761
- ]
762
- });
763
-
764
- const causeOfDeath = () => sbsSelect({
765
- label: "What was the Cause of the Victim's Death?",
766
- name: 'Cause_Of_Death',
767
- options: [
768
- "Vehicle Accident",
769
- "Negligent/Careless Act",
770
- "Reckless Act",
771
- "Other"
772
- ]
773
- });
774
-
775
769
  const civilDefense = (updates) => sbs2ItemRadio(merge({
776
770
  name: 'Civil_Defense',
777
771
  id: 'Civil_Defense',
@@ -783,7 +777,7 @@ const civilDefense = (updates) => sbs2ItemRadio(merge({
783
777
  }
784
778
  }, updates));
785
779
 
786
- const civilTOLPDisplay = (updates) => col2Radio(merge({
780
+ const civilLawsuitTOLPDisplay = (updates) => col2Radio(merge({
787
781
  name: 'Type_Of_Legal_Problem_Display',
788
782
  if: '$get(Type_Of_Legal_Problem).value == "Civil Lawsuit" && $get(Civil_Defense).value == "No"',
789
783
  label: 'Select The Type of Lawsuit You Would Like to File:',
@@ -803,39 +797,6 @@ const civilTOLPDisplay = (updates) => col2Radio(merge({
803
797
  ]
804
798
  }, updates));
805
799
 
806
- const childHome = () => sbsSelect({
807
- label: 'With Whom Do the Children Currently Live?',
808
- name: 'Child_Home',
809
- options: [
810
- 'Mother',
811
- 'Father',
812
- 'Grandparents',
813
- 'Other'
814
- ]
815
- });
816
-
817
- const childPrimaryCaregiver = () => sbsSelect({
818
- label: 'Who is the Primary Caregiver?',
819
- name: 'Child_Primary_Caregiver',
820
- options: [
821
- 'Mother',
822
- 'Father',
823
- 'Other'
824
- ]
825
- });
826
-
827
- const childRelationship = () => sbsSelect({
828
- label: 'Your Relationship to Child(ren):',
829
- name: 'Child_Relationship',
830
- options: [
831
- 'Father',
832
- 'Mother',
833
- 'Grandparent',
834
- 'Aunt/Uncle',
835
- 'Other'
836
- ]
837
- });
838
-
839
800
  const claimStatus = () => sbsSelect({
840
801
  label: "Status of Claim:",
841
802
  name: 'Claim_Status',
@@ -855,232 +816,24 @@ const comments = (updates) => textArea(
855
816
  }, updates)
856
817
  );
857
818
 
858
- const countryOfCitizenship = () => sbsSelect({
859
- label: 'What is Your Current Country of Citizenship?',
860
- name: 'Country_Of_Citizenship',
861
- options: [
862
- "Afghanistan",
863
- "Albania",
864
- "Algeria",
865
- "Andorra",
866
- "Angola",
867
- "Antigua and Barbuda",
868
- "Argentina",
869
- "Armenia",
870
- "Australia",
871
- "Austria",
872
- "Azerbaijan",
873
- "Bahamas",
874
- "The Bahrain",
875
- "Bangladesh",
876
- "Barbados",
877
- "Belarus",
878
- "Belgium",
879
- "Belize",
880
- "Benin",
881
- "Bhutan",
882
- "Bolivia",
883
- "Bosnia and Herzegovina",
884
- "Botswana",
885
- "Brazil",
886
- "Brunei",
887
- "Bulgaria",
888
- "Burkina Faso",
889
- "Burundi",
890
- "Cambodia",
891
- "Cameroon",
892
- "Canada",
893
- "Cape Verde",
894
- "Central African Republic",
895
- "Chad",
896
- "Chile",
897
- "China",
898
- "Colombia",
899
- "Comoros",
900
- "Congo (Congoâ Kinshasa)",
901
- "Congo (Congoâ Brazzaville)",
902
- "Costa Rica",
903
- "Coted'Ivoire (Ivory Coast)",
904
- "Croatia",
905
- "Cuba",
906
- "Cyprus",
907
- "Czech Republic",
908
- "Denmark",
909
- "Djibouti",
910
- "Dominica",
911
- "Dominican Republic",
912
- "Ecuador",
913
- "Egypt",
914
- "El Salvador",
915
- "Equatorial Guinea",
916
- "Eritrea",
917
- "Estonia",
918
- "Ethiopia",
919
- "Fiji",
920
- "Finland",
921
- "France",
922
- "Gabon",
923
- "Gambia",
924
- "Georgia",
925
- "Germany",
926
- "Ghana",
927
- "Greece",
928
- "Grenada",
929
- "Guatemala",
930
- "Guinea",
931
- "Guinea-Bissau",
932
- "Guyana",
933
- "Haiti",
934
- "Honduras",
935
- "Hungary",
936
- "Iceland",
937
- "India",
938
- "Indonesia",
939
- "Iran",
940
- "Iraq",
941
- "Ireland",
942
- "Israel",
943
- "Italy",
944
- "Jamaica",
945
- "Japan",
946
- "Jordan",
947
- "Kazakhstan",
948
- "Kenya",
949
- "Kiribati",
950
- "Korea (North Korea)",
951
- "Korea (South Korea)",
952
- "Kuwait",
953
- "Kyrgyzstan",
954
- "Laos",
955
- "Latvia",
956
- "Lebanon",
957
- "Lesotho",
958
- "Liberia",
959
- "Libya",
960
- "Liechtenstein",
961
- "Lithuania",
962
- "Luxembourg",
963
- "Macedonia",
964
- "Madagascar",
965
- "Malawi",
966
- "Malaysia",
967
- "Maldives",
968
- "Mali",
969
- "Malta",
970
- "Marshall Islands",
971
- "Mauritania",
972
- "Mauritius",
973
- "Mexico",
974
- "Micronesia",
975
- "Moldova",
976
- "Monaco",
977
- "Mongolia",
978
- "Montenegro",
979
- "Morocco",
980
- "Mozambique",
981
- "Myanmar (Burma)",
982
- "Namibia",
983
- "Nauru",
984
- "Nepal",
985
- "Netherlands",
986
- "New Zealand",
987
- "Nicaragua",
988
- "Niger",
989
- "Nigeria",
990
- "Norway",
991
- "Oman",
992
- "Pakistan",
993
- "Palau",
994
- "Panama",
995
- "Papua New Guinea",
996
- "Paraguay",
997
- "Peru",
998
- "Philippines",
999
- "Poland",
1000
- "Portugal",
1001
- "Qatar",
1002
- "Romania",
1003
- "Russia",
1004
- "Rwanda",
1005
- "Saint Kitts and Nevis",
1006
- "SaintLucia",
1007
- "Saint Vincent and the Grenadines",
1008
- "Samoa",
1009
- "San Marino",
1010
- "Sao Tome and Principe",
1011
- "Saudi Arabia",
1012
- "Senegal",
1013
- "Serbia",
1014
- "Seychelles",
1015
- "Sierra Leone",
1016
- "Singapore",
1017
- "Slovakia",
1018
- "Slovenia",
1019
- "Solomon Islands",
1020
- "Somalia",
1021
- "South Africa",
1022
- "Spain",
1023
- "SriLanka",
1024
- "Sudan",
1025
- "Suriname",
1026
- "Swaziland",
1027
- "Sweden",
1028
- "Switzerland",
1029
- "Syria",
1030
- "Tajikistan",
1031
- "Tanzania",
1032
- "Thailand",
1033
- "Timor-Leste (East Timor)",
1034
- "Togo",
1035
- "Tonga",
1036
- "Trinidad and Tobago",
1037
- "Tunisia",
1038
- "Turkey",
1039
- "Turkmenistan",
1040
- "Tuvalu",
1041
- "Uganda",
1042
- "Ukraine",
1043
- "United Arab Emirates",
1044
- "United Kingdom",
1045
- "United States",
1046
- "Uruguay",
1047
- "Uzbekistan",
1048
- "Vanuatu",
1049
- "Vatican City",
1050
- "Venezuela",
1051
- "Vietnam",
1052
- "Yemen",
1053
- "Zambia",
1054
- "Zimbabwe"
1055
- ]
1056
- });
1057
-
1058
- const crimeCommittedDate = () => sbsDate({
1059
- label: 'When was the Alleged Crime?',
1060
- name: 'Crime_Committed_Date'
1061
- });
1062
-
1063
- const criminalChargeType = () => sbsSelect({
1064
- label: 'What Type of Charge?',
1065
- name: 'Criminal_Charge_Type',
819
+ const consumerLawyerType = () => sbsSelect({
820
+ label: 'What best describes your issue?',
821
+ name: 'Consumer_Lawyer_Type',
1066
822
  options: [
1067
- "Felony",
1068
- "Misdemeanor",
1069
- "Juvenile",
823
+ "Unsafe Environment",
824
+ "Unsafe Products",
825
+ "Auto Fraud",
826
+ "Credit Reporting Issues",
827
+ "Debt Collection Abuse",
828
+ "Identity Theft",
829
+ "Lemon Law",
830
+ "Military Consumer Rights",
831
+ "Predatory Lending",
832
+ "Student Loans",
1070
833
  "Other"
1071
834
  ]
1072
835
  });
1073
836
 
1074
- const criminalChargesFiled = () => sbsRadio({
1075
- name: 'Criminal_Charges_Filed',
1076
- label: "Were Criminal Charges Filed?",
1077
- options: [
1078
- "Yes",
1079
- "No",
1080
- "Not Sure"
1081
- ]
1082
- });
1083
-
1084
837
  const degreeOfInterest = (help) => sbsSelect({
1085
838
  label: 'How Likely Are You to Pay if Your Issue Could be Resolved?',
1086
839
  id: 'Degree_Of_Interest',
@@ -1094,37 +847,13 @@ const degreeOfInterest = (help) => sbsSelect({
1094
847
  ]
1095
848
  });
1096
849
 
1097
- const defaultNotice = () => sbsYesNoRadio({
1098
- name: 'Default_Notice',
1099
- label: 'Have You Received a Notice of Default from the Lender?'
1100
- });
1101
-
1102
850
  const degreeOfInterestHelp = () => degreeOfInterest('No payment necessary to speak with lawyers.');
1103
851
 
1104
- const disabilityConditionStopWork = () => sbsYesNoRadio({
1105
- name: 'Disability_Condition_Stop_Work',
1106
- label: 'Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?'
1107
- });
1108
-
1109
- const disabilityWorkHistory = () => sbsYesNoRadio({
1110
- name: 'Disability_Work_History',
1111
- label: 'Have You Had a Full-Time Job Within the Past 5 Years?'
1112
- });
1113
-
1114
852
  const doctorTreatment = () => sbsYesNoRadio({
1115
853
  name: 'Doctor_Treatment',
1116
854
  label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?'
1117
855
  });
1118
856
 
1119
- const driversLicenseType = () => sbs2ItemRadio({
1120
- name: 'Drivers_License_Type',
1121
- label: "Type of Driver's License:",
1122
- options: [
1123
- "Private",
1124
- "Commercial"
1125
- ]
1126
- });
1127
-
1128
857
  const email = () => sbsText({
1129
858
  $formkit: 'email',
1130
859
  name: 'Email',
@@ -1153,19 +882,6 @@ const employerType = () => sbsSelect({
1153
882
  ]
1154
883
  });
1155
884
 
1156
- const estateLegalServicesNeeded = () => sbsSelect({
1157
- label: "Legal Services Needed for Your Estate:",
1158
- name: 'Estate_Legal_Services_Needed',
1159
- options: [
1160
- "Charitable Giving",
1161
- "Contested Wills",
1162
- "Drafting Wills or Trust",
1163
- "Estate Administration",
1164
- "Asset Protection",
1165
- "Other"
1166
- ]
1167
- });
1168
-
1169
885
  const firstName = () => sbsText({
1170
886
  $formkit: 'text',
1171
887
  label: 'First Name:',
@@ -1178,80 +894,7 @@ const firstName = () => sbsText({
1178
894
 
1179
895
  const haveAttorney = () => sbsYesNoRadio({
1180
896
  name: 'Have_Attorney',
1181
- label: 'Are You Already Working with An Attorney?'
1182
- });
1183
-
1184
- const haveChildren = () => sbsYesNoRadio({
1185
- name: 'Have_Children',
1186
- label: 'Do You Have Children?'
1187
- });
1188
-
1189
- const haveCourtDate = () => sbsYesNoRadio({
1190
- name: 'Have_Court_Date',
1191
- label: 'Do You Have a Court Date?'
1192
- });
1193
-
1194
- const immigrationDetails = () => sbsSelect({
1195
- label: 'Where is the Person Seeking Immigration Located?',
1196
- name: 'Immigration_Details',
1197
- options: [
1198
- "In the USA with proper documentation",
1199
- "In the USA without proper documentation",
1200
- "Not in the USA",
1201
- "In Deportation/Removal Proceedings",
1202
- "Currently Detained (friend or family submitting this request)",
1203
- "Out on Bond",
1204
- "None Apply"
1205
- ]
1206
- });
1207
-
1208
- const immigrationEntry = () => sbsSelect({
1209
- label: 'How are you Trying to Enter the Country?',
1210
- name: 'Immigration_Entry',
1211
- options: [
1212
- "With Proper Documents/Visa and Inspection through Customs Border Patrol",
1213
- "Illegally",
1214
- "No Entry",
1215
- "Other"
1216
- ]
1217
- });
1218
-
1219
- const immigrationLocation = () => sbsSelect({
1220
- label: 'Where Are You Migrating To?',
1221
- name: 'Immigration_Location',
1222
- options: [
1223
- "In the USA",
1224
- "Outside the USA"
1225
- ]
1226
- });
1227
-
1228
- const immigrationType = () => sbsSelect({
1229
- label: 'What Type of Immigration Issue?',
1230
- name: 'Immigration_Type',
1231
- options: [
1232
- "Citizenship (for current green card holders)",
1233
- "Permanent Visa Family Based (green cards)",
1234
- "Permanent Visa Business Based (green cards)",
1235
- "Temporary Business Visa",
1236
- "Temporary Tourist Visa",
1237
- "Investor",
1238
- "Asylum",
1239
- "Self Petition (violence & abuse victims)",
1240
- "Removal/Deportation Proceeding",
1241
- "Other"
1242
- ]
1243
- });
1244
-
1245
- const immigrationStatus = () => sbsSelect({
1246
- label: 'What is the Current Status of the Immigration Case?',
1247
- name: 'Immigration_Status',
1248
- options: [
1249
- "Out of Status (overstayed my visa)",
1250
- "Current Visa Holder (in status)",
1251
- "Lawful Permanent Resident (green card)",
1252
- "Not Applicable (outside the USA)",
1253
- "Other"
1254
- ]
897
+ label: 'Already Working with An Attorney?'
1255
898
  });
1256
899
 
1257
900
  const incidentDate = () => sbsDate({
@@ -1269,31 +912,6 @@ const lastName = () => sbsText({
1269
912
  }
1270
913
  });
1271
914
 
1272
- const landlordTenantParty = () => sbsSelect({
1273
- label: 'I am the:',
1274
- name: 'Landlord_Tenant_Party',
1275
- options: [
1276
- "Landlord",
1277
- "Tenant",
1278
- "Other"
1279
- ]
1280
- });
1281
-
1282
- const landlordTenantIssue = () => sbsSelect({
1283
- label: 'What is the Landlord / Tenant Issue?',
1284
- name: 'Landlord_Tenant_Issue',
1285
- options: [
1286
- "Environmental Hazards",
1287
- "Eviction",
1288
- "Discrimination",
1289
- "Lease and Rental Agreements",
1290
- "Repairs and Maintenance",
1291
- "Right of Entry and Privacy",
1292
- "Screening and Applications",
1293
- "Other Dispute"
1294
- ]
1295
- });
1296
-
1297
915
  const lawsuitOtherParty = () => sbsSelect({
1298
916
  label: 'The Other Party is a:',
1299
917
  name: 'Lawsuit_Other_Party',
@@ -1305,50 +923,6 @@ const lawsuitOtherParty = () => sbsSelect({
1305
923
  ]
1306
924
  });
1307
925
 
1308
- const lawyerPaymentMethod = () => sbsSelect({
1309
- label: 'How Will You Pay for Legal Fees if You Hire a Lawyer?',
1310
- name: 'Lawyer_Payment_Method',
1311
- help: 'No payment necessary to speak with lawyers.',
1312
- options: [
1313
- 'Cash',
1314
- 'Check',
1315
- 'Credit Card',
1316
- 'Friend',
1317
- 'Family',
1318
- 'Other'
1319
- ]
1320
- });
1321
-
1322
- const loanAmount = () => sbsSelect({
1323
- label: 'Total Amount of Loan?',
1324
- name: 'Loan_Amount',
1325
- options: [
1326
- "Less than $10,000",
1327
- "$10,000 - $24,999",
1328
- "$25,000 - $49,999",
1329
- "$50,000 - $99,999",
1330
- "$100,000 - $199,999",
1331
- "$200,000 - $299,999",
1332
- "$300,000 - $399,999",
1333
- "$400,000 - $499,999",
1334
- "$500,000 - $599,999",
1335
- "More than $600,000"
1336
- ]
1337
- });
1338
-
1339
- const maritalStatus = () => sbsSelect({
1340
- label: 'Marital Status:',
1341
- name: 'Marital_Status',
1342
- options: [
1343
- 'Unmarried, Living Together',
1344
- 'Unmarried, Do Not Live Together',
1345
- 'Married, Living Together',
1346
- 'Separated',
1347
- 'Divorced',
1348
- 'Other'
1349
- ]
1350
- });
1351
-
1352
926
  const medicalMalpracticeInjuries = () => sbsSelect({
1353
927
  label: "Injuries from Medical Malpractice:",
1354
928
  name: 'Medical_Malpractice_Injuries',
@@ -1377,54 +951,6 @@ const numEmployeesOfBusiness = () => sbsSelect({
1377
951
  ]
1378
952
  });
1379
953
 
1380
- const nursingHomeStatus = () => sbsSelect({
1381
- label: "The Elderly Person is Currently:",
1382
- name: 'Nursing_Home_Status',
1383
- options: [
1384
- "Living at a nursing home",
1385
- "Living at their own home with medical supervision",
1386
- "Living at their own home without medical supervision ",
1387
- "Living at the home of a child, grandchild or friend",
1388
- "Deceased",
1389
- "Other"
1390
- ]
1391
- });
1392
-
1393
- const ownRealEstate = () => sbsYesNoRadio({
1394
- name: 'Own_Real_Estate',
1395
- label: 'Do You Own Real Estate?'
1396
- });
1397
-
1398
- const patentAssistanceType = () => sbsSelect({
1399
- label: "Legal Assistance Needed:",
1400
- name: 'Patent_Assistance_Type',
1401
- options: [
1402
- "Obtaining a Patent",
1403
- "Avoiding Patent Infringement",
1404
- "Suing for Patent Infringement",
1405
- "Defending Against a Claim of Patent Infringement",
1406
- "Other"
1407
- ]
1408
- });
1409
-
1410
- const patentFor = () => sbsSelect({
1411
- label: "The Patent is for a:",
1412
- name: 'Patent_For',
1413
- options: [
1414
- "Product or Machine",
1415
- "Process",
1416
- "Computer Software",
1417
- "Living Organism or Plant",
1418
- "Ornamental Design",
1419
- "Other"
1420
- ]
1421
- });
1422
-
1423
- const pendingCharges = () => sbsYesNoRadio({
1424
- name: 'Pending_Charges',
1425
- label: 'Do you currently have any pending charges?'
1426
- });
1427
-
1428
954
  const phone = () => sbsText({
1429
955
  $formkit: 'tel',
1430
956
  name: 'Primary_Phone',
@@ -1458,11 +984,6 @@ const primaryInjury = () => sbs2ColRadio({
1458
984
  ]
1459
985
  });
1460
986
 
1461
- const priorAlcoholOffenses = () => sbsYesNoRadio({
1462
- name: 'Prior_Alcohol_Offenses',
1463
- label: 'Any Prior Alcohol Related Offenses?'
1464
- });
1465
-
1466
987
  const policeReportFiled = () => sbsYesNoRadio({
1467
988
  name: 'Police_Report_Filed',
1468
989
  label: 'Was a Police Report Filed?'
@@ -1484,108 +1005,6 @@ const realEstateArea = () => sbsSelect({
1484
1005
  ]
1485
1006
  });
1486
1007
 
1487
- const relationshipToVictim = () => sbsSelect({
1488
- label: 'Relationship to the Victim:',
1489
- name: 'Relationship_To_Victim',
1490
- options: [
1491
- "Parent",
1492
- "Spouse",
1493
- "Sibling",
1494
- "Friend",
1495
- "Other"
1496
- ]
1497
- });
1498
-
1499
- const roleInMatterCriminal = () => sbsRadio({
1500
- label: 'What is Your Role in this Matter?',
1501
- name: 'Role_In_Matter_Criminal',
1502
- options: [
1503
- "I have been accused",
1504
- "I am acting on behalf of someone who has been accused",
1505
- "Other"
1506
- ]
1507
- });
1508
-
1509
- const roleInMatterProbate = () => sbsSelect({
1510
- label: "What Is Your Role in this Matter?",
1511
- name: 'Role_In_Matter_Probate',
1512
- options: [
1513
- "Preparing My Will",
1514
- "Executor",
1515
- "Heir",
1516
- "Other"
1517
- ]
1518
- });
1519
-
1520
- const socialSecurityDisabilityReceivingBenefits = () => sbsYesNoRadio({
1521
- name: 'Social_Security_Disability_Receiving_Benefits',
1522
- label: 'Are You Currently Receiving Social Security Disability Benefits?'
1523
- });
1524
-
1525
- const taxLevel = () => sbsSelect({
1526
- label: 'Which Level of Tax Issue?',
1527
- name: 'Tax_Level',
1528
- options: [
1529
- "Federal",
1530
- "State",
1531
- "Local"
1532
- ]
1533
- });
1534
-
1535
- const taxIssueType = () => sbsSelect({
1536
- label: 'Type of Tax Issue:',
1537
- name: 'Tax_Issue_Type',
1538
- options: [
1539
- "Income",
1540
- "Property",
1541
- "Corporate"
1542
- ]
1543
- });
1544
-
1545
- const taxProblemDetails = () => sbsSelect({
1546
- label: 'Details of Tax Problem:',
1547
- name: 'Tax_Problem_Details',
1548
- options: [
1549
- "Assets Seized",
1550
- "Bank Account Levied",
1551
- "Cannot Pay Taxes",
1552
- "Innocent Spouse",
1553
- "Lien Filed",
1554
- "Received Audit Notice",
1555
- "Unpaid Interest",
1556
- "Wage Garnishment",
1557
- "Other"
1558
- ]
1559
- });
1560
-
1561
- const totalDebt = () => sbsSelect({
1562
- label: 'Total Debt?',
1563
- name: 'Total_Debt',
1564
- options: [
1565
- "Less than 5K",
1566
- "5K to 10K",
1567
- "10K to 20K",
1568
- "20K to 50K",
1569
- "More than 50K"
1570
- ]
1571
- });
1572
-
1573
- const totalMonthlyIncome = () => sbsSelect({
1574
- label: 'Total Monthly Income?',
1575
- name: 'Total_Monthly_Income',
1576
- options: [
1577
- "Less than 1K",
1578
- "1K to 2K",
1579
- "2K to 3K",
1580
- "3K to 4K",
1581
- "4K to 5K",
1582
- "5K to 7K",
1583
- "7K to 10K",
1584
- "10K to 15K",
1585
- "More than 15K"
1586
- ]
1587
- });
1588
-
1589
1008
  const TCPAConsent = () => ({
1590
1009
  $formkit: 'checkbox',
1591
1010
  label: '$meta.tcpaLanguage',
@@ -1601,126 +1020,6 @@ const TCPAConsent = () => ({
1601
1020
  }
1602
1021
  });
1603
1022
 
1604
- const typeOfAlcoholTest = () => sbsSelect({
1605
- label: 'Type of Alcohol Test Performed?',
1606
- name: 'Type_Of_Alcohol_Test',
1607
- options: [
1608
- "No Test",
1609
- "Refused Test",
1610
- "Breath Test",
1611
- "Blood Test",
1612
- "Urine Test",
1613
- "Don't Know"
1614
- ]
1615
- });
1616
-
1617
- const typeOfAssets = () => col2Checkbox({
1618
- label: 'Type of Assets:',
1619
- name: 'Type_Of_Assets',
1620
- options: [
1621
- "Business Interests",
1622
- "Cash",
1623
- "Life Insurance Policies",
1624
- "Pensions/Retirement",
1625
- "Personal Possessions",
1626
- "Property",
1627
- "Stock/Bonds"
1628
- ]
1629
- });
1630
-
1631
- const typeOfProperty = () => sbsSelect({
1632
- label: 'Type of Property:',
1633
- name: 'Type_Of_Property',
1634
- options: [
1635
- "Residential",
1636
- "Commercial",
1637
- "Industrial",
1638
- "Agricultural",
1639
- "Recreational",
1640
- "Other"
1641
- ]
1642
- });
1643
-
1644
- const trafficViolations = () => sbsSelect({
1645
- label: 'Which Type of Violation?',
1646
- name: 'Traffic_Violations',
1647
- options: [
1648
- "Disregarding a Red Light",
1649
- "Disregarding a Stop Sign",
1650
- "DMV Letter About License",
1651
- "DUI/DWI",
1652
- "Failure to Appear in Court",
1653
- "License Suspended/Revoked",
1654
- "Minor in Possession of Alcohol",
1655
- "No Child Safety Seat",
1656
- "No Liability Insurance",
1657
- "No Seat Belt",
1658
- "Open Container of Alcohol",
1659
- "Parking Ticket",
1660
- "Racing",
1661
- "Speeding",
1662
- "Unpaid Traffic Tickets",
1663
- "Warrant Issue for Arrest",
1664
- "Other Violation"
1665
- ]
1666
- });
1667
-
1668
- const valueOfAssets = () => sbsSelect({
1669
- label: 'Value of Your Assets?',
1670
- name: 'Value_Of_Assets',
1671
- options: [
1672
- "Less than 50K",
1673
- "50K to 100K",
1674
- "100K to 250K",
1675
- "250K to 500K",
1676
- "500K to 1M",
1677
- "More than 1M"
1678
- ]
1679
- });
1680
-
1681
- const veteransDisabilityApplied = () => sbsSelect({
1682
- label: 'Has the Applicant Applied for VA Disability Compensation?',
1683
- name: 'Veterans_Disability_Applied',
1684
- options: [
1685
- "Yes, Claim filed and awaiting decision",
1686
- "Yes, Claim denied",
1687
- "Yes, Claim on appeal",
1688
- "Yes, Claim approved",
1689
- "Yes, Benefits awarded",
1690
- "No, Claim has not been filed"
1691
- ]
1692
- });
1693
-
1694
- const veteransDisabilityConditions = () => sbsCheckbox({
1695
- label: 'What Service Connected Conditions Does the Applicant Have? (select all that apply)',
1696
- name: 'Veterans_Disability_Conditions',
1697
- options: [
1698
- "Traumatic Physical Injury (broken bones, loss of limb)",
1699
- "Mental Injury",
1700
- "Occupational Disease",
1701
- "Repeated Trauma Injury",
1702
- "Other"
1703
- ]
1704
- });
1705
-
1706
- const veteransDisabilityRelationship = () => sbsSelect({
1707
- label: 'What is Your Relationship to the Applicant?',
1708
- name: 'Veterans_Disability_Relationship',
1709
- options: [
1710
- "Self, Active Duty",
1711
- "Self, Active Reserve",
1712
- "Self, Discharged from Active Duty",
1713
- "Self, Discharged as Reservist",
1714
- "Surviving Family Member",
1715
- "Other"
1716
- ]
1717
- });
1718
-
1719
- const veteransDisabilityInjured = () => sbsYesNoRadio({
1720
- name: 'Veterans_Disability_Injured',
1721
- label: 'Was the Applicant Hurt While on Duty or is the Condition Related to Military Service?'
1722
- });
1723
-
1724
1023
  const wouldLikeLawyerTo = () => sbsRadio({
1725
1024
  label: 'I Would Like a Lawyer to:',
1726
1025
  name: 'Would_Like_Lawyer_To',
@@ -1763,33 +1062,6 @@ const group = (name, updates) => {
1763
1062
  }, updates)
1764
1063
  };
1765
1064
 
1766
-
1767
- const AdoptionQuestions = () => group(
1768
- 'AdoptionQuestions',
1769
- {
1770
- if: '$get(Type_Of_Legal_Problem).value == "Adoption"',
1771
- children: [
1772
- haveAttorney(),
1773
- maritalStatus(),
1774
- haveChildren(),
1775
- degreeOfInterest(),
1776
- lawyerPaymentMethod()
1777
- ]
1778
- }
1779
- );
1780
-
1781
- const AsbestosAndMesotheliomaQuestions = () => group(
1782
- 'AsbestosAndMesotheliomaQuestions',
1783
- {
1784
- if: '$get(Type_Of_Legal_Problem).value == "Asbestos and Mesothelioma"',
1785
- children: [
1786
- incidentDate(),
1787
- doctorTreatment(),
1788
- degreeOfInterestHelp()
1789
- ]
1790
- }
1791
- );
1792
-
1793
1065
  const AutoAndCarAccidentsQuestions = () => group(
1794
1066
  'AutoAndCarAccidentsQuestions',
1795
1067
  {
@@ -1805,32 +1077,6 @@ const AutoAndCarAccidentsQuestions = () => group(
1805
1077
  }
1806
1078
  );
1807
1079
 
1808
- const BankruptcyQuestions = () => group(
1809
- 'BankruptcyQuestions',
1810
- {
1811
- if: '$get(Type_Of_Legal_Problem).value == "Bankruptcy"',
1812
- children: [
1813
- haveAttorney(),
1814
- totalMonthlyIncome(),
1815
- totalDebt(),
1816
- ownRealEstate(),
1817
- valueOfAssets(),
1818
- degreeOfInterestHelp()
1819
- ]
1820
- }
1821
- );
1822
-
1823
- const BirthCertificateAndNameChangeQuestions = () => group(
1824
- 'BirthCertificateAndNameChangeQuestions',
1825
- {
1826
- if: '$get(Type_Of_Legal_Problem).value == "Birth Certificate and Name Change"',
1827
- children: [
1828
- haveAttorney(),
1829
- degreeOfInterestHelp()
1830
- ]
1831
- }
1832
- );
1833
-
1834
1080
  const BusinessLawyersQuestions = () => group(
1835
1081
  'BusinessLawyersQuestions',
1836
1082
  {
@@ -1845,39 +1091,24 @@ const BusinessLawyersQuestions = () => group(
1845
1091
  }
1846
1092
  );
1847
1093
 
1848
- const ChildCustodyAndSupportQuestions = () => group(
1849
- 'ChildCustodyAndSupportQuestions',
1094
+ const FileLawsuitQuestions = () => group(
1095
+ 'FileLawsuitQuestions',
1850
1096
  {
1851
- if: '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',
1852
- children: [
1853
- haveAttorney(),
1854
- childRelationship(),
1855
- childHome(),
1856
- childPrimaryCaregiver(),
1857
- degreeOfInterest(),
1858
- lawyerPaymentMethod()
1859
- ]
1860
- }
1861
- );
1862
-
1863
- const CivilRightsAndDiscriminationQuestions = () => group(
1864
- 'CivilRightsAndDiscriminationQuestions',
1865
- {
1866
- if: '$get(Type_Of_Legal_Problem).value == "Civil Rights and Discrimination"',
1097
+ if: '$get(Type_Of_Legal_Problem).value == "File a Lawsuit"',
1867
1098
  children: [
1868
1099
  haveAttorney(),
1100
+ lawsuitOtherParty(),
1869
1101
  degreeOfInterestHelp()
1870
1102
  ]
1871
1103
  }
1872
1104
  );
1873
1105
 
1874
- const CivilLawsuitQuestions = () => group(
1875
- 'CivilLawsuitQuestions',
1106
+ const DefendLawsuitQuestions = () => group(
1107
+ 'DefendLawsuitQuestions',
1876
1108
  {
1877
- if: '$get(Type_Of_Legal_Problem).value == "Civil Lawsuit"',
1109
+ if: '$get(Type_Of_Legal_Problem).value == "Defend a Lawsuit"',
1878
1110
  children: [
1879
1111
  haveAttorney(),
1880
- incidentDate(),
1881
1112
  lawsuitOtherParty(),
1882
1113
  degreeOfInterestHelp()
1883
1114
  ]
@@ -1889,91 +1120,10 @@ const ConsumerLawyersQuestions = () => group(
1889
1120
  {
1890
1121
  if: '$get(Type_Of_Legal_Problem).value == "Consumer Lawyers"',
1891
1122
  children: [
1892
- haveAttorney(),
1893
- incidentDate(),
1894
- lawsuitOtherParty(),
1895
- degreeOfInterestHelp()
1896
- ]
1897
- }
1898
- );
1899
-
1900
- const CopyrightsAndTrademarksQuestions = () => group(
1901
- 'CopyrightsAndTrademarksQuestions',
1902
- {
1903
- if: '$get(Type_Of_Legal_Problem).value == "Copyrights and Trademarks"',
1904
- children: [
1905
- haveAttorney(),
1906
- degreeOfInterestHelp()
1907
- ]
1908
- }
1909
- );
1910
-
1911
- const CriminalAndFelonyQuestions = () => group(
1912
- 'CriminalAndFelonyQuestions',
1913
- {
1914
- if: '$get(Type_Of_Legal_Problem).value == "Criminal and Felony"',
1915
- children: [
1916
- haveAttorney(),
1917
- crimeCommittedDate(),
1918
- roleInMatterCriminal(),
1919
- pendingCharges(),
1920
- degreeOfInterest(),
1921
- lawyerPaymentMethod()
1922
- ]
1923
- }
1924
- );
1925
-
1926
- const DebtAndCollectionsQuestions = () => group(
1927
- 'DebtAndCollectionsQuestions',
1928
- {
1929
- if: '$get(Type_Of_Legal_Problem).value == "Debt and Collections"',
1930
- children: [
1931
- haveAttorney(),
1932
- totalMonthlyIncome(),
1933
- totalDebt(),
1934
- ownRealEstate(),
1935
- valueOfAssets(),
1936
- degreeOfInterestHelp()
1937
- ]
1938
- }
1939
- );
1940
-
1941
- const DivorceQuestions = () => group(
1942
- 'DivorceQuestions',
1943
- {
1944
- if: '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',
1945
- children: [
1946
- haveAttorney(),
1947
- maritalStatus(),
1948
- haveChildren(),
1949
- degreeOfInterest(),
1950
- lawyerPaymentMethod()
1951
- ]
1952
- }
1953
- );
1954
-
1955
- const DUIAndDWIQuestions = () => group(
1956
- 'DUIAndDWIQuestions',
1957
- {
1958
- if: '$get(Type_Of_Legal_Problem).value == "DUI and DWI"',
1959
- children: [
1960
- haveAttorney(),
1123
+ consumerLawyerType(),
1961
1124
  incidentDate(),
1962
- priorAlcoholOffenses(),
1963
- typeOfAlcoholTest(),
1964
- bloodContentAlcholTest(),
1965
- pendingCharges(),
1966
- degreeOfInterestHelp()
1967
- ]
1968
- }
1969
- );
1970
-
1971
- const ElderLawQuestions = () => group(
1972
- 'ElderLawQuestions',
1973
- {
1974
- if: '$get(Type_Of_Legal_Problem).value == "Elder Law"',
1975
- children: [
1976
1125
  haveAttorney(),
1126
+ lawsuitOtherParty(),
1977
1127
  degreeOfInterestHelp()
1978
1128
  ]
1979
1129
  }
@@ -1987,163 +1137,11 @@ const EmploymentAndWorkplaceQuestions = () => group(
1987
1137
  haveAttorney(),
1988
1138
  numEmployeesOfBusiness(),
1989
1139
  employerType(),
1990
- degreeOfInterest(),
1991
- lawyerPaymentMethod()
1992
- ]
1993
- }
1994
- );
1995
-
1996
- const ExpungementQuestions = () => group(
1997
- 'ExpungementQuestions',
1998
- {
1999
- if: '$get(Type_Of_Legal_Problem).value == "Expungement"',
2000
- children: [
2001
- haveAttorney(),
2002
- incidentDate(),
2003
- criminalChargeType(),
2004
- degreeOfInterest(),
2005
- lawyerPaymentMethod()
2006
- ]
2007
- }
2008
- );
2009
-
2010
- const FamilyIssuesQuestions = () => group(
2011
- 'FamilyIssuesQuestions',
2012
- {
2013
- if: '$get(Type_Of_Legal_Problem).value == "Family Issues"',
2014
- children: [
2015
- haveAttorney(),
2016
- maritalStatus(),
2017
- haveChildren(),
2018
- degreeOfInterest(),
2019
- lawyerPaymentMethod()
2020
- ]
2021
- }
2022
- );
2023
-
2024
- const ForeclosureQuestions = () => group(
2025
- 'ForeclosureQuestions',
2026
- {
2027
- if: '$get(Type_Of_Legal_Problem).value == "Foreclosure"',
2028
- children: [
2029
- haveAttorney(),
2030
- ownRealEstate(),
2031
- typeOfProperty(),
2032
- amountPaymentsPastDue(),
2033
- loanAmount(),
2034
- defaultNotice(),
2035
- degreeOfInterestHelp()
2036
- ]
2037
- }
2038
- );
2039
-
2040
- const GuardianshipQuestions = () => group(
2041
- 'GuardianshipQuestions',
2042
- {
2043
- if: '$get(Type_Of_Legal_Problem).value == "Guardianship"',
2044
- children: [
2045
- haveAttorney(),
2046
- maritalStatus(),
2047
- haveChildren(),
2048
- degreeOfInterest(),
2049
- lawyerPaymentMethod()
2050
- ]
2051
- }
2052
- );
2053
-
2054
- const HarassmentAndDiscriminationQuestions = () => group(
2055
- 'HarassmentAndDiscriminationQuestions',
2056
- {
2057
- if: '$get(Type_Of_Legal_Problem).value == "Harassment and Discrimination"',
2058
- children: [
2059
- haveAttorney(),
2060
- degreeOfInterestHelp()
2061
- ]
2062
- }
2063
- );
2064
-
2065
- const IdentityTheftQuestions = () => group(
2066
- 'IdentityTheftQuestions',
2067
- {
2068
- if: '$get(Type_Of_Legal_Problem).value == "Identity Theft"',
2069
- children: [
2070
- haveAttorney(),
2071
1140
  degreeOfInterestHelp()
2072
1141
  ]
2073
1142
  }
2074
1143
  );
2075
1144
 
2076
- const ImmigrationAndVisasQuestions = () => group(
2077
- 'ImmigrationAndVisasQuestions',
2078
- {
2079
- if: '$get(Type_Of_Legal_Problem).value == "Immigration and Visas"',
2080
- children: [
2081
- haveAttorney(),
2082
- countryOfCitizenship(),
2083
- immigrationLocation(),
2084
- immigrationEntry(),
2085
- immigrationType(),
2086
- immigrationStatus(),
2087
- immigrationDetails(),
2088
- degreeOfInterestHelp()
2089
- ]
2090
- }
2091
- );
2092
-
2093
- const InsuranceQuestions = () => group(
2094
- 'InsuranceQuestions',
2095
- {
2096
- if: '$get(Type_Of_Legal_Problem).value == "Insurance"',
2097
- children: [
2098
- haveAttorney(),
2099
- degreeOfInterestHelp()
2100
- ]
2101
- }
2102
- );
2103
-
2104
- const LandlordAndTenantQuestions = () => group(
2105
- 'LandlordAndTenantQuestions',
2106
- {
2107
- if: '$get(Type_Of_Legal_Problem).value == "Landlord and Tenant"',
2108
- children: [
2109
- haveAttorney(),
2110
- landlordTenantParty(),
2111
- landlordTenantIssue(),
2112
- degreeOfInterestHelp()
2113
- ]
2114
- }
2115
- );
2116
-
2117
- const LemonLawQuestions = () => group(
2118
- 'LemonLawQuestions',
2119
- {
2120
- if: '$get(Type_Of_Legal_Problem).value == "Lemon Law"',
2121
- children: [
2122
- haveAttorney(),
2123
- incidentDate(),
2124
- lawsuitOtherParty(),
2125
- degreeOfInterestHelp()
2126
- ]
2127
- }
2128
- );
2129
-
2130
- const LongTermDisabilityQuestions = () => group(
2131
- 'LongTermDisabilityQuestions',
2132
- {
2133
- if: '$get(Type_Of_Legal_Problem).value == "Long Term Disability"',
2134
- children: [
2135
- haveAttorney(),
2136
- applicantOccupation(),
2137
- applicantAge(),
2138
- applicantLTDisabilityPolicy(),
2139
- applicantDisabilityHowObtain(),
2140
- applicantPreviouslyAppliedLtdBenefits(),
2141
- applicantReceivedDisabilityBenefits(),
2142
- applicantMonthlySalary()
2143
- ]
2144
- }
2145
- );
2146
-
2147
1145
  const MedicalMalpracticeQuestions = () => group(
2148
1146
  'MedicalMalpracticeQuestions',
2149
1147
  {
@@ -2159,31 +1157,6 @@ const MedicalMalpracticeQuestions = () => group(
2159
1157
  }
2160
1158
  );
2161
1159
 
2162
- const NursingHomeAbuseQuestions = () => group(
2163
- 'NursingHomeAbuseQuestions',
2164
- {
2165
- if: '$get(Type_Of_Legal_Problem).value == "Nursing Home Abuse"',
2166
- children: [
2167
- haveAttorney(),
2168
- incidentDate(),
2169
- nursingHomeStatus()
2170
- ]
2171
- }
2172
- );
2173
-
2174
- const PatentsAndIntellectualPropertyQuestions = () => group(
2175
- 'PatentsAndIntellectualPropertyQuestions',
2176
- {
2177
- if: '$get(Type_Of_Legal_Problem).value == "Patents and Intellectual Property"',
2178
- children: [
2179
- haveAttorney(),
2180
- patentAssistanceType(),
2181
- patentFor(),
2182
- degreeOfInterestHelp()
2183
- ]
2184
- }
2185
- );
2186
-
2187
1160
  const PersonalInjuryQuestions = () => group(
2188
1161
  'PersonalInjuryQuestions',
2189
1162
  {
@@ -2199,43 +1172,6 @@ const PersonalInjuryQuestions = () => group(
2199
1172
  }
2200
1173
  );
2201
1174
 
2202
- const PowerofAttorneyQuestions = () => group(
2203
- 'PowerofAttorneyQuestions',
2204
- {
2205
- if: '$get(Type_Of_Legal_Problem).value == "Power of Attorney"',
2206
- children: [
2207
- haveAttorney(),
2208
- degreeOfInterestHelp()
2209
- ]
2210
- }
2211
- );
2212
-
2213
- const ProbateAndEstatesQuestions = () => group(
2214
- 'ProbateAndEstatesQuestions',
2215
- {
2216
- if: '$get(Type_Of_Legal_Problem).value == "Probate and Estates"',
2217
- children: [
2218
- haveAttorney(),
2219
- valueOfAssets(),
2220
- typeOfAssets(),
2221
- roleInMatterProbate(),
2222
- estateLegalServicesNeeded(),
2223
- degreeOfInterestHelp()
2224
- ]
2225
- }
2226
- );
2227
-
2228
- const ProductLiabilityQuestions = () => group(
2229
- 'ProductLiabilityQuestions',
2230
- {
2231
- if: '$get(Type_Of_Legal_Problem).value == "Product Liability"',
2232
- children: [
2233
- haveAttorney(),
2234
- degreeOfInterestHelp()
2235
- ]
2236
- }
2237
- );
2238
-
2239
1175
  const PropertyDamageQuestions = () => group(
2240
1176
  'PropertyDamageQuestions',
2241
1177
  {
@@ -2262,158 +1198,6 @@ const RealEstateQuestions = () => group(
2262
1198
  }
2263
1199
  );
2264
1200
 
2265
- const SocialSecurityDisabilityAndInsuranceQuestions = () => group(
2266
- 'SocialSecurityDisabilityAndInsuranceQuestions',
2267
- {
2268
- if: '$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',
2269
- children: [
2270
- haveAttorney(),
2271
- applicantAge(),
2272
- disabilityConditionStopWork(),
2273
- disabilityWorkHistory(),
2274
- socialSecurityDisabilityReceivingBenefits(),
2275
- doctorTreatment()
2276
- ]
2277
- }
2278
- );
2279
-
2280
- const TaxAndIRSQuestions = () => group(
2281
- 'TaxAndIRSQuestions',
2282
- {
2283
- if: '$get(Type_Of_Legal_Problem).value == "Tax and IRS"',
2284
- children: [
2285
- haveAttorney(),
2286
- totalDebt(),
2287
- taxProblemDetails(),
2288
- taxLevel(),
2289
- taxIssueType(),
2290
- degreeOfInterestHelp()
2291
- ]
2292
- }
2293
- );
2294
-
2295
- const TrafficAndTicketsQuestions = () => group(
2296
- 'TrafficAndTicketsQuestions',
2297
- {
2298
- if: '$get(Type_Of_Legal_Problem).value == "Traffic and Tickets"',
2299
- children: [
2300
- haveAttorney(),
2301
- driversLicenseType(),
2302
- trafficViolations(),
2303
- haveCourtDate(),
2304
- degreeOfInterestHelp()
2305
- ]
2306
- }
2307
- );
2308
-
2309
- const UnemploymentQuestions = () => group(
2310
- 'UnemploymentQuestions',
2311
- {
2312
- if: '$get(Type_Of_Legal_Problem).value == "Unemployment"',
2313
- children: [
2314
- numEmployeesOfBusiness(),
2315
- employerType(),
2316
- degreeOfInterestHelp()
2317
- ]
2318
- }
2319
- );
2320
-
2321
- const VaccinationInjuryQuestions = () => group(
2322
- 'VaccinationInjuryQuestions',
2323
- {
2324
- if: '$get(Type_Of_Legal_Problem).value == "Vaccination Injury"',
2325
- children: [
2326
- haveAttorney(),
2327
- incidentDate()
2328
- ]
2329
- }
2330
- );
2331
-
2332
- const VeteransDisabilityQuestions = () => group(
2333
- 'VeteransDisabilityQuestions',
2334
- {
2335
- if: '$get(Type_Of_Legal_Problem).value == "Veteran\'s Disability"',
2336
- children: [
2337
- veteransDisabilityRelationship(),
2338
- veteransDisabilityInjured(),
2339
- veteransDisabilityConditions(),
2340
- veteransDisabilityApplied()
2341
- ]
2342
- }
2343
- );
2344
-
2345
- const VictimOfACrimeQuestions = () => group(
2346
- 'VictimOfACrimeQuestions',
2347
- {
2348
- if: '$get(Type_Of_Legal_Problem).value == "Victim of a Crime"',
2349
- children: [
2350
- haveAttorney(),
2351
- crimeCommittedDate(),
2352
- roleInMatterCriminal(),
2353
- pendingCharges(),
2354
- degreeOfInterest(),
2355
- lawyerPaymentMethod()
2356
- ]
2357
- }
2358
- );
2359
-
2360
- const WillsAndTrustsQuestions = () => group(
2361
- 'WillsAndTrustsQuestions',
2362
- {
2363
- if: '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',
2364
- children: [
2365
- haveAttorney(),
2366
- valueOfAssets(),
2367
- typeOfAssets(),
2368
- roleInMatterProbate(),
2369
- estateLegalServicesNeeded(),
2370
- degreeOfInterestHelp()
2371
- ]
2372
- }
2373
- );
2374
-
2375
- const WorkersCompensationQuestions = () => group(
2376
- 'WorkersCompensationQuestions',
2377
- {
2378
- if: '$get(Type_Of_Legal_Problem).value == "Workers Compensation"',
2379
- children: [
2380
- haveAttorney(),
2381
- incidentDate(),
2382
- claimStatus(),
2383
- primaryInjury(),
2384
- causeOfInjury(),
2385
- doctorTreatment()
2386
- ]
2387
- }
2388
- );
2389
-
2390
- const WrongfulDeathQuestions = () => group(
2391
- 'WrongfulDeathQuestions',
2392
- {
2393
- if: '$get(Type_Of_Legal_Problem).value == "Wrongful Death"',
2394
- children: [
2395
- haveAttorney(),
2396
- incidentDate(),
2397
- relationshipToVictim(),
2398
- criminalChargesFiled(),
2399
- causeOfDeath()
2400
- ]
2401
- }
2402
- );
2403
-
2404
- const WrongfulTerminationQuestions = () => group(
2405
- 'WrongfulTerminationQuestions',
2406
- {
2407
- if: '$get(Type_Of_Legal_Problem).value == "Wrongful Termination"',
2408
- children: [
2409
- haveAttorney(),
2410
- numEmployeesOfBusiness(),
2411
- employerType(),
2412
- degreeOfInterestHelp()
2413
- ]
2414
- }
2415
- );
2416
-
2417
1201
  const NotSureOrOtherQuestions = () => group(
2418
1202
  'NotSureOrOtherQuestions',
2419
1203
  {
@@ -2460,6 +1244,56 @@ const stepDefaults = (step) => ({
2460
1244
  }
2461
1245
  });
2462
1246
 
1247
+ function questionsStepHeadline(updates) {
1248
+ return {
1249
+ $el: 'h3',
1250
+ children: updates.headline || 'Tell Us About Your Case',
1251
+ attrs: {
1252
+ 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'
1253
+ }
1254
+ }
1255
+ }
1256
+
1257
+ function commentsStepHeadline(updates) {
1258
+ return {
1259
+ $el: 'h3',
1260
+ children: updates.headline || 'Additional Case Details',
1261
+ attrs: {
1262
+ 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'
1263
+ }
1264
+ }
1265
+ }
1266
+
1267
+ function firstAndLastStepHeadline(updates) {
1268
+ return {
1269
+ $el: 'h3',
1270
+ children: updates.headline || 'Please Provide a Contact Name',
1271
+ attrs: {
1272
+ 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'
1273
+ }
1274
+ }
1275
+ }
1276
+
1277
+ function contactStepHeadline(updates) {
1278
+ return {
1279
+ $el: 'h3',
1280
+ children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
1281
+ attrs: {
1282
+ 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'
1283
+ }
1284
+ }
1285
+ }
1286
+
1287
+ function contactStepSubHeadline(updates) {
1288
+ return {
1289
+ $el: 'h5',
1290
+ children: updates.subheadline || DEFAULT_FINAL_SUBHEADLINE_DYNAMIC,
1291
+ attrs: {
1292
+ class: 't-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3'
1293
+ }
1294
+ }
1295
+ }
1296
+
2463
1297
  function step(name, inputs, nextOnEnter = true) {
2464
1298
  if (typeof nextOnEnter === 'undefined') {
2465
1299
  nextOnEnter = true;
@@ -2497,7 +1331,7 @@ function civilLawsuitTOLPAndZip(updates = {}) {
2497
1331
  civilDefense({
2498
1332
  if: 'true'
2499
1333
  }),
2500
- civilTOLPDisplay({
1334
+ civilLawsuitTOLPDisplay({
2501
1335
  if: '$get(Civil_Defense).value == "No"'
2502
1336
  }),
2503
1337
  zipcode()
@@ -2506,53 +1340,27 @@ function civilLawsuitTOLPAndZip(updates = {}) {
2506
1340
  )
2507
1341
  }
2508
1342
 
2509
- const DEFAULT_COMMENTS_PLACEHOLDER = 'For Example: "I\'ve been involved in an auto accident" or "I need Power of Attorney"';
2510
- const DEFAULT_COMMENTS_PLACEHOLDER_V2 = '$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
2511
- const DEFAULT_COMMENTS_LABEL = 'Please briefly describe your legal issue in a few words:';
2512
-
2513
1343
  function commentsWithBankruptcyV2(updates = {}) {
2514
1344
  return step(
2515
1345
  'commentsWithBankruptcy',
2516
1346
  [
2517
- {
2518
- $el: 'h3',
2519
- children: 'Additional Case Details',
2520
- attrs: {
2521
- 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'
2522
- }
2523
- },
1347
+ commentsStepHeadline(updates),
2524
1348
  comments({
2525
1349
  label: updates.label || DEFAULT_COMMENTS_LABEL,
2526
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_V2
1350
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC
2527
1351
  }),
2528
1352
  bankruptcyCrossSell()
2529
1353
  ],
2530
1354
  updates.nextOnEnter
2531
1355
  )
2532
1356
  }
2533
- const DEFAULT_FINAL_HEADLINE_V2 = 'Submit Your Case';
2534
- const DEFAULT_FINAL_HEADLINE_V2_b = '$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
2535
- const DEFAULT_FINAL_SUBHEADLINE_V2 = 'You may benefit from speaking with a legal professional. Please verify your contact information.';
2536
- const DEFAULT_FINAL_SUBHEADLINE_V2_b = '$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
2537
1357
 
2538
1358
  function contactInfoV2(updates = {}) {
2539
1359
  return step(
2540
1360
  'contactInfo',
2541
1361
  [
2542
- {
2543
- $el: 'h3',
2544
- children: updates.headline || DEFAULT_FINAL_HEADLINE_V2_b,
2545
- attrs: {
2546
- 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'
2547
- }
2548
- },
2549
- {
2550
- $el: 'h5',
2551
- children: updates.subheadline || DEFAULT_FINAL_SUBHEADLINE_V2_b,
2552
- attrs: {
2553
- class: 't-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3'
2554
- }
2555
- },
1362
+ contactStepHeadline(updates),
1363
+ contactStepSubHeadline(updates),
2556
1364
  email(),
2557
1365
  phone(),
2558
1366
  TCPAConsent(),
@@ -2566,13 +1374,7 @@ function firstAndLastV2(updates = {}) {
2566
1374
  return step(
2567
1375
  'firstAndLast',
2568
1376
  [
2569
- {
2570
- $el: 'h3',
2571
- children: 'Please Provide a Contact Name',
2572
- attrs: {
2573
- 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'
2574
- }
2575
- },
1377
+ firstAndLastStepHeadline(updates),
2576
1378
  firstName(),
2577
1379
  lastName()
2578
1380
  ],
@@ -2580,76 +1382,23 @@ function firstAndLastV2(updates = {}) {
2580
1382
  )
2581
1383
  }
2582
1384
 
2583
- const AllTOLPQuestions = () => {
2584
- return [
2585
- AdoptionQuestions(),
2586
- AsbestosAndMesotheliomaQuestions(),
2587
- AutoAndCarAccidentsQuestions(),
2588
- BankruptcyQuestions(),
2589
- BirthCertificateAndNameChangeQuestions(),
2590
- BusinessLawyersQuestions(),
2591
- ChildCustodyAndSupportQuestions(),
2592
- CivilRightsAndDiscriminationQuestions(),
2593
- CivilLawsuitQuestions(),
2594
- ConsumerLawyersQuestions(),
2595
- CopyrightsAndTrademarksQuestions(),
2596
- CriminalAndFelonyQuestions(),
2597
- DebtAndCollectionsQuestions(),
2598
- DivorceQuestions(),
2599
- DUIAndDWIQuestions(),
2600
- ElderLawQuestions(),
2601
- EmploymentAndWorkplaceQuestions(),
2602
- ExpungementQuestions(),
2603
- FamilyIssuesQuestions(),
2604
- ForeclosureQuestions(),
2605
- GuardianshipQuestions(),
2606
- HarassmentAndDiscriminationQuestions(),
2607
- IdentityTheftQuestions(),
2608
- ImmigrationAndVisasQuestions(),
2609
- InsuranceQuestions(),
2610
- LandlordAndTenantQuestions(),
2611
- LemonLawQuestions(),
2612
- LongTermDisabilityQuestions(),
2613
- MedicalMalpracticeQuestions(),
2614
- NursingHomeAbuseQuestions(),
2615
- PatentsAndIntellectualPropertyQuestions(),
2616
- PersonalInjuryQuestions(),
2617
- PowerofAttorneyQuestions(),
2618
- ProbateAndEstatesQuestions(),
2619
- ProductLiabilityQuestions(),
2620
- PropertyDamageQuestions(),
2621
- RealEstateQuestions(),
2622
- SocialSecurityDisabilityAndInsuranceQuestions(),
2623
- TaxAndIRSQuestions(),
2624
- TrafficAndTicketsQuestions(),
2625
- UnemploymentQuestions(),
2626
- VaccinationInjuryQuestions(),
2627
- VeteransDisabilityQuestions(),
2628
- VictimOfACrimeQuestions(),
2629
- WillsAndTrustsQuestions(),
2630
- WorkersCompensationQuestions(),
2631
- WrongfulDeathQuestions(),
2632
- WrongfulTerminationQuestions(),
2633
- NotSureOrOtherQuestions()
2634
- ]
2635
- };
2636
-
2637
- function generalLegalTOLPQuestions(updates = {}) {
2638
- var questions = AllTOLPQuestions();
2639
-
2640
- questions.unshift(
2641
- {
2642
- $el: 'h3',
2643
- children: updates.headline || 'Tell Us About Your Case',
2644
- attrs: {
2645
- 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'
2646
- }
2647
- },
2648
- );
2649
-
1385
+ function civilLawsuitTOLPQuestions(updates = {}) {
2650
1386
  return step(
2651
1387
  'TOLPQuestions',
2652
- questions,
1388
+ [
1389
+ questionsStepHeadline(updates),
1390
+ AutoAndCarAccidentsQuestions(),
1391
+ BusinessLawyersQuestions(),
1392
+ DefendLawsuitQuestions(),
1393
+ FileLawsuitQuestions(),
1394
+ PersonalInjuryQuestions(),
1395
+ EmploymentAndWorkplaceQuestions(),
1396
+ ConsumerLawyersQuestions(),
1397
+ MedicalMalpracticeQuestions(),
1398
+ PropertyDamageQuestions(),
1399
+ RealEstateQuestions(),
1400
+ NotSureOrOtherQuestions()
1401
+ ],
2653
1402
  updates.nextOnEnter
2654
1403
  )
2655
1404
  }
@@ -2742,33 +1491,21 @@ const formDetails = () => ({
2742
1491
  });
2743
1492
 
2744
1493
  const schema = [
2745
- metaProps({
2746
- defaultCommentsPlaceholder: DEFAULT_COMMENTS_PLACEHOLDER,
2747
- commentsPlaceholders: TOLPCommentsPlaceholders,
2748
- defaultFinalHeadline: DEFAULT_FINAL_HEADLINE_V2,
2749
- finalHeadlines: TOLPFinalHeadlines,
2750
- defaultFinalSubHeadline: DEFAULT_FINAL_SUBHEADLINE_V2,
2751
- finalSubHeadlines: TOLPFinalSubHeadlines
2752
- }),
1494
+ defaultMetaProps(),
2753
1495
  formAnchor(),
2754
1496
  {
2755
1497
  $cmp: 'FormKit',
2756
1498
  props: formProps({
2757
1499
  formId: 'civilLawsuit',
2758
- onSubmit: '$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',
2759
1500
  redirectMap: legalRedirectMap(),
2760
- anchorElement: 'form-anchor',
2761
- valueOverrideMap: legalCivilValueOverrideMap
1501
+ valueOverrideMap: legalAllValueOverrideMap
2762
1502
  }),
2763
1503
  children: [
2764
1504
  headline({
2765
1505
  children: '$urlParam("hl", "Schedule a Lawsuit Consultation")',
2766
1506
  if: '$activeStep === $firstStep()'
2767
1507
  }),
2768
- subHeadline({
2769
- children: '$urlParam("shl", "Our Service is Fast and Free!")',
2770
- if: '$activeStep === $firstStep()'
2771
- }),
1508
+ defaultSubHeadline(),
2772
1509
  ...hiddenInputs,
2773
1510
  {
2774
1511
  $el: 'div',
@@ -2777,7 +1514,7 @@ const schema = [
2777
1514
  },
2778
1515
  children: [
2779
1516
  civilLawsuitTOLPAndZip(),
2780
- generalLegalTOLPQuestions(),
1517
+ civilLawsuitTOLPQuestions(),
2781
1518
  commentsWithBankruptcyV2({
2782
1519
  nextOnEnter: false
2783
1520
  }),