bhl-forms 0.2.9 → 0.3.2
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.
- package/dist/bhl-forms.es.js +1020 -593
- package/dist/bhl-forms.iife.js +7 -7
- package/dist/bhl-forms.modern.es.js +3160 -2662
- package/dist/bhl-forms.modern.iife.js +10 -10
- package/dist/bhl-forms.modern.umd.js +10 -10
- package/dist/bhl-forms.umd.js +7 -7
- package/dist/forms/accidentsAndInjuries.es.js +49 -113
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/appraisals.es.js +3 -7
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/appraisals.json +1 -1
- package/dist/forms/childAndFamily.es.js +49 -113
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/civilLawsuit.es.js +51 -114
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/coins.es.js +3 -7
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/coins.json +1 -1
- package/dist/forms/contracts.es.js +14 -78
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +180 -380
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +43 -107
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalLegal.es.js +191 -477
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +188 -390
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderTF.es.js +180 -383
- package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderTF.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +180 -383
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +14 -78
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/malpractice.es.js +21 -85
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +3 -7
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/realEstate.es.js +180 -380
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +16 -80
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +24 -145
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +4 -68
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/forms/testRedirects.es.js +3 -11
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/vets.es.js +3 -7
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/vets.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +42 -106
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/dist/main.css +1 -1
- package/package.json +4 -4
|
@@ -411,7 +411,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
411
411
|
'Lemon Law': 'Example: "I purchased a new vehicle that broke down already and seller will not assist"',
|
|
412
412
|
'Long Term Disability': 'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',
|
|
413
413
|
'Medical Malpractice': 'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',
|
|
414
|
-
'Nursing Home Abuse': 'Example: "My mother\'s nursing home is physically abusing her"',
|
|
415
414
|
'Patents and Intellectual Property': 'Example: "I would like to file for a patent" or "I need to copyright a name"',
|
|
416
415
|
'Personal Injury': 'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',
|
|
417
416
|
'Power of Attorney': 'Example: "I need help with a limited or general power of attorney"',
|
|
@@ -423,8 +422,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
423
422
|
'Tax and IRS': 'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',
|
|
424
423
|
'Traffic and Tickets': 'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',
|
|
425
424
|
'Unemployment': 'Example: "I need help filing for unemployment benefits"',
|
|
426
|
-
'Vaccination Injury': 'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',
|
|
427
|
-
'Veteran\'s Disability': 'Example: "I would like help filing for disability benefits"',
|
|
428
425
|
'Victim of a Crime': 'Example: "I was assaulted in the store" or "I am being discriminated against at work"',
|
|
429
426
|
'Wills and Trusts': 'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',
|
|
430
427
|
'Workers Compensation': 'Example: "I was injured at work and would like to file for workers compensation benefits"',
|
|
@@ -435,59 +432,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
435
432
|
|
|
436
433
|
const TOLPFinalHeadlines = {
|
|
437
434
|
// 'Adoption': '',
|
|
438
|
-
// 'Asbestos and Mesothelioma': '',
|
|
439
|
-
// 'Auto and Car Accidents': '',
|
|
440
|
-
// 'Bankruptcy': '',
|
|
441
|
-
// 'Birth Certificate and Name Change': '',
|
|
442
|
-
// 'Business Lawyers': '',
|
|
443
|
-
// 'Child Custody and Support': '',
|
|
444
|
-
// 'Civil Rights and Discrimination': '',
|
|
445
|
-
// 'Civil Lawsuit': '',
|
|
446
|
-
// 'Consumer Lawyers': '',
|
|
447
|
-
// 'Copyrights and Trademarks': '',
|
|
448
|
-
// 'Criminal and Felony': '',
|
|
449
|
-
// 'Debt and Collections': '',
|
|
450
|
-
// 'Divorce and Separation': '',
|
|
451
|
-
// 'DUI and DWI': '',
|
|
452
|
-
// 'Elder Law': '',
|
|
453
|
-
// 'Employment and Workplace': '',
|
|
454
|
-
// 'Expungement': '',
|
|
455
|
-
// 'Family Issues': '',
|
|
456
|
-
// 'Foreclosure': '',
|
|
457
|
-
// 'Guardianship': '',
|
|
458
|
-
// 'Harassment and Discrimination': '',
|
|
459
|
-
// 'Identity Theft': '',
|
|
460
|
-
// 'Immigration and Visas': '',
|
|
461
|
-
// 'Insurance': '',
|
|
462
|
-
// 'Landlord and Tenant': '',
|
|
463
|
-
// 'Lemon Law': '',
|
|
464
|
-
// 'Long Term Disability': '',
|
|
465
|
-
// 'Medical Malpractice': '',
|
|
466
|
-
// 'Nursing Home Abuse': '',
|
|
467
|
-
// 'Patents and Intellectual Property': '',
|
|
468
|
-
// 'Personal Injury': '',
|
|
469
|
-
// 'Power of Attorney': '',
|
|
470
|
-
// 'Probate and Estates': '',
|
|
471
|
-
// 'Product Liability': '',
|
|
472
|
-
// 'Property Damage': '',
|
|
473
|
-
// 'Real Estate': '',
|
|
474
|
-
// 'Social Security Disability and Insurance': '',
|
|
475
|
-
// 'Tax and IRS': '',
|
|
476
|
-
// 'Traffic and Tickets': '',
|
|
477
|
-
// 'Unemployment': '',
|
|
478
|
-
// 'Vaccination Injury': '',
|
|
479
|
-
// 'Veteran\'s Disability': '',
|
|
480
|
-
// 'Victim of a Crime': '',
|
|
481
|
-
// 'Wills and Trusts': '',
|
|
482
|
-
// 'Workers Compensation': '',
|
|
483
|
-
// 'Wrongful Death': '',
|
|
484
|
-
// 'Wrongful Termination': '',
|
|
485
|
-
// 'Not Sure or Other': ''
|
|
486
|
-
// 'Sexual Harassment': '',
|
|
487
|
-
// 'Workplace Harassment': '',
|
|
488
|
-
// 'Non-Workplace Harassment': '',
|
|
489
|
-
// 'Workplace Discrimination': '',
|
|
490
|
-
// 'Non-Workplace Discrimination': '',
|
|
491
435
|
};
|
|
492
436
|
|
|
493
437
|
const TOLPFinalSubHeadlines = {
|
|
@@ -520,7 +464,6 @@ const TOLPFinalSubHeadlines = {
|
|
|
520
464
|
// 'Lemon Law': '',
|
|
521
465
|
'Long Term Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
|
|
522
466
|
'Medical Malpractice': 'You may benefit from speaking with a malpractice professional. Please verify your contact information.',
|
|
523
|
-
// 'Nursing Home Abuse': '',
|
|
524
467
|
'Patents and Intellectual Property': 'You may benefit from speaking with a patent professional. Please verify your contact information.',
|
|
525
468
|
'Personal Injury': 'You may benefit from speaking with a personal injury professional. Please verify your contact information.',
|
|
526
469
|
// 'Power of Attorney': '',
|
|
@@ -532,8 +475,6 @@ const TOLPFinalSubHeadlines = {
|
|
|
532
475
|
'Tax and IRS': 'You may benefit from speaking with a tax professional. Please verify your contact information.',
|
|
533
476
|
// 'Traffic and Tickets': '',
|
|
534
477
|
'Unemployment': 'You may benefit from speaking with an unemployment professional. Please verify your contact information.',
|
|
535
|
-
// 'Vaccination Injury': '',
|
|
536
|
-
'Veteran\'s Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
|
|
537
478
|
// 'Victim of a Crime': '',
|
|
538
479
|
// 'Wills and Trusts': '',
|
|
539
480
|
'Workers Compensation': 'You may benefit from speaking with a workers compensation professional. Please verify your contact information.',
|
|
@@ -653,7 +594,6 @@ const sbsSelect = (updates) => {
|
|
|
653
594
|
return select(updates)
|
|
654
595
|
};
|
|
655
596
|
|
|
656
|
-
|
|
657
597
|
const text = (updates) => {
|
|
658
598
|
return merge({
|
|
659
599
|
$formkit: 'text',
|
|
@@ -717,71 +657,30 @@ const amountPaymentsPastDue = () => sbsSelect({
|
|
|
717
657
|
]
|
|
718
658
|
});
|
|
719
659
|
|
|
720
|
-
const applicantOccupation = () => sbsText({
|
|
660
|
+
const applicantOccupation = (scope) => sbsText({
|
|
661
|
+
name: scope ? scope + ':' + 'Applicant_Occupation' : 'Applicant_Occupation',
|
|
721
662
|
label: "What is the Applicant's Occupation?",
|
|
722
|
-
name: 'Applicant_Occupation',
|
|
723
663
|
placeholder: "Occupation"
|
|
724
664
|
});
|
|
725
665
|
|
|
726
666
|
|
|
727
|
-
const applicantAge = () =>
|
|
667
|
+
const applicantAge = (scope) => sbsText({
|
|
668
|
+
name: scope ? scope + ':' + 'Applicant_Age' : 'Applicant_Age',
|
|
728
669
|
label: 'Age of Applicant?',
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
"25",
|
|
739
|
-
"26",
|
|
740
|
-
"27",
|
|
741
|
-
"28",
|
|
742
|
-
"29",
|
|
743
|
-
"30",
|
|
744
|
-
"31",
|
|
745
|
-
"32",
|
|
746
|
-
"33",
|
|
747
|
-
"34",
|
|
748
|
-
"35",
|
|
749
|
-
"36",
|
|
750
|
-
"37",
|
|
751
|
-
"38",
|
|
752
|
-
"39",
|
|
753
|
-
"40",
|
|
754
|
-
"41",
|
|
755
|
-
"42",
|
|
756
|
-
"43",
|
|
757
|
-
"44",
|
|
758
|
-
"45",
|
|
759
|
-
"46",
|
|
760
|
-
"47",
|
|
761
|
-
"48",
|
|
762
|
-
"49",
|
|
763
|
-
"50",
|
|
764
|
-
"51",
|
|
765
|
-
"52",
|
|
766
|
-
"53",
|
|
767
|
-
"54",
|
|
768
|
-
"55",
|
|
769
|
-
"56",
|
|
770
|
-
"57",
|
|
771
|
-
"58",
|
|
772
|
-
"59",
|
|
773
|
-
"60",
|
|
774
|
-
"61",
|
|
775
|
-
"62",
|
|
776
|
-
"63",
|
|
777
|
-
"64",
|
|
778
|
-
"65"
|
|
779
|
-
]
|
|
670
|
+
placeholder: 'Age between 18 and 65',
|
|
671
|
+
maxlength: 2,
|
|
672
|
+
inputmode: "numeric",
|
|
673
|
+
validation: "required|min:18,max:65",
|
|
674
|
+
validationMessages: {
|
|
675
|
+
required: 'Applicant Age is required',
|
|
676
|
+
min: 'Invalid Age - must be between 18 and 65',
|
|
677
|
+
max: 'Invalid Age - must be between 18 and 65',
|
|
678
|
+
}
|
|
780
679
|
});
|
|
781
680
|
|
|
782
|
-
const applicantDisabilityHowObtain = () => sbsSelect({
|
|
681
|
+
const applicantDisabilityHowObtain = (scope) => sbsSelect({
|
|
682
|
+
name: scope ? scope + ':' + 'Applicant_Disability_How_Obtain' : 'Applicant_Disability_How_Obtain',
|
|
783
683
|
label: 'How Did Applicant Obtain the Disability Policy?',
|
|
784
|
-
name: 'Applicant_Disability_How_Obtain',
|
|
785
684
|
options: [
|
|
786
685
|
"Employer",
|
|
787
686
|
"Self",
|
|
@@ -789,8 +688,8 @@ const applicantDisabilityHowObtain = () => sbsSelect({
|
|
|
789
688
|
]
|
|
790
689
|
});
|
|
791
690
|
|
|
792
|
-
const applicantPreviouslyAppliedLtdBenefits = () => sbsRadio({
|
|
793
|
-
name: 'Applicant_Previously_Apply_Ltd_Benefits',
|
|
691
|
+
const applicantPreviouslyAppliedLtdBenefits = (scope) => sbsRadio({
|
|
692
|
+
name: scope ? scope + ':' + 'Applicant_Previously_Apply_Ltd_Benefits' : 'Applicant_Previously_Apply_Ltd_Benefits',
|
|
794
693
|
label: 'Has Applicant Previously Applied for Long Term Disability Benefits?',
|
|
795
694
|
options: [
|
|
796
695
|
"Yes, claim pending",
|
|
@@ -799,9 +698,9 @@ const applicantPreviouslyAppliedLtdBenefits = () => sbsRadio({
|
|
|
799
698
|
]
|
|
800
699
|
});
|
|
801
700
|
|
|
802
|
-
const applicantMonthlySalary = () => sbsSelect({
|
|
701
|
+
const applicantMonthlySalary = (scope) => sbsSelect({
|
|
702
|
+
name: scope ? scope + ':' + 'Applicant_Monthly_Salary' : 'Applicant_Monthly_Salary',
|
|
803
703
|
label: "Applicant's Monthly Salary/Pay When Last at Work:",
|
|
804
|
-
name: 'Applicant_Monthly_Salary',
|
|
805
704
|
options: [
|
|
806
705
|
"< $1,000",
|
|
807
706
|
"$1,000 - $2,000",
|
|
@@ -817,8 +716,8 @@ const applicantMonthlySalary = () => sbsSelect({
|
|
|
817
716
|
]
|
|
818
717
|
});
|
|
819
718
|
|
|
820
|
-
const applicantReceivedDisabilityBenefits = () => sbsRadio({
|
|
821
|
-
name: 'Applicant_Received_Disability_Benefits',
|
|
719
|
+
const applicantReceivedDisabilityBenefits = (scope) => sbsRadio({
|
|
720
|
+
name: scope ? scope + ':' + 'Applicant_Received_Disability_Benefits' : 'Applicant_Received_Disability_Benefits',
|
|
822
721
|
label: 'Has Applicant Ever Received Long Term Disability Benefits for this Claim?',
|
|
823
722
|
options: [
|
|
824
723
|
"Yes, currently receiving",
|
|
@@ -827,13 +726,13 @@ const applicantReceivedDisabilityBenefits = () => sbsRadio({
|
|
|
827
726
|
]
|
|
828
727
|
});
|
|
829
728
|
|
|
830
|
-
const applicantLTDisabilityPolicy = () => sbsYesNoRadio({
|
|
831
|
-
name: 'Applicant_Lt_Disability_Policy',
|
|
729
|
+
const applicantLTDisabilityPolicy = (scope) => sbsYesNoRadio({
|
|
730
|
+
name: scope ? scope + ':' + 'Applicant_Lt_Disability_Policy' : 'Applicant_Lt_Disability_Policy',
|
|
832
731
|
label: 'Does Applicant have a Long Term Disability Policy?'
|
|
833
732
|
});
|
|
834
733
|
|
|
835
|
-
const atFault = () => sbsYesNoRadio({
|
|
836
|
-
name: 'At_Fault',
|
|
734
|
+
const atFault = (scope) => sbsYesNoRadio({
|
|
735
|
+
name: scope ? scope + ':' + 'At_Fault' : 'At_Fault',
|
|
837
736
|
label: 'Were You at Fault?'
|
|
838
737
|
});
|
|
839
738
|
|
|
@@ -846,9 +745,9 @@ const bankruptcyCrossSell = () => sbsCheckbox({
|
|
|
846
745
|
helpClass: "!t-text-sm"
|
|
847
746
|
});
|
|
848
747
|
|
|
849
|
-
const bloodContentAlcholTest = () => sbsSelect({
|
|
748
|
+
const bloodContentAlcholTest = (scope) => sbsSelect({
|
|
749
|
+
name: scope ? scope + ':' + 'Blood_Alcohol_Content_Test' : 'Blood_Alcohol_Content_Test',
|
|
850
750
|
label: 'Blood Alcohol Content Measured by Test:',
|
|
851
|
-
name: 'Blood_Alcohol_Content_Test',
|
|
852
751
|
options: [
|
|
853
752
|
"No Test",
|
|
854
753
|
"0.00% - 0.04%",
|
|
@@ -885,9 +784,9 @@ const businessType = () => sbs2ColRadio({
|
|
|
885
784
|
]
|
|
886
785
|
});
|
|
887
786
|
|
|
888
|
-
const causeOfInjury = () => sbsSelect({
|
|
787
|
+
const causeOfInjury = (scope) => sbsSelect({
|
|
788
|
+
name: scope ? scope + ':' + 'Cause_Of_Injury' : 'Cause_Of_Injury',
|
|
889
789
|
label: 'Cause of Injury:',
|
|
890
|
-
name: 'Cause_Of_Injury',
|
|
891
790
|
options: [
|
|
892
791
|
"Traumatic Physical Injury (Accident)",
|
|
893
792
|
"Repeated Trauma Injury",
|
|
@@ -952,9 +851,9 @@ const civilRightsType = () => sbsSelect({
|
|
|
952
851
|
]
|
|
953
852
|
});
|
|
954
853
|
|
|
955
|
-
const childHome = () => sbsSelect({
|
|
854
|
+
const childHome = (scope) => sbsSelect({
|
|
855
|
+
name: scope ? scope + ':' + 'Child_Home' : 'Child_Home',
|
|
956
856
|
label: 'With Whom Do the Children Currently Live?',
|
|
957
|
-
name: 'Child_Home',
|
|
958
857
|
options: [
|
|
959
858
|
'Mother',
|
|
960
859
|
'Father',
|
|
@@ -963,9 +862,9 @@ const childHome = () => sbsSelect({
|
|
|
963
862
|
]
|
|
964
863
|
});
|
|
965
864
|
|
|
966
|
-
const childPrimaryCaregiver = () => sbsSelect({
|
|
865
|
+
const childPrimaryCaregiver = (scope) => sbsSelect({
|
|
866
|
+
name: scope ? scope + ':' + 'Child_Primary_Caregiver' : 'Child_Primary_Caregiver',
|
|
967
867
|
label: 'Who is the Primary Caregiver?',
|
|
968
|
-
name: 'Child_Primary_Caregiver',
|
|
969
868
|
options: [
|
|
970
869
|
'Mother',
|
|
971
870
|
'Father',
|
|
@@ -973,9 +872,9 @@ const childPrimaryCaregiver = () => sbsSelect({
|
|
|
973
872
|
]
|
|
974
873
|
});
|
|
975
874
|
|
|
976
|
-
const childRelationship = () => sbsSelect({
|
|
875
|
+
const childRelationship = (scope) => sbsSelect({
|
|
876
|
+
name: scope ? scope + ':' + 'Child_Relationship' : 'Child_Relationship',
|
|
977
877
|
label: 'Your Relationship to Child(ren):',
|
|
978
|
-
name: 'Child_Relationship',
|
|
979
878
|
options: [
|
|
980
879
|
'Father',
|
|
981
880
|
'Mother',
|
|
@@ -985,9 +884,9 @@ const childRelationship = () => sbsSelect({
|
|
|
985
884
|
]
|
|
986
885
|
});
|
|
987
886
|
|
|
988
|
-
const claimStatus = () => sbsSelect({
|
|
887
|
+
const claimStatus = (scope) => sbsSelect({
|
|
888
|
+
name: scope ? scope + ':' + 'Claim_Status' : 'Claim_Status',
|
|
989
889
|
label: "Status of Claim:",
|
|
990
|
-
name: 'Claim_Status',
|
|
991
890
|
options: [
|
|
992
891
|
"No action taken yet",
|
|
993
892
|
"Demand for compensation made",
|
|
@@ -1022,9 +921,9 @@ const consumerLawyerType = () => sbsSelect({
|
|
|
1022
921
|
]
|
|
1023
922
|
});
|
|
1024
923
|
|
|
1025
|
-
const countryOfCitizenship = () => sbsSelect({
|
|
924
|
+
const countryOfCitizenship = (scope) => sbsSelect({
|
|
925
|
+
name: scope ? scope + ':' + 'Country_Of_Citizenship' : 'Country_Of_Citizenship',
|
|
1026
926
|
label: 'What is Your Current Country of Citizenship?',
|
|
1027
|
-
name: 'Country_Of_Citizenship',
|
|
1028
927
|
options: [
|
|
1029
928
|
"Afghanistan",
|
|
1030
929
|
"Albania",
|
|
@@ -1248,10 +1147,10 @@ const criminalChargesFiled = () => sbsRadio({
|
|
|
1248
1147
|
]
|
|
1249
1148
|
});
|
|
1250
1149
|
|
|
1251
|
-
const degreeOfInterest = (help) => sbsSelect({
|
|
1150
|
+
const degreeOfInterest = (scope, help) => sbsSelect({
|
|
1151
|
+
name: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
|
|
1152
|
+
id: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
|
|
1252
1153
|
label: 'How Likely Are You to Pay if Your Issue Could be Resolved?',
|
|
1253
|
-
id: 'Degree_Of_Interest',
|
|
1254
|
-
name: 'Degree_Of_Interest',
|
|
1255
1154
|
help: help,
|
|
1256
1155
|
options: [
|
|
1257
1156
|
'Definitely',
|
|
@@ -1266,7 +1165,7 @@ const defaultNotice = () => sbsYesNoRadio({
|
|
|
1266
1165
|
label: 'Have You Received a Notice of Default from the Lender?'
|
|
1267
1166
|
});
|
|
1268
1167
|
|
|
1269
|
-
const degreeOfInterestHelp = () => degreeOfInterest('No payment necessary to speak with lawyers.');
|
|
1168
|
+
const degreeOfInterestHelp = (scope) => degreeOfInterest(scope, 'No payment necessary to speak with lawyers.');
|
|
1270
1169
|
|
|
1271
1170
|
const disabilityConditionStopWork = () => sbsYesNoRadio({
|
|
1272
1171
|
name: 'Disability_Condition_Stop_Work',
|
|
@@ -1278,9 +1177,9 @@ const disabilityWorkHistory = () => sbsYesNoRadio({
|
|
|
1278
1177
|
label: 'Have You Had a Full-Time Job Within the Past 5 Years?'
|
|
1279
1178
|
});
|
|
1280
1179
|
|
|
1281
|
-
const doctorTreatment = () => sbsYesNoRadio({
|
|
1282
|
-
name: 'Doctor_Treatment',
|
|
1283
|
-
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?'
|
|
1180
|
+
const doctorTreatment = (scope) => sbsYesNoRadio({
|
|
1181
|
+
name: scope ? scope + ':' + 'Doctor_Treatment' : 'Doctor_Treatment',
|
|
1182
|
+
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?',
|
|
1284
1183
|
});
|
|
1285
1184
|
|
|
1286
1185
|
const driversLicenseType = () => sbs2ItemRadio({
|
|
@@ -1336,9 +1235,9 @@ const employmentAndWorkplaceTOLPDisplay = (updates) => col2Radio(merge({
|
|
|
1336
1235
|
]
|
|
1337
1236
|
}, updates));
|
|
1338
1237
|
|
|
1339
|
-
const estateLegalServicesNeeded = () => sbsSelect({
|
|
1238
|
+
const estateLegalServicesNeeded = (scope) => sbsSelect({
|
|
1239
|
+
name: scope ? scope + ':' + 'Estate_Legal_Services_Needed' : 'Estate_Legal_Services_Needed',
|
|
1340
1240
|
label: "Legal Services Needed for Your Estate:",
|
|
1341
|
-
name: 'Estate_Legal_Services_Needed',
|
|
1342
1241
|
options: [
|
|
1343
1242
|
"Charitable Giving",
|
|
1344
1243
|
"Contested Wills",
|
|
@@ -1396,7 +1295,6 @@ const generalTOLP = (updates) => sbsSelect(merge({
|
|
|
1396
1295
|
'Medical Malpractice',
|
|
1397
1296
|
'Non-Workplace Discrimination',
|
|
1398
1297
|
'Non-Workplace Harassment',
|
|
1399
|
-
'Nursing Home Abuse',
|
|
1400
1298
|
'Patents and Intellectual Property',
|
|
1401
1299
|
'Personal Injury',
|
|
1402
1300
|
'Power of Attorney',
|
|
@@ -1409,8 +1307,6 @@ const generalTOLP = (updates) => sbsSelect(merge({
|
|
|
1409
1307
|
'Tax and IRS',
|
|
1410
1308
|
'Traffic and Tickets',
|
|
1411
1309
|
'Unemployment',
|
|
1412
|
-
'Vaccination Injury',
|
|
1413
|
-
"Veteran's Disability",
|
|
1414
1310
|
'Victim of a Crime',
|
|
1415
1311
|
'Wills and Trusts',
|
|
1416
1312
|
'Workers Compensation',
|
|
@@ -1422,13 +1318,13 @@ const generalTOLP = (updates) => sbsSelect(merge({
|
|
|
1422
1318
|
]
|
|
1423
1319
|
}, updates));
|
|
1424
1320
|
|
|
1425
|
-
const haveAttorney = () => sbsYesNoRadio({
|
|
1426
|
-
name: 'Have_Attorney',
|
|
1321
|
+
const haveAttorney = (scope) => sbsYesNoRadio({
|
|
1322
|
+
name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
|
|
1427
1323
|
label: 'Already Working with An Attorney?'
|
|
1428
1324
|
});
|
|
1429
1325
|
|
|
1430
|
-
const haveChildren = () => sbsYesNoRadio({
|
|
1431
|
-
name: 'Have_Children',
|
|
1326
|
+
const haveChildren = (scope) => sbsYesNoRadio({
|
|
1327
|
+
name: scope ? scope + ':' + 'Have_Children' : 'Have_Children',
|
|
1432
1328
|
label: 'Do You Have Children?'
|
|
1433
1329
|
});
|
|
1434
1330
|
|
|
@@ -1437,9 +1333,9 @@ const haveCourtDate = () => sbsYesNoRadio({
|
|
|
1437
1333
|
label: 'Do You Have a Court Date?'
|
|
1438
1334
|
});
|
|
1439
1335
|
|
|
1440
|
-
const immigrationDetails = () => sbsSelect({
|
|
1336
|
+
const immigrationDetails = (scope) => sbsSelect({
|
|
1337
|
+
name: scope ? scope + ':' + 'Immigration_Details' : 'Immigration_Details',
|
|
1441
1338
|
label: 'Where is the Person Seeking Immigration Located?',
|
|
1442
|
-
name: 'Immigration_Details',
|
|
1443
1339
|
options: [
|
|
1444
1340
|
"In the USA with proper documentation",
|
|
1445
1341
|
"In the USA without proper documentation",
|
|
@@ -1451,9 +1347,9 @@ const immigrationDetails = () => sbsSelect({
|
|
|
1451
1347
|
]
|
|
1452
1348
|
});
|
|
1453
1349
|
|
|
1454
|
-
const immigrationEntry = () => sbsSelect({
|
|
1350
|
+
const immigrationEntry = (scope) => sbsSelect({
|
|
1351
|
+
name: scope ? scope + ':' + 'Immigration_Entry' : 'Immigration_Entry',
|
|
1455
1352
|
label: 'How are you Trying to Enter the Country?',
|
|
1456
|
-
name: 'Immigration_Entry',
|
|
1457
1353
|
options: [
|
|
1458
1354
|
"With Proper Documents/Visa and Inspection through Customs Border Patrol",
|
|
1459
1355
|
"Illegally",
|
|
@@ -1462,18 +1358,18 @@ const immigrationEntry = () => sbsSelect({
|
|
|
1462
1358
|
]
|
|
1463
1359
|
});
|
|
1464
1360
|
|
|
1465
|
-
const immigrationLocation = () => sbsSelect({
|
|
1361
|
+
const immigrationLocation = (scope) => sbsSelect({
|
|
1362
|
+
name: scope ? scope + ':' + 'Immigration_Location' : 'Immigration_Location',
|
|
1466
1363
|
label: 'Where Are You Migrating To?',
|
|
1467
|
-
name: 'Immigration_Location',
|
|
1468
1364
|
options: [
|
|
1469
1365
|
"In the USA",
|
|
1470
1366
|
"Outside the USA"
|
|
1471
1367
|
]
|
|
1472
1368
|
});
|
|
1473
1369
|
|
|
1474
|
-
const immigrationType = () => sbsSelect({
|
|
1370
|
+
const immigrationType = (scope) => sbsSelect({
|
|
1371
|
+
name: scope ? scope + ':' + 'Immigration_Type' : 'Immigration_Type',
|
|
1475
1372
|
label: 'What Type of Immigration Issue?',
|
|
1476
|
-
name: 'Immigration_Type',
|
|
1477
1373
|
options: [
|
|
1478
1374
|
"Citizenship (for current green card holders)",
|
|
1479
1375
|
"Permanent Visa Family Based (green cards)",
|
|
@@ -1488,9 +1384,9 @@ const immigrationType = () => sbsSelect({
|
|
|
1488
1384
|
]
|
|
1489
1385
|
});
|
|
1490
1386
|
|
|
1491
|
-
const immigrationStatus = () => sbsSelect({
|
|
1387
|
+
const immigrationStatus = (scope) => sbsSelect({
|
|
1388
|
+
name: scope ? scope + ':' + 'Immigration_Status' : 'Immigration_Status',
|
|
1492
1389
|
label: 'What is the Current Status of the Immigration Case?',
|
|
1493
|
-
name: 'Immigration_Status',
|
|
1494
1390
|
options: [
|
|
1495
1391
|
"Out of Status (overstayed my visa)",
|
|
1496
1392
|
"Current Visa Holder (in status)",
|
|
@@ -1500,9 +1396,9 @@ const immigrationStatus = () => sbsSelect({
|
|
|
1500
1396
|
]
|
|
1501
1397
|
});
|
|
1502
1398
|
|
|
1503
|
-
const incidentDate = () => sbsDate({
|
|
1399
|
+
const incidentDate = (scope) => sbsDate({
|
|
1400
|
+
name: scope ? scope + ':' + 'Incident_Date' : 'Incident_Date',
|
|
1504
1401
|
label: 'Date of Incident:',
|
|
1505
|
-
name: 'Incident_Date'
|
|
1506
1402
|
});
|
|
1507
1403
|
|
|
1508
1404
|
const lastName = () => sbsText({
|
|
@@ -1553,9 +1449,9 @@ const lawsuitOtherParty = () => sbsSelect({
|
|
|
1553
1449
|
]
|
|
1554
1450
|
});
|
|
1555
1451
|
|
|
1556
|
-
const lawyerPaymentMethod = () => sbsSelect({
|
|
1452
|
+
const lawyerPaymentMethod = (scope) => sbsSelect({
|
|
1453
|
+
name: scope ? scope + ':' + 'Lawyer_Payment_Method' : 'Lawyer_Payment_Method',
|
|
1557
1454
|
label: 'How Will You Pay for Legal Fees if You Hire a Lawyer?',
|
|
1558
|
-
name: 'Lawyer_Payment_Method',
|
|
1559
1455
|
help: 'No payment necessary to speak with lawyers.',
|
|
1560
1456
|
options: [
|
|
1561
1457
|
'Cash',
|
|
@@ -1584,9 +1480,9 @@ const loanAmount = () => sbsSelect({
|
|
|
1584
1480
|
]
|
|
1585
1481
|
});
|
|
1586
1482
|
|
|
1587
|
-
const maritalStatus = () => sbsSelect({
|
|
1483
|
+
const maritalStatus = (scope) => sbsSelect({
|
|
1484
|
+
name: scope ? scope + ':' + 'Marital_Status' : 'Marital_Status',
|
|
1588
1485
|
label: 'Marital Status:',
|
|
1589
|
-
name: 'Marital_Status',
|
|
1590
1486
|
options: [
|
|
1591
1487
|
'Unmarried, Living Together',
|
|
1592
1488
|
'Unmarried, Do Not Live Together',
|
|
@@ -1626,19 +1522,6 @@ const numEmployeesOfBusiness = () => sbsSelect({
|
|
|
1626
1522
|
]
|
|
1627
1523
|
});
|
|
1628
1524
|
|
|
1629
|
-
const nursingHomeStatus = () => sbsSelect({
|
|
1630
|
-
label: "The Elderly Person is Currently:",
|
|
1631
|
-
name: 'Nursing_Home_Status',
|
|
1632
|
-
options: [
|
|
1633
|
-
"Living at a nursing home",
|
|
1634
|
-
"Living at their own home with medical supervision",
|
|
1635
|
-
"Living at their own home without medical supervision ",
|
|
1636
|
-
"Living at the home of a child, grandchild or friend",
|
|
1637
|
-
"Deceased",
|
|
1638
|
-
"Other"
|
|
1639
|
-
]
|
|
1640
|
-
});
|
|
1641
|
-
|
|
1642
1525
|
const ownRealEstate = () => sbsYesNoRadio({
|
|
1643
1526
|
name: 'Own_Real_Estate',
|
|
1644
1527
|
label: 'Do You Own Real Estate?'
|
|
@@ -1669,8 +1552,8 @@ const patentFor = () => sbsSelect({
|
|
|
1669
1552
|
]
|
|
1670
1553
|
});
|
|
1671
1554
|
|
|
1672
|
-
const pendingCharges = () => sbsYesNoRadio({
|
|
1673
|
-
name: 'Pending_Charges',
|
|
1555
|
+
const pendingCharges = (scope) => sbsYesNoRadio({
|
|
1556
|
+
name: scope ? scope + ':' + 'Pending_Charges' : 'Pending_Charges',
|
|
1674
1557
|
label: 'Do you currently have any pending charges?'
|
|
1675
1558
|
});
|
|
1676
1559
|
|
|
@@ -1692,9 +1575,9 @@ const phone = () => sbsText({
|
|
|
1692
1575
|
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]"
|
|
1693
1576
|
});
|
|
1694
1577
|
|
|
1695
|
-
const primaryInjury = () => sbs2ColRadio({
|
|
1578
|
+
const primaryInjury = (scope) => sbs2ColRadio({
|
|
1579
|
+
name: scope ? scope + ':' + 'Primary_Injury' : 'Primary_Injury',
|
|
1696
1580
|
label: 'Primary Injury:',
|
|
1697
|
-
name: 'Primary_Injury',
|
|
1698
1581
|
options: [
|
|
1699
1582
|
"Anxiety",
|
|
1700
1583
|
"Back or Neck Pain",
|
|
@@ -1707,13 +1590,13 @@ const primaryInjury = () => sbs2ColRadio({
|
|
|
1707
1590
|
]
|
|
1708
1591
|
});
|
|
1709
1592
|
|
|
1710
|
-
const priorAlcoholOffenses = () => sbsYesNoRadio({
|
|
1711
|
-
name: 'Prior_Alcohol_Offenses',
|
|
1593
|
+
const priorAlcoholOffenses = (scope) => sbsYesNoRadio({
|
|
1594
|
+
name: scope ? scope + ':' + 'Prior_Alcohol_Offenses' : 'Prior_Alcohol_Offenses',
|
|
1712
1595
|
label: 'Any Prior Alcohol Related Offenses?'
|
|
1713
1596
|
});
|
|
1714
1597
|
|
|
1715
|
-
const policeReportFiled = () => sbsYesNoRadio({
|
|
1716
|
-
name: 'Police_Report_Filed',
|
|
1598
|
+
const policeReportFiled = (scope) => sbsYesNoRadio({
|
|
1599
|
+
name: scope ? scope + ':' + 'Police_Report_Filed' : 'Police_Report_Filed',
|
|
1717
1600
|
label: 'Was a Police Report Filed?'
|
|
1718
1601
|
});
|
|
1719
1602
|
|
|
@@ -1772,9 +1655,9 @@ const roleInMatterCriminal = () => sbsRadio({
|
|
|
1772
1655
|
]
|
|
1773
1656
|
});
|
|
1774
1657
|
|
|
1775
|
-
const roleInMatterProbate = () => sbsSelect({
|
|
1658
|
+
const roleInMatterProbate = (scope) => sbsSelect({
|
|
1659
|
+
name: scope ? scope + ':' + 'Role_In_Matter_Probate' : 'Role_In_Matter_Probate',
|
|
1776
1660
|
label: "What Is Your Role in this Matter?",
|
|
1777
|
-
name: 'Role_In_Matter_Probate',
|
|
1778
1661
|
options: [
|
|
1779
1662
|
"Preparing My Will",
|
|
1780
1663
|
"Executor",
|
|
@@ -1867,9 +1750,9 @@ const TCPAConsent = () => ({
|
|
|
1867
1750
|
}
|
|
1868
1751
|
});
|
|
1869
1752
|
|
|
1870
|
-
const typeOfAlcoholTest = () => sbsSelect({
|
|
1753
|
+
const typeOfAlcoholTest = (scope) => sbsSelect({
|
|
1754
|
+
name: scope ? scope + ':' + 'Type_Of_Alcohol_Test' : 'Type_Of_Alcohol_Test',
|
|
1871
1755
|
label: 'Type of Alcohol Test Performed?',
|
|
1872
|
-
name: 'Type_Of_Alcohol_Test',
|
|
1873
1756
|
options: [
|
|
1874
1757
|
"No Test",
|
|
1875
1758
|
"Refused Test",
|
|
@@ -1880,9 +1763,9 @@ const typeOfAlcoholTest = () => sbsSelect({
|
|
|
1880
1763
|
]
|
|
1881
1764
|
});
|
|
1882
1765
|
|
|
1883
|
-
const typeOfAssets = () => col2Checkbox({
|
|
1766
|
+
const typeOfAssets = (scope) => col2Checkbox({
|
|
1767
|
+
name: scope ? scope + ':' + 'Type_Of_Assets' : 'Type_Of_Assets',
|
|
1884
1768
|
label: 'Type of Assets:',
|
|
1885
|
-
name: 'Type_Of_Assets',
|
|
1886
1769
|
options: [
|
|
1887
1770
|
"Business Interests",
|
|
1888
1771
|
"Cash",
|
|
@@ -1931,9 +1814,9 @@ const trafficViolations = () => sbsSelect({
|
|
|
1931
1814
|
]
|
|
1932
1815
|
});
|
|
1933
1816
|
|
|
1934
|
-
const valueOfAssets = () => sbsSelect({
|
|
1817
|
+
const valueOfAssets = (scope) => sbsSelect({
|
|
1818
|
+
name: scope ? scope + ':' + 'Value_Of_Assets' : 'Value_Of_Assets',
|
|
1935
1819
|
label: 'Value of Your Assets?',
|
|
1936
|
-
name: 'Value_Of_Assets',
|
|
1937
1820
|
options: [
|
|
1938
1821
|
"Less than 50K",
|
|
1939
1822
|
"50K to 100K",
|
|
@@ -1944,49 +1827,6 @@ const valueOfAssets = () => sbsSelect({
|
|
|
1944
1827
|
]
|
|
1945
1828
|
});
|
|
1946
1829
|
|
|
1947
|
-
const veteransDisabilityApplied = () => sbsSelect({
|
|
1948
|
-
label: 'Has the Applicant Applied for VA Disability Compensation?',
|
|
1949
|
-
name: 'Veterans_Disability_Applied',
|
|
1950
|
-
options: [
|
|
1951
|
-
"Yes, Claim filed and awaiting decision",
|
|
1952
|
-
"Yes, Claim denied",
|
|
1953
|
-
"Yes, Claim on appeal",
|
|
1954
|
-
"Yes, Claim approved",
|
|
1955
|
-
"Yes, Benefits awarded",
|
|
1956
|
-
"No, Claim has not been filed"
|
|
1957
|
-
]
|
|
1958
|
-
});
|
|
1959
|
-
|
|
1960
|
-
const veteransDisabilityConditions = () => sbsCheckbox({
|
|
1961
|
-
label: 'What Service Connected Conditions Does the Applicant Have? (select all that apply)',
|
|
1962
|
-
name: 'Veterans_Disability_Conditions',
|
|
1963
|
-
options: [
|
|
1964
|
-
"Traumatic Physical Injury (broken bones, loss of limb)",
|
|
1965
|
-
"Mental Injury",
|
|
1966
|
-
"Occupational Disease",
|
|
1967
|
-
"Repeated Trauma Injury",
|
|
1968
|
-
"Other"
|
|
1969
|
-
]
|
|
1970
|
-
});
|
|
1971
|
-
|
|
1972
|
-
const veteransDisabilityRelationship = () => sbsSelect({
|
|
1973
|
-
label: 'What is Your Relationship to the Applicant?',
|
|
1974
|
-
name: 'Veterans_Disability_Relationship',
|
|
1975
|
-
options: [
|
|
1976
|
-
"Self, Active Duty",
|
|
1977
|
-
"Self, Active Reserve",
|
|
1978
|
-
"Self, Discharged from Active Duty",
|
|
1979
|
-
"Self, Discharged as Reservist",
|
|
1980
|
-
"Surviving Family Member",
|
|
1981
|
-
"Other"
|
|
1982
|
-
]
|
|
1983
|
-
});
|
|
1984
|
-
|
|
1985
|
-
const veteransDisabilityInjured = () => sbsYesNoRadio({
|
|
1986
|
-
name: 'Veterans_Disability_Injured',
|
|
1987
|
-
label: 'Was the Applicant Hurt While on Duty or is the Condition Related to Military Service?'
|
|
1988
|
-
});
|
|
1989
|
-
|
|
1990
1830
|
const wouldLikeLawyerTo = () => sbsRadio({
|
|
1991
1831
|
label: 'I Would Like a Lawyer to:',
|
|
1992
1832
|
name: 'Would_Like_Lawyer_To',
|
|
@@ -2062,17 +1902,17 @@ const AsbestosAndMesotheliomaQuestions = () => group(
|
|
|
2062
1902
|
}
|
|
2063
1903
|
);
|
|
2064
1904
|
|
|
2065
|
-
const AutoAndCarAccidentsQuestions = () => group(
|
|
1905
|
+
const AutoAndCarAccidentsQuestions = (condition, scope) => group(
|
|
2066
1906
|
'AutoAndCarAccidentsQuestions',
|
|
2067
1907
|
{
|
|
2068
|
-
if: '$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',
|
|
1908
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"'),
|
|
2069
1909
|
children: [
|
|
2070
|
-
haveAttorney(),
|
|
2071
|
-
incidentDate(),
|
|
2072
|
-
atFault(),
|
|
2073
|
-
primaryInjury(),
|
|
2074
|
-
doctorTreatment(),
|
|
2075
|
-
policeReportFiled()
|
|
1910
|
+
haveAttorney(scope),
|
|
1911
|
+
incidentDate(scope),
|
|
1912
|
+
atFault(scope),
|
|
1913
|
+
primaryInjury(scope),
|
|
1914
|
+
doctorTreatment(scope),
|
|
1915
|
+
policeReportFiled(scope)
|
|
2076
1916
|
]
|
|
2077
1917
|
}
|
|
2078
1918
|
);
|
|
@@ -2117,32 +1957,32 @@ const BusinessLawyersQuestions = () => group(
|
|
|
2117
1957
|
}
|
|
2118
1958
|
);
|
|
2119
1959
|
|
|
2120
|
-
const ChildCustodyAndSupportQuestions = () => group(
|
|
1960
|
+
const ChildCustodyAndSupportQuestions = (condition, scope) => group(
|
|
2121
1961
|
'ChildCustodyAndSupportQuestions',
|
|
2122
1962
|
{
|
|
2123
|
-
if: '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',
|
|
1963
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"'),
|
|
2124
1964
|
children: [
|
|
2125
|
-
haveAttorney(),
|
|
2126
|
-
childRelationship(),
|
|
2127
|
-
childHome(),
|
|
2128
|
-
childPrimaryCaregiver(),
|
|
2129
|
-
degreeOfInterest(),
|
|
2130
|
-
lawyerPaymentMethod()
|
|
1965
|
+
haveAttorney(scope),
|
|
1966
|
+
childRelationship(scope),
|
|
1967
|
+
childHome(scope),
|
|
1968
|
+
childPrimaryCaregiver(scope),
|
|
1969
|
+
degreeOfInterest(scope),
|
|
1970
|
+
lawyerPaymentMethod(scope)
|
|
2131
1971
|
]
|
|
2132
1972
|
}
|
|
2133
1973
|
);
|
|
2134
1974
|
|
|
2135
|
-
const ChildCustodyQuestions = () => group(
|
|
1975
|
+
const ChildCustodyQuestions = (condition, scope) => group(
|
|
2136
1976
|
'ChildCustodyQuestions',
|
|
2137
1977
|
{
|
|
2138
|
-
if: '$get(Type_Of_Legal_Problem).value == "Child Custody"',
|
|
1978
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody"'),
|
|
2139
1979
|
children: [
|
|
2140
|
-
haveAttorney(),
|
|
2141
|
-
childRelationship(),
|
|
2142
|
-
childHome(),
|
|
2143
|
-
childPrimaryCaregiver(),
|
|
2144
|
-
degreeOfInterest(),
|
|
2145
|
-
lawyerPaymentMethod()
|
|
1980
|
+
haveAttorney(scope),
|
|
1981
|
+
childRelationship(scope),
|
|
1982
|
+
childHome(scope),
|
|
1983
|
+
childPrimaryCaregiver(scope),
|
|
1984
|
+
degreeOfInterest(scope),
|
|
1985
|
+
lawyerPaymentMethod(scope)
|
|
2146
1986
|
]
|
|
2147
1987
|
}
|
|
2148
1988
|
);
|
|
@@ -2279,32 +2119,32 @@ const DebtAndCollectionsQuestions = () => group(
|
|
|
2279
2119
|
}
|
|
2280
2120
|
);
|
|
2281
2121
|
|
|
2282
|
-
const DivorceQuestions = () => group(
|
|
2122
|
+
const DivorceQuestions = (condition, scope) => group(
|
|
2283
2123
|
'DivorceQuestions',
|
|
2284
2124
|
{
|
|
2285
|
-
if: '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',
|
|
2125
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"'),
|
|
2286
2126
|
children: [
|
|
2287
|
-
haveAttorney(),
|
|
2288
|
-
maritalStatus(),
|
|
2289
|
-
haveChildren(),
|
|
2290
|
-
degreeOfInterest(),
|
|
2291
|
-
lawyerPaymentMethod()
|
|
2127
|
+
haveAttorney(scope),
|
|
2128
|
+
maritalStatus(scope),
|
|
2129
|
+
haveChildren(scope),
|
|
2130
|
+
degreeOfInterest(scope),
|
|
2131
|
+
lawyerPaymentMethod(scope)
|
|
2292
2132
|
]
|
|
2293
2133
|
}
|
|
2294
2134
|
);
|
|
2295
2135
|
|
|
2296
|
-
const DUIAndDWIQuestions = () => group(
|
|
2136
|
+
const DUIAndDWIQuestions = (condition, scope) => group(
|
|
2297
2137
|
'DUIAndDWIQuestions',
|
|
2298
2138
|
{
|
|
2299
|
-
if: '$get(Type_Of_Legal_Problem).value == "DUI and DWI"',
|
|
2139
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "DUI and DWI"'),
|
|
2300
2140
|
children: [
|
|
2301
|
-
haveAttorney(),
|
|
2302
|
-
incidentDate(),
|
|
2303
|
-
priorAlcoholOffenses(),
|
|
2304
|
-
typeOfAlcoholTest(),
|
|
2305
|
-
bloodContentAlcholTest(),
|
|
2306
|
-
pendingCharges(),
|
|
2307
|
-
degreeOfInterestHelp()
|
|
2141
|
+
haveAttorney(scope),
|
|
2142
|
+
incidentDate(scope),
|
|
2143
|
+
priorAlcoholOffenses(scope),
|
|
2144
|
+
typeOfAlcoholTest(scope),
|
|
2145
|
+
bloodContentAlcholTest(scope),
|
|
2146
|
+
pendingCharges(scope),
|
|
2147
|
+
degreeOfInterestHelp(scope)
|
|
2308
2148
|
]
|
|
2309
2149
|
}
|
|
2310
2150
|
);
|
|
@@ -2450,19 +2290,19 @@ const IdentityTheftQuestions = () => group(
|
|
|
2450
2290
|
}
|
|
2451
2291
|
);
|
|
2452
2292
|
|
|
2453
|
-
const ImmigrationAndVisasQuestions = () => group(
|
|
2293
|
+
const ImmigrationAndVisasQuestions = (condition, scope) => group(
|
|
2454
2294
|
'ImmigrationAndVisasQuestions',
|
|
2455
2295
|
{
|
|
2456
|
-
if: '$get(Type_Of_Legal_Problem).value == "Immigration and Visas"',
|
|
2296
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Immigration and Visas"'),
|
|
2457
2297
|
children: [
|
|
2458
|
-
haveAttorney(),
|
|
2459
|
-
countryOfCitizenship(),
|
|
2460
|
-
immigrationLocation(),
|
|
2461
|
-
immigrationEntry(),
|
|
2462
|
-
immigrationType(),
|
|
2463
|
-
immigrationStatus(),
|
|
2464
|
-
immigrationDetails(),
|
|
2465
|
-
degreeOfInterestHelp()
|
|
2298
|
+
haveAttorney(scope),
|
|
2299
|
+
countryOfCitizenship(scope),
|
|
2300
|
+
immigrationLocation(scope),
|
|
2301
|
+
immigrationEntry(scope),
|
|
2302
|
+
immigrationType(scope),
|
|
2303
|
+
immigrationStatus(scope),
|
|
2304
|
+
immigrationDetails(scope),
|
|
2305
|
+
degreeOfInterestHelp(scope)
|
|
2466
2306
|
]
|
|
2467
2307
|
}
|
|
2468
2308
|
);
|
|
@@ -2503,19 +2343,19 @@ const LemonLawQuestions = () => group(
|
|
|
2503
2343
|
}
|
|
2504
2344
|
);
|
|
2505
2345
|
|
|
2506
|
-
const LongTermDisabilityQuestions = () => group(
|
|
2346
|
+
const LongTermDisabilityQuestions = (condition, scope) => group(
|
|
2507
2347
|
'LongTermDisabilityQuestions',
|
|
2508
2348
|
{
|
|
2509
|
-
if: '$get(Type_Of_Legal_Problem).value == "Long Term Disability"',
|
|
2349
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Long Term Disability"'),
|
|
2510
2350
|
children: [
|
|
2511
|
-
haveAttorney(),
|
|
2512
|
-
applicantOccupation(),
|
|
2513
|
-
applicantAge(),
|
|
2514
|
-
applicantLTDisabilityPolicy(),
|
|
2515
|
-
applicantDisabilityHowObtain(),
|
|
2516
|
-
applicantPreviouslyAppliedLtdBenefits(),
|
|
2517
|
-
applicantReceivedDisabilityBenefits(),
|
|
2518
|
-
applicantMonthlySalary()
|
|
2351
|
+
haveAttorney(scope),
|
|
2352
|
+
applicantOccupation(scope),
|
|
2353
|
+
applicantAge(scope),
|
|
2354
|
+
applicantLTDisabilityPolicy(scope),
|
|
2355
|
+
applicantDisabilityHowObtain(scope),
|
|
2356
|
+
applicantPreviouslyAppliedLtdBenefits(scope),
|
|
2357
|
+
applicantReceivedDisabilityBenefits(scope),
|
|
2358
|
+
applicantMonthlySalary(scope)
|
|
2519
2359
|
]
|
|
2520
2360
|
}
|
|
2521
2361
|
);
|
|
@@ -2535,18 +2375,6 @@ const MedicalMalpracticeQuestions = () => group(
|
|
|
2535
2375
|
}
|
|
2536
2376
|
);
|
|
2537
2377
|
|
|
2538
|
-
const NursingHomeAbuseQuestions = () => group(
|
|
2539
|
-
'NursingHomeAbuseQuestions',
|
|
2540
|
-
{
|
|
2541
|
-
if: '$get(Type_Of_Legal_Problem).value == "Nursing Home Abuse"',
|
|
2542
|
-
children: [
|
|
2543
|
-
haveAttorney(),
|
|
2544
|
-
incidentDate(),
|
|
2545
|
-
nursingHomeStatus()
|
|
2546
|
-
]
|
|
2547
|
-
}
|
|
2548
|
-
);
|
|
2549
|
-
|
|
2550
2378
|
const PatentsAndIntellectualPropertyQuestions = () => group(
|
|
2551
2379
|
'PatentsAndIntellectualPropertyQuestions',
|
|
2552
2380
|
{
|
|
@@ -2560,28 +2388,28 @@ const PatentsAndIntellectualPropertyQuestions = () => group(
|
|
|
2560
2388
|
}
|
|
2561
2389
|
);
|
|
2562
2390
|
|
|
2563
|
-
const PersonalInjuryQuestions = () => group(
|
|
2391
|
+
const PersonalInjuryQuestions = (condition, scope) => group(
|
|
2564
2392
|
'PersonalInjuryQuestions',
|
|
2565
2393
|
{
|
|
2566
|
-
if: '$get(Type_Of_Legal_Problem).value == "Personal Injury"',
|
|
2394
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Personal Injury"'),
|
|
2567
2395
|
children: [
|
|
2568
|
-
haveAttorney(),
|
|
2569
|
-
incidentDate(),
|
|
2570
|
-
claimStatus(),
|
|
2571
|
-
atFault(),
|
|
2572
|
-
primaryInjury(),
|
|
2573
|
-
doctorTreatment()
|
|
2396
|
+
haveAttorney(scope),
|
|
2397
|
+
incidentDate(scope),
|
|
2398
|
+
claimStatus(scope),
|
|
2399
|
+
atFault(scope),
|
|
2400
|
+
primaryInjury(scope),
|
|
2401
|
+
doctorTreatment(scope)
|
|
2574
2402
|
]
|
|
2575
2403
|
}
|
|
2576
2404
|
);
|
|
2577
2405
|
|
|
2578
|
-
const PowerofAttorneyQuestions = () => group(
|
|
2406
|
+
const PowerofAttorneyQuestions = (condition, scope) => group(
|
|
2579
2407
|
'PowerofAttorneyQuestions',
|
|
2580
2408
|
{
|
|
2581
|
-
if: '$get(Type_Of_Legal_Problem).value == "Power of Attorney"',
|
|
2409
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Power of Attorney"'),
|
|
2582
2410
|
children: [
|
|
2583
|
-
haveAttorney(),
|
|
2584
|
-
degreeOfInterestHelp()
|
|
2411
|
+
haveAttorney(scope),
|
|
2412
|
+
degreeOfInterestHelp(scope)
|
|
2585
2413
|
]
|
|
2586
2414
|
}
|
|
2587
2415
|
);
|
|
@@ -2694,30 +2522,6 @@ const UnemploymentQuestions = () => group(
|
|
|
2694
2522
|
}
|
|
2695
2523
|
);
|
|
2696
2524
|
|
|
2697
|
-
const VaccinationInjuryQuestions = () => group(
|
|
2698
|
-
'VaccinationInjuryQuestions',
|
|
2699
|
-
{
|
|
2700
|
-
if: '$get(Type_Of_Legal_Problem).value == "Vaccination Injury"',
|
|
2701
|
-
children: [
|
|
2702
|
-
haveAttorney(),
|
|
2703
|
-
incidentDate()
|
|
2704
|
-
]
|
|
2705
|
-
}
|
|
2706
|
-
);
|
|
2707
|
-
|
|
2708
|
-
const VeteransDisabilityQuestions = () => group(
|
|
2709
|
-
'VeteransDisabilityQuestions',
|
|
2710
|
-
{
|
|
2711
|
-
if: '$get(Type_Of_Legal_Problem).value == "Veteran\'s Disability"',
|
|
2712
|
-
children: [
|
|
2713
|
-
veteransDisabilityRelationship(),
|
|
2714
|
-
veteransDisabilityInjured(),
|
|
2715
|
-
veteransDisabilityConditions(),
|
|
2716
|
-
veteransDisabilityApplied()
|
|
2717
|
-
]
|
|
2718
|
-
}
|
|
2719
|
-
);
|
|
2720
|
-
|
|
2721
2525
|
const VictimOfACrimeQuestions = () => group(
|
|
2722
2526
|
'VictimOfACrimeQuestions',
|
|
2723
2527
|
{
|
|
@@ -2733,32 +2537,32 @@ const VictimOfACrimeQuestions = () => group(
|
|
|
2733
2537
|
}
|
|
2734
2538
|
);
|
|
2735
2539
|
|
|
2736
|
-
const WillsAndTrustsQuestions = () => group(
|
|
2540
|
+
const WillsAndTrustsQuestions = (condition, scope) => group(
|
|
2737
2541
|
'WillsAndTrustsQuestions',
|
|
2738
2542
|
{
|
|
2739
|
-
if: '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',
|
|
2543
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"'),
|
|
2740
2544
|
children: [
|
|
2741
|
-
haveAttorney(),
|
|
2742
|
-
valueOfAssets(),
|
|
2743
|
-
typeOfAssets(),
|
|
2744
|
-
roleInMatterProbate(),
|
|
2745
|
-
estateLegalServicesNeeded(),
|
|
2746
|
-
degreeOfInterestHelp()
|
|
2545
|
+
haveAttorney(scope),
|
|
2546
|
+
valueOfAssets(scope),
|
|
2547
|
+
typeOfAssets(scope),
|
|
2548
|
+
roleInMatterProbate(scope),
|
|
2549
|
+
estateLegalServicesNeeded(scope),
|
|
2550
|
+
degreeOfInterestHelp(scope)
|
|
2747
2551
|
]
|
|
2748
2552
|
}
|
|
2749
2553
|
);
|
|
2750
2554
|
|
|
2751
|
-
const WorkersCompensationQuestions = () => group(
|
|
2555
|
+
const WorkersCompensationQuestions = (condition, scope) => group(
|
|
2752
2556
|
'WorkersCompensationQuestions',
|
|
2753
2557
|
{
|
|
2754
|
-
if: '$get(Type_Of_Legal_Problem).value == "Workers Compensation"',
|
|
2558
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Workers Compensation"'),
|
|
2755
2559
|
children: [
|
|
2756
|
-
haveAttorney(),
|
|
2757
|
-
incidentDate(),
|
|
2758
|
-
claimStatus(),
|
|
2759
|
-
primaryInjury(),
|
|
2760
|
-
causeOfInjury(),
|
|
2761
|
-
doctorTreatment()
|
|
2560
|
+
haveAttorney(scope),
|
|
2561
|
+
incidentDate(scope),
|
|
2562
|
+
claimStatus(scope),
|
|
2563
|
+
primaryInjury(scope),
|
|
2564
|
+
causeOfInjury(scope),
|
|
2565
|
+
doctorTreatment(scope)
|
|
2762
2566
|
]
|
|
2763
2567
|
}
|
|
2764
2568
|
);
|
|
@@ -2828,21 +2632,17 @@ const findLastInput = (n) => {
|
|
|
2828
2632
|
|
|
2829
2633
|
const stepDefaults = (step) => ({
|
|
2830
2634
|
$el: 'section',
|
|
2831
|
-
if: '$stepIsEnabled("' + step + '")',
|
|
2832
2635
|
attrs: {
|
|
2833
|
-
|
|
2834
|
-
if: '$activeStep !== "' + step + '"',
|
|
2835
|
-
then: 'display: none;'
|
|
2836
|
-
}
|
|
2636
|
+
hidden: '$activeStep !== "' + step + '"'
|
|
2837
2637
|
}
|
|
2838
2638
|
});
|
|
2839
2639
|
|
|
2840
2640
|
function questionsStepHeadline(updates) {
|
|
2841
2641
|
return {
|
|
2842
2642
|
$el: 'h3',
|
|
2843
|
-
children: updates.headline || 'Tell Us About Your
|
|
2643
|
+
children: updates.headline || 'Tell Us About Your Situation',
|
|
2844
2644
|
attrs: {
|
|
2845
|
-
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-
|
|
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-1'
|
|
2846
2646
|
}
|
|
2847
2647
|
}
|
|
2848
2648
|
}
|
|
@@ -2853,7 +2653,7 @@ function commentsStepHeadline(updates) {
|
|
|
2853
2653
|
$el: 'h3',
|
|
2854
2654
|
children: updates.headline || 'Additional Case Details',
|
|
2855
2655
|
attrs: {
|
|
2856
|
-
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-
|
|
2656
|
+
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 || '')
|
|
2857
2657
|
}
|
|
2858
2658
|
}
|
|
2859
2659
|
}
|
|
@@ -2863,7 +2663,7 @@ function firstAndLastStepHeadline(updates) {
|
|
|
2863
2663
|
$el: 'h3',
|
|
2864
2664
|
children: updates.headline || 'Please Provide a Contact Name',
|
|
2865
2665
|
attrs: {
|
|
2866
|
-
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-
|
|
2666
|
+
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 || '')
|
|
2867
2667
|
}
|
|
2868
2668
|
}
|
|
2869
2669
|
}
|
|
@@ -2873,7 +2673,7 @@ function contactStepHeadline(updates) {
|
|
|
2873
2673
|
$el: 'h3',
|
|
2874
2674
|
children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
|
|
2875
2675
|
attrs: {
|
|
2876
|
-
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-
|
|
2676
|
+
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'
|
|
2877
2677
|
}
|
|
2878
2678
|
}
|
|
2879
2679
|
}
|
|
@@ -2920,10 +2720,10 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false) {
|
|
|
2920
2720
|
}
|
|
2921
2721
|
if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
|
|
2922
2722
|
const lastInput = findLastInput(inputs[inputs.length - 1]);
|
|
2923
|
-
if (nextOnEnter === true) {
|
|
2723
|
+
if (lastInput && nextOnEnter === true) {
|
|
2924
2724
|
lastInput.onKeypress = NEXT_ON_ENTER;
|
|
2925
2725
|
}
|
|
2926
|
-
if (nextOnInput === true) {
|
|
2726
|
+
if (lastInput && nextOnInput === true) {
|
|
2927
2727
|
lastInput.onInput = NEXT_ON_INPUT;
|
|
2928
2728
|
}
|
|
2929
2729
|
}
|
|
@@ -3044,7 +2844,6 @@ const AllTOLPQuestions = () => {
|
|
|
3044
2844
|
LemonLawQuestions(),
|
|
3045
2845
|
LongTermDisabilityQuestions(),
|
|
3046
2846
|
MedicalMalpracticeQuestions(),
|
|
3047
|
-
NursingHomeAbuseQuestions(),
|
|
3048
2847
|
PatentsAndIntellectualPropertyQuestions(),
|
|
3049
2848
|
PersonalInjuryQuestions(),
|
|
3050
2849
|
PowerofAttorneyQuestions(),
|
|
@@ -3056,8 +2855,6 @@ const AllTOLPQuestions = () => {
|
|
|
3056
2855
|
TaxAndIRSQuestions(),
|
|
3057
2856
|
TrafficAndTicketsQuestions(),
|
|
3058
2857
|
UnemploymentQuestions(),
|
|
3059
|
-
VaccinationInjuryQuestions(),
|
|
3060
|
-
VeteransDisabilityQuestions(),
|
|
3061
2858
|
VictimOfACrimeQuestions(),
|
|
3062
2859
|
WillsAndTrustsQuestions(),
|
|
3063
2860
|
WorkersCompensationQuestions(),
|