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
|
@@ -441,7 +441,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
441
441
|
'Lemon Law': 'Example: "I purchased a new vehicle that broke down already and seller will not assist"',
|
|
442
442
|
'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"',
|
|
443
443
|
'Medical Malpractice': 'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',
|
|
444
|
-
'Nursing Home Abuse': 'Example: "My mother\'s nursing home is physically abusing her"',
|
|
445
444
|
'Patents and Intellectual Property': 'Example: "I would like to file for a patent" or "I need to copyright a name"',
|
|
446
445
|
'Personal Injury': 'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',
|
|
447
446
|
'Power of Attorney': 'Example: "I need help with a limited or general power of attorney"',
|
|
@@ -453,8 +452,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
453
452
|
'Tax and IRS': 'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',
|
|
454
453
|
'Traffic and Tickets': 'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',
|
|
455
454
|
'Unemployment': 'Example: "I need help filing for unemployment benefits"',
|
|
456
|
-
'Vaccination Injury': 'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',
|
|
457
|
-
'Veteran\'s Disability': 'Example: "I would like help filing for disability benefits"',
|
|
458
455
|
'Victim of a Crime': 'Example: "I was assaulted in the store" or "I am being discriminated against at work"',
|
|
459
456
|
'Wills and Trusts': 'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',
|
|
460
457
|
'Workers Compensation': 'Example: "I was injured at work and would like to file for workers compensation benefits"',
|
|
@@ -465,59 +462,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
465
462
|
|
|
466
463
|
const TOLPFinalHeadlines = {
|
|
467
464
|
// 'Adoption': '',
|
|
468
|
-
// 'Asbestos and Mesothelioma': '',
|
|
469
|
-
// 'Auto and Car Accidents': '',
|
|
470
|
-
// 'Bankruptcy': '',
|
|
471
|
-
// 'Birth Certificate and Name Change': '',
|
|
472
|
-
// 'Business Lawyers': '',
|
|
473
|
-
// 'Child Custody and Support': '',
|
|
474
|
-
// 'Civil Rights and Discrimination': '',
|
|
475
|
-
// 'Civil Lawsuit': '',
|
|
476
|
-
// 'Consumer Lawyers': '',
|
|
477
|
-
// 'Copyrights and Trademarks': '',
|
|
478
|
-
// 'Criminal and Felony': '',
|
|
479
|
-
// 'Debt and Collections': '',
|
|
480
|
-
// 'Divorce and Separation': '',
|
|
481
|
-
// 'DUI and DWI': '',
|
|
482
|
-
// 'Elder Law': '',
|
|
483
|
-
// 'Employment and Workplace': '',
|
|
484
|
-
// 'Expungement': '',
|
|
485
|
-
// 'Family Issues': '',
|
|
486
|
-
// 'Foreclosure': '',
|
|
487
|
-
// 'Guardianship': '',
|
|
488
|
-
// 'Harassment and Discrimination': '',
|
|
489
|
-
// 'Identity Theft': '',
|
|
490
|
-
// 'Immigration and Visas': '',
|
|
491
|
-
// 'Insurance': '',
|
|
492
|
-
// 'Landlord and Tenant': '',
|
|
493
|
-
// 'Lemon Law': '',
|
|
494
|
-
// 'Long Term Disability': '',
|
|
495
|
-
// 'Medical Malpractice': '',
|
|
496
|
-
// 'Nursing Home Abuse': '',
|
|
497
|
-
// 'Patents and Intellectual Property': '',
|
|
498
|
-
// 'Personal Injury': '',
|
|
499
|
-
// 'Power of Attorney': '',
|
|
500
|
-
// 'Probate and Estates': '',
|
|
501
|
-
// 'Product Liability': '',
|
|
502
|
-
// 'Property Damage': '',
|
|
503
|
-
// 'Real Estate': '',
|
|
504
|
-
// 'Social Security Disability and Insurance': '',
|
|
505
|
-
// 'Tax and IRS': '',
|
|
506
|
-
// 'Traffic and Tickets': '',
|
|
507
|
-
// 'Unemployment': '',
|
|
508
|
-
// 'Vaccination Injury': '',
|
|
509
|
-
// 'Veteran\'s Disability': '',
|
|
510
|
-
// 'Victim of a Crime': '',
|
|
511
|
-
// 'Wills and Trusts': '',
|
|
512
|
-
// 'Workers Compensation': '',
|
|
513
|
-
// 'Wrongful Death': '',
|
|
514
|
-
// 'Wrongful Termination': '',
|
|
515
|
-
// 'Not Sure or Other': ''
|
|
516
|
-
// 'Sexual Harassment': '',
|
|
517
|
-
// 'Workplace Harassment': '',
|
|
518
|
-
// 'Non-Workplace Harassment': '',
|
|
519
|
-
// 'Workplace Discrimination': '',
|
|
520
|
-
// 'Non-Workplace Discrimination': '',
|
|
521
465
|
};
|
|
522
466
|
|
|
523
467
|
const TOLPFinalSubHeadlines = {
|
|
@@ -550,7 +494,6 @@ const TOLPFinalSubHeadlines = {
|
|
|
550
494
|
// 'Lemon Law': '',
|
|
551
495
|
'Long Term Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
|
|
552
496
|
'Medical Malpractice': 'You may benefit from speaking with a malpractice professional. Please verify your contact information.',
|
|
553
|
-
// 'Nursing Home Abuse': '',
|
|
554
497
|
'Patents and Intellectual Property': 'You may benefit from speaking with a patent professional. Please verify your contact information.',
|
|
555
498
|
'Personal Injury': 'You may benefit from speaking with a personal injury professional. Please verify your contact information.',
|
|
556
499
|
// 'Power of Attorney': '',
|
|
@@ -562,8 +505,6 @@ const TOLPFinalSubHeadlines = {
|
|
|
562
505
|
'Tax and IRS': 'You may benefit from speaking with a tax professional. Please verify your contact information.',
|
|
563
506
|
// 'Traffic and Tickets': '',
|
|
564
507
|
'Unemployment': 'You may benefit from speaking with an unemployment professional. Please verify your contact information.',
|
|
565
|
-
// 'Vaccination Injury': '',
|
|
566
|
-
'Veteran\'s Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
|
|
567
508
|
// 'Victim of a Crime': '',
|
|
568
509
|
// 'Wills and Trusts': '',
|
|
569
510
|
'Workers Compensation': 'You may benefit from speaking with a workers compensation professional. Please verify your contact information.',
|
|
@@ -683,7 +624,6 @@ const sbsSelect = (updates) => {
|
|
|
683
624
|
return select(updates)
|
|
684
625
|
};
|
|
685
626
|
|
|
686
|
-
|
|
687
627
|
const text = (updates) => {
|
|
688
628
|
return merge({
|
|
689
629
|
$formkit: 'text',
|
|
@@ -747,71 +687,30 @@ const amountPaymentsPastDue = () => sbsSelect({
|
|
|
747
687
|
]
|
|
748
688
|
});
|
|
749
689
|
|
|
750
|
-
const applicantOccupation = () => sbsText({
|
|
690
|
+
const applicantOccupation = (scope) => sbsText({
|
|
691
|
+
name: scope ? scope + ':' + 'Applicant_Occupation' : 'Applicant_Occupation',
|
|
751
692
|
label: "What is the Applicant's Occupation?",
|
|
752
|
-
name: 'Applicant_Occupation',
|
|
753
693
|
placeholder: "Occupation"
|
|
754
694
|
});
|
|
755
695
|
|
|
756
696
|
|
|
757
|
-
const applicantAge = () =>
|
|
697
|
+
const applicantAge = (scope) => sbsText({
|
|
698
|
+
name: scope ? scope + ':' + 'Applicant_Age' : 'Applicant_Age',
|
|
758
699
|
label: 'Age of Applicant?',
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
"25",
|
|
769
|
-
"26",
|
|
770
|
-
"27",
|
|
771
|
-
"28",
|
|
772
|
-
"29",
|
|
773
|
-
"30",
|
|
774
|
-
"31",
|
|
775
|
-
"32",
|
|
776
|
-
"33",
|
|
777
|
-
"34",
|
|
778
|
-
"35",
|
|
779
|
-
"36",
|
|
780
|
-
"37",
|
|
781
|
-
"38",
|
|
782
|
-
"39",
|
|
783
|
-
"40",
|
|
784
|
-
"41",
|
|
785
|
-
"42",
|
|
786
|
-
"43",
|
|
787
|
-
"44",
|
|
788
|
-
"45",
|
|
789
|
-
"46",
|
|
790
|
-
"47",
|
|
791
|
-
"48",
|
|
792
|
-
"49",
|
|
793
|
-
"50",
|
|
794
|
-
"51",
|
|
795
|
-
"52",
|
|
796
|
-
"53",
|
|
797
|
-
"54",
|
|
798
|
-
"55",
|
|
799
|
-
"56",
|
|
800
|
-
"57",
|
|
801
|
-
"58",
|
|
802
|
-
"59",
|
|
803
|
-
"60",
|
|
804
|
-
"61",
|
|
805
|
-
"62",
|
|
806
|
-
"63",
|
|
807
|
-
"64",
|
|
808
|
-
"65"
|
|
809
|
-
]
|
|
700
|
+
placeholder: 'Age between 18 and 65',
|
|
701
|
+
maxlength: 2,
|
|
702
|
+
inputmode: "numeric",
|
|
703
|
+
validation: "required|min:18,max:65",
|
|
704
|
+
validationMessages: {
|
|
705
|
+
required: 'Applicant Age is required',
|
|
706
|
+
min: 'Invalid Age - must be between 18 and 65',
|
|
707
|
+
max: 'Invalid Age - must be between 18 and 65',
|
|
708
|
+
}
|
|
810
709
|
});
|
|
811
710
|
|
|
812
|
-
const applicantDisabilityHowObtain = () => sbsSelect({
|
|
711
|
+
const applicantDisabilityHowObtain = (scope) => sbsSelect({
|
|
712
|
+
name: scope ? scope + ':' + 'Applicant_Disability_How_Obtain' : 'Applicant_Disability_How_Obtain',
|
|
813
713
|
label: 'How Did Applicant Obtain the Disability Policy?',
|
|
814
|
-
name: 'Applicant_Disability_How_Obtain',
|
|
815
714
|
options: [
|
|
816
715
|
"Employer",
|
|
817
716
|
"Self",
|
|
@@ -819,8 +718,8 @@ const applicantDisabilityHowObtain = () => sbsSelect({
|
|
|
819
718
|
]
|
|
820
719
|
});
|
|
821
720
|
|
|
822
|
-
const applicantPreviouslyAppliedLtdBenefits = () => sbsRadio({
|
|
823
|
-
name: 'Applicant_Previously_Apply_Ltd_Benefits',
|
|
721
|
+
const applicantPreviouslyAppliedLtdBenefits = (scope) => sbsRadio({
|
|
722
|
+
name: scope ? scope + ':' + 'Applicant_Previously_Apply_Ltd_Benefits' : 'Applicant_Previously_Apply_Ltd_Benefits',
|
|
824
723
|
label: 'Has Applicant Previously Applied for Long Term Disability Benefits?',
|
|
825
724
|
options: [
|
|
826
725
|
"Yes, claim pending",
|
|
@@ -829,9 +728,9 @@ const applicantPreviouslyAppliedLtdBenefits = () => sbsRadio({
|
|
|
829
728
|
]
|
|
830
729
|
});
|
|
831
730
|
|
|
832
|
-
const applicantMonthlySalary = () => sbsSelect({
|
|
731
|
+
const applicantMonthlySalary = (scope) => sbsSelect({
|
|
732
|
+
name: scope ? scope + ':' + 'Applicant_Monthly_Salary' : 'Applicant_Monthly_Salary',
|
|
833
733
|
label: "Applicant's Monthly Salary/Pay When Last at Work:",
|
|
834
|
-
name: 'Applicant_Monthly_Salary',
|
|
835
734
|
options: [
|
|
836
735
|
"< $1,000",
|
|
837
736
|
"$1,000 - $2,000",
|
|
@@ -847,8 +746,8 @@ const applicantMonthlySalary = () => sbsSelect({
|
|
|
847
746
|
]
|
|
848
747
|
});
|
|
849
748
|
|
|
850
|
-
const applicantReceivedDisabilityBenefits = () => sbsRadio({
|
|
851
|
-
name: 'Applicant_Received_Disability_Benefits',
|
|
749
|
+
const applicantReceivedDisabilityBenefits = (scope) => sbsRadio({
|
|
750
|
+
name: scope ? scope + ':' + 'Applicant_Received_Disability_Benefits' : 'Applicant_Received_Disability_Benefits',
|
|
852
751
|
label: 'Has Applicant Ever Received Long Term Disability Benefits for this Claim?',
|
|
853
752
|
options: [
|
|
854
753
|
"Yes, currently receiving",
|
|
@@ -857,13 +756,13 @@ const applicantReceivedDisabilityBenefits = () => sbsRadio({
|
|
|
857
756
|
]
|
|
858
757
|
});
|
|
859
758
|
|
|
860
|
-
const applicantLTDisabilityPolicy = () => sbsYesNoRadio({
|
|
861
|
-
name: 'Applicant_Lt_Disability_Policy',
|
|
759
|
+
const applicantLTDisabilityPolicy = (scope) => sbsYesNoRadio({
|
|
760
|
+
name: scope ? scope + ':' + 'Applicant_Lt_Disability_Policy' : 'Applicant_Lt_Disability_Policy',
|
|
862
761
|
label: 'Does Applicant have a Long Term Disability Policy?'
|
|
863
762
|
});
|
|
864
763
|
|
|
865
|
-
const atFault = () => sbsYesNoRadio({
|
|
866
|
-
name: 'At_Fault',
|
|
764
|
+
const atFault = (scope) => sbsYesNoRadio({
|
|
765
|
+
name: scope ? scope + ':' + 'At_Fault' : 'At_Fault',
|
|
867
766
|
label: 'Were You at Fault?'
|
|
868
767
|
});
|
|
869
768
|
|
|
@@ -876,9 +775,9 @@ const bankruptcyCrossSell = () => sbsCheckbox({
|
|
|
876
775
|
helpClass: "!t-text-sm"
|
|
877
776
|
});
|
|
878
777
|
|
|
879
|
-
const bloodContentAlcholTest = () => sbsSelect({
|
|
778
|
+
const bloodContentAlcholTest = (scope) => sbsSelect({
|
|
779
|
+
name: scope ? scope + ':' + 'Blood_Alcohol_Content_Test' : 'Blood_Alcohol_Content_Test',
|
|
880
780
|
label: 'Blood Alcohol Content Measured by Test:',
|
|
881
|
-
name: 'Blood_Alcohol_Content_Test',
|
|
882
781
|
options: [
|
|
883
782
|
"No Test",
|
|
884
783
|
"0.00% - 0.04%",
|
|
@@ -915,9 +814,9 @@ const businessType = () => sbs2ColRadio({
|
|
|
915
814
|
]
|
|
916
815
|
});
|
|
917
816
|
|
|
918
|
-
const causeOfInjury = () => sbsSelect({
|
|
817
|
+
const causeOfInjury = (scope) => sbsSelect({
|
|
818
|
+
name: scope ? scope + ':' + 'Cause_Of_Injury' : 'Cause_Of_Injury',
|
|
919
819
|
label: 'Cause of Injury:',
|
|
920
|
-
name: 'Cause_Of_Injury',
|
|
921
820
|
options: [
|
|
922
821
|
"Traumatic Physical Injury (Accident)",
|
|
923
822
|
"Repeated Trauma Injury",
|
|
@@ -951,9 +850,9 @@ const civilRightsType = () => sbsSelect({
|
|
|
951
850
|
]
|
|
952
851
|
});
|
|
953
852
|
|
|
954
|
-
const childHome = () => sbsSelect({
|
|
853
|
+
const childHome = (scope) => sbsSelect({
|
|
854
|
+
name: scope ? scope + ':' + 'Child_Home' : 'Child_Home',
|
|
955
855
|
label: 'With Whom Do the Children Currently Live?',
|
|
956
|
-
name: 'Child_Home',
|
|
957
856
|
options: [
|
|
958
857
|
'Mother',
|
|
959
858
|
'Father',
|
|
@@ -962,9 +861,9 @@ const childHome = () => sbsSelect({
|
|
|
962
861
|
]
|
|
963
862
|
});
|
|
964
863
|
|
|
965
|
-
const childPrimaryCaregiver = () => sbsSelect({
|
|
864
|
+
const childPrimaryCaregiver = (scope) => sbsSelect({
|
|
865
|
+
name: scope ? scope + ':' + 'Child_Primary_Caregiver' : 'Child_Primary_Caregiver',
|
|
966
866
|
label: 'Who is the Primary Caregiver?',
|
|
967
|
-
name: 'Child_Primary_Caregiver',
|
|
968
867
|
options: [
|
|
969
868
|
'Mother',
|
|
970
869
|
'Father',
|
|
@@ -972,9 +871,9 @@ const childPrimaryCaregiver = () => sbsSelect({
|
|
|
972
871
|
]
|
|
973
872
|
});
|
|
974
873
|
|
|
975
|
-
const childRelationship = () => sbsSelect({
|
|
874
|
+
const childRelationship = (scope) => sbsSelect({
|
|
875
|
+
name: scope ? scope + ':' + 'Child_Relationship' : 'Child_Relationship',
|
|
976
876
|
label: 'Your Relationship to Child(ren):',
|
|
977
|
-
name: 'Child_Relationship',
|
|
978
877
|
options: [
|
|
979
878
|
'Father',
|
|
980
879
|
'Mother',
|
|
@@ -984,9 +883,9 @@ const childRelationship = () => sbsSelect({
|
|
|
984
883
|
]
|
|
985
884
|
});
|
|
986
885
|
|
|
987
|
-
const claimStatus = () => sbsSelect({
|
|
886
|
+
const claimStatus = (scope) => sbsSelect({
|
|
887
|
+
name: scope ? scope + ':' + 'Claim_Status' : 'Claim_Status',
|
|
988
888
|
label: "Status of Claim:",
|
|
989
|
-
name: 'Claim_Status',
|
|
990
889
|
options: [
|
|
991
890
|
"No action taken yet",
|
|
992
891
|
"Demand for compensation made",
|
|
@@ -1021,9 +920,9 @@ const consumerLawyerType = () => sbsSelect({
|
|
|
1021
920
|
]
|
|
1022
921
|
});
|
|
1023
922
|
|
|
1024
|
-
const countryOfCitizenship = () => sbsSelect({
|
|
923
|
+
const countryOfCitizenship = (scope) => sbsSelect({
|
|
924
|
+
name: scope ? scope + ':' + 'Country_Of_Citizenship' : 'Country_Of_Citizenship',
|
|
1025
925
|
label: 'What is Your Current Country of Citizenship?',
|
|
1026
|
-
name: 'Country_Of_Citizenship',
|
|
1027
926
|
options: [
|
|
1028
927
|
"Afghanistan",
|
|
1029
928
|
"Albania",
|
|
@@ -1247,10 +1146,10 @@ const criminalChargesFiled = () => sbsRadio({
|
|
|
1247
1146
|
]
|
|
1248
1147
|
});
|
|
1249
1148
|
|
|
1250
|
-
const degreeOfInterest = (help) => sbsSelect({
|
|
1149
|
+
const degreeOfInterest = (scope, help) => sbsSelect({
|
|
1150
|
+
name: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
|
|
1151
|
+
id: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
|
|
1251
1152
|
label: 'How Likely Are You to Pay if Your Issue Could be Resolved?',
|
|
1252
|
-
id: 'Degree_Of_Interest',
|
|
1253
|
-
name: 'Degree_Of_Interest',
|
|
1254
1153
|
help: help,
|
|
1255
1154
|
options: [
|
|
1256
1155
|
'Definitely',
|
|
@@ -1265,7 +1164,7 @@ const defaultNotice = () => sbsYesNoRadio({
|
|
|
1265
1164
|
label: 'Have You Received a Notice of Default from the Lender?'
|
|
1266
1165
|
});
|
|
1267
1166
|
|
|
1268
|
-
const degreeOfInterestHelp = () => degreeOfInterest('No payment necessary to speak with lawyers.');
|
|
1167
|
+
const degreeOfInterestHelp = (scope) => degreeOfInterest(scope, 'No payment necessary to speak with lawyers.');
|
|
1269
1168
|
|
|
1270
1169
|
const disabilityConditionStopWork = () => sbsYesNoRadio({
|
|
1271
1170
|
name: 'Disability_Condition_Stop_Work',
|
|
@@ -1277,9 +1176,9 @@ const disabilityWorkHistory = () => sbsYesNoRadio({
|
|
|
1277
1176
|
label: 'Have You Had a Full-Time Job Within the Past 5 Years?'
|
|
1278
1177
|
});
|
|
1279
1178
|
|
|
1280
|
-
const doctorTreatment = () => sbsYesNoRadio({
|
|
1281
|
-
name: 'Doctor_Treatment',
|
|
1282
|
-
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?'
|
|
1179
|
+
const doctorTreatment = (scope) => sbsYesNoRadio({
|
|
1180
|
+
name: scope ? scope + ':' + 'Doctor_Treatment' : 'Doctor_Treatment',
|
|
1181
|
+
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?',
|
|
1283
1182
|
});
|
|
1284
1183
|
|
|
1285
1184
|
const driversLicenseType = () => sbs2ItemRadio({
|
|
@@ -1319,9 +1218,9 @@ const employerType = () => sbsSelect({
|
|
|
1319
1218
|
]
|
|
1320
1219
|
});
|
|
1321
1220
|
|
|
1322
|
-
const estateLegalServicesNeeded = () => sbsSelect({
|
|
1221
|
+
const estateLegalServicesNeeded = (scope) => sbsSelect({
|
|
1222
|
+
name: scope ? scope + ':' + 'Estate_Legal_Services_Needed' : 'Estate_Legal_Services_Needed',
|
|
1323
1223
|
label: "Legal Services Needed for Your Estate:",
|
|
1324
|
-
name: 'Estate_Legal_Services_Needed',
|
|
1325
1224
|
options: [
|
|
1326
1225
|
"Charitable Giving",
|
|
1327
1226
|
"Contested Wills",
|
|
@@ -1342,13 +1241,13 @@ const firstName = () => sbsText({
|
|
|
1342
1241
|
}
|
|
1343
1242
|
});
|
|
1344
1243
|
|
|
1345
|
-
const haveAttorney = () => sbsYesNoRadio({
|
|
1346
|
-
name: 'Have_Attorney',
|
|
1244
|
+
const haveAttorney = (scope) => sbsYesNoRadio({
|
|
1245
|
+
name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
|
|
1347
1246
|
label: 'Already Working with An Attorney?'
|
|
1348
1247
|
});
|
|
1349
1248
|
|
|
1350
|
-
const haveChildren = () => sbsYesNoRadio({
|
|
1351
|
-
name: 'Have_Children',
|
|
1249
|
+
const haveChildren = (scope) => sbsYesNoRadio({
|
|
1250
|
+
name: scope ? scope + ':' + 'Have_Children' : 'Have_Children',
|
|
1352
1251
|
label: 'Do You Have Children?'
|
|
1353
1252
|
});
|
|
1354
1253
|
|
|
@@ -1357,9 +1256,9 @@ const haveCourtDate = () => sbsYesNoRadio({
|
|
|
1357
1256
|
label: 'Do You Have a Court Date?'
|
|
1358
1257
|
});
|
|
1359
1258
|
|
|
1360
|
-
const immigrationDetails = () => sbsSelect({
|
|
1259
|
+
const immigrationDetails = (scope) => sbsSelect({
|
|
1260
|
+
name: scope ? scope + ':' + 'Immigration_Details' : 'Immigration_Details',
|
|
1361
1261
|
label: 'Where is the Person Seeking Immigration Located?',
|
|
1362
|
-
name: 'Immigration_Details',
|
|
1363
1262
|
options: [
|
|
1364
1263
|
"In the USA with proper documentation",
|
|
1365
1264
|
"In the USA without proper documentation",
|
|
@@ -1371,9 +1270,9 @@ const immigrationDetails = () => sbsSelect({
|
|
|
1371
1270
|
]
|
|
1372
1271
|
});
|
|
1373
1272
|
|
|
1374
|
-
const immigrationEntry = () => sbsSelect({
|
|
1273
|
+
const immigrationEntry = (scope) => sbsSelect({
|
|
1274
|
+
name: scope ? scope + ':' + 'Immigration_Entry' : 'Immigration_Entry',
|
|
1375
1275
|
label: 'How are you Trying to Enter the Country?',
|
|
1376
|
-
name: 'Immigration_Entry',
|
|
1377
1276
|
options: [
|
|
1378
1277
|
"With Proper Documents/Visa and Inspection through Customs Border Patrol",
|
|
1379
1278
|
"Illegally",
|
|
@@ -1382,18 +1281,18 @@ const immigrationEntry = () => sbsSelect({
|
|
|
1382
1281
|
]
|
|
1383
1282
|
});
|
|
1384
1283
|
|
|
1385
|
-
const immigrationLocation = () => sbsSelect({
|
|
1284
|
+
const immigrationLocation = (scope) => sbsSelect({
|
|
1285
|
+
name: scope ? scope + ':' + 'Immigration_Location' : 'Immigration_Location',
|
|
1386
1286
|
label: 'Where Are You Migrating To?',
|
|
1387
|
-
name: 'Immigration_Location',
|
|
1388
1287
|
options: [
|
|
1389
1288
|
"In the USA",
|
|
1390
1289
|
"Outside the USA"
|
|
1391
1290
|
]
|
|
1392
1291
|
});
|
|
1393
1292
|
|
|
1394
|
-
const immigrationType = () => sbsSelect({
|
|
1293
|
+
const immigrationType = (scope) => sbsSelect({
|
|
1294
|
+
name: scope ? scope + ':' + 'Immigration_Type' : 'Immigration_Type',
|
|
1395
1295
|
label: 'What Type of Immigration Issue?',
|
|
1396
|
-
name: 'Immigration_Type',
|
|
1397
1296
|
options: [
|
|
1398
1297
|
"Citizenship (for current green card holders)",
|
|
1399
1298
|
"Permanent Visa Family Based (green cards)",
|
|
@@ -1408,9 +1307,9 @@ const immigrationType = () => sbsSelect({
|
|
|
1408
1307
|
]
|
|
1409
1308
|
});
|
|
1410
1309
|
|
|
1411
|
-
const immigrationStatus = () => sbsSelect({
|
|
1310
|
+
const immigrationStatus = (scope) => sbsSelect({
|
|
1311
|
+
name: scope ? scope + ':' + 'Immigration_Status' : 'Immigration_Status',
|
|
1412
1312
|
label: 'What is the Current Status of the Immigration Case?',
|
|
1413
|
-
name: 'Immigration_Status',
|
|
1414
1313
|
options: [
|
|
1415
1314
|
"Out of Status (overstayed my visa)",
|
|
1416
1315
|
"Current Visa Holder (in status)",
|
|
@@ -1420,9 +1319,9 @@ const immigrationStatus = () => sbsSelect({
|
|
|
1420
1319
|
]
|
|
1421
1320
|
});
|
|
1422
1321
|
|
|
1423
|
-
const incidentDate = () => sbsDate({
|
|
1322
|
+
const incidentDate = (scope) => sbsDate({
|
|
1323
|
+
name: scope ? scope + ':' + 'Incident_Date' : 'Incident_Date',
|
|
1424
1324
|
label: 'Date of Incident:',
|
|
1425
|
-
name: 'Incident_Date'
|
|
1426
1325
|
});
|
|
1427
1326
|
|
|
1428
1327
|
const lastName = () => sbsText({
|
|
@@ -1456,9 +1355,9 @@ const lawsuitOtherParty = () => sbsSelect({
|
|
|
1456
1355
|
]
|
|
1457
1356
|
});
|
|
1458
1357
|
|
|
1459
|
-
const lawyerPaymentMethod = () => sbsSelect({
|
|
1358
|
+
const lawyerPaymentMethod = (scope) => sbsSelect({
|
|
1359
|
+
name: scope ? scope + ':' + 'Lawyer_Payment_Method' : 'Lawyer_Payment_Method',
|
|
1460
1360
|
label: 'How Will You Pay for Legal Fees if You Hire a Lawyer?',
|
|
1461
|
-
name: 'Lawyer_Payment_Method',
|
|
1462
1361
|
help: 'No payment necessary to speak with lawyers.',
|
|
1463
1362
|
options: [
|
|
1464
1363
|
'Cash',
|
|
@@ -1487,9 +1386,9 @@ const loanAmount = () => sbsSelect({
|
|
|
1487
1386
|
]
|
|
1488
1387
|
});
|
|
1489
1388
|
|
|
1490
|
-
const maritalStatus = () => sbsSelect({
|
|
1389
|
+
const maritalStatus = (scope) => sbsSelect({
|
|
1390
|
+
name: scope ? scope + ':' + 'Marital_Status' : 'Marital_Status',
|
|
1491
1391
|
label: 'Marital Status:',
|
|
1492
|
-
name: 'Marital_Status',
|
|
1493
1392
|
options: [
|
|
1494
1393
|
'Unmarried, Living Together',
|
|
1495
1394
|
'Unmarried, Do Not Live Together',
|
|
@@ -1529,19 +1428,6 @@ const numEmployeesOfBusiness = () => sbsSelect({
|
|
|
1529
1428
|
]
|
|
1530
1429
|
});
|
|
1531
1430
|
|
|
1532
|
-
const nursingHomeStatus = () => sbsSelect({
|
|
1533
|
-
label: "The Elderly Person is Currently:",
|
|
1534
|
-
name: 'Nursing_Home_Status',
|
|
1535
|
-
options: [
|
|
1536
|
-
"Living at a nursing home",
|
|
1537
|
-
"Living at their own home with medical supervision",
|
|
1538
|
-
"Living at their own home without medical supervision ",
|
|
1539
|
-
"Living at the home of a child, grandchild or friend",
|
|
1540
|
-
"Deceased",
|
|
1541
|
-
"Other"
|
|
1542
|
-
]
|
|
1543
|
-
});
|
|
1544
|
-
|
|
1545
1431
|
const ownRealEstate = () => sbsYesNoRadio({
|
|
1546
1432
|
name: 'Own_Real_Estate',
|
|
1547
1433
|
label: 'Do You Own Real Estate?'
|
|
@@ -1572,8 +1458,8 @@ const patentFor = () => sbsSelect({
|
|
|
1572
1458
|
]
|
|
1573
1459
|
});
|
|
1574
1460
|
|
|
1575
|
-
const pendingCharges = () => sbsYesNoRadio({
|
|
1576
|
-
name: 'Pending_Charges',
|
|
1461
|
+
const pendingCharges = (scope) => sbsYesNoRadio({
|
|
1462
|
+
name: scope ? scope + ':' + 'Pending_Charges' : 'Pending_Charges',
|
|
1577
1463
|
label: 'Do you currently have any pending charges?'
|
|
1578
1464
|
});
|
|
1579
1465
|
|
|
@@ -1595,9 +1481,9 @@ const phone = () => sbsText({
|
|
|
1595
1481
|
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]"
|
|
1596
1482
|
});
|
|
1597
1483
|
|
|
1598
|
-
const primaryInjury = () => sbs2ColRadio({
|
|
1484
|
+
const primaryInjury = (scope) => sbs2ColRadio({
|
|
1485
|
+
name: scope ? scope + ':' + 'Primary_Injury' : 'Primary_Injury',
|
|
1599
1486
|
label: 'Primary Injury:',
|
|
1600
|
-
name: 'Primary_Injury',
|
|
1601
1487
|
options: [
|
|
1602
1488
|
"Anxiety",
|
|
1603
1489
|
"Back or Neck Pain",
|
|
@@ -1610,13 +1496,13 @@ const primaryInjury = () => sbs2ColRadio({
|
|
|
1610
1496
|
]
|
|
1611
1497
|
});
|
|
1612
1498
|
|
|
1613
|
-
const priorAlcoholOffenses = () => sbsYesNoRadio({
|
|
1614
|
-
name: 'Prior_Alcohol_Offenses',
|
|
1499
|
+
const priorAlcoholOffenses = (scope) => sbsYesNoRadio({
|
|
1500
|
+
name: scope ? scope + ':' + 'Prior_Alcohol_Offenses' : 'Prior_Alcohol_Offenses',
|
|
1615
1501
|
label: 'Any Prior Alcohol Related Offenses?'
|
|
1616
1502
|
});
|
|
1617
1503
|
|
|
1618
|
-
const policeReportFiled = () => sbsYesNoRadio({
|
|
1619
|
-
name: 'Police_Report_Filed',
|
|
1504
|
+
const policeReportFiled = (scope) => sbsYesNoRadio({
|
|
1505
|
+
name: scope ? scope + ':' + 'Police_Report_Filed' : 'Police_Report_Filed',
|
|
1620
1506
|
label: 'Was a Police Report Filed?'
|
|
1621
1507
|
});
|
|
1622
1508
|
|
|
@@ -1675,9 +1561,9 @@ const roleInMatterCriminal = () => sbsRadio({
|
|
|
1675
1561
|
]
|
|
1676
1562
|
});
|
|
1677
1563
|
|
|
1678
|
-
const roleInMatterProbate = () => sbsSelect({
|
|
1564
|
+
const roleInMatterProbate = (scope) => sbsSelect({
|
|
1565
|
+
name: scope ? scope + ':' + 'Role_In_Matter_Probate' : 'Role_In_Matter_Probate',
|
|
1679
1566
|
label: "What Is Your Role in this Matter?",
|
|
1680
|
-
name: 'Role_In_Matter_Probate',
|
|
1681
1567
|
options: [
|
|
1682
1568
|
"Preparing My Will",
|
|
1683
1569
|
"Executor",
|
|
@@ -1770,9 +1656,9 @@ const TCPAConsent = () => ({
|
|
|
1770
1656
|
}
|
|
1771
1657
|
});
|
|
1772
1658
|
|
|
1773
|
-
const typeOfAlcoholTest = () => sbsSelect({
|
|
1659
|
+
const typeOfAlcoholTest = (scope) => sbsSelect({
|
|
1660
|
+
name: scope ? scope + ':' + 'Type_Of_Alcohol_Test' : 'Type_Of_Alcohol_Test',
|
|
1774
1661
|
label: 'Type of Alcohol Test Performed?',
|
|
1775
|
-
name: 'Type_Of_Alcohol_Test',
|
|
1776
1662
|
options: [
|
|
1777
1663
|
"No Test",
|
|
1778
1664
|
"Refused Test",
|
|
@@ -1783,9 +1669,9 @@ const typeOfAlcoholTest = () => sbsSelect({
|
|
|
1783
1669
|
]
|
|
1784
1670
|
});
|
|
1785
1671
|
|
|
1786
|
-
const typeOfAssets = () => col2Checkbox({
|
|
1672
|
+
const typeOfAssets = (scope) => col2Checkbox({
|
|
1673
|
+
name: scope ? scope + ':' + 'Type_Of_Assets' : 'Type_Of_Assets',
|
|
1787
1674
|
label: 'Type of Assets:',
|
|
1788
|
-
name: 'Type_Of_Assets',
|
|
1789
1675
|
options: [
|
|
1790
1676
|
"Business Interests",
|
|
1791
1677
|
"Cash",
|
|
@@ -1834,9 +1720,9 @@ const trafficViolations = () => sbsSelect({
|
|
|
1834
1720
|
]
|
|
1835
1721
|
});
|
|
1836
1722
|
|
|
1837
|
-
const valueOfAssets = () => sbsSelect({
|
|
1723
|
+
const valueOfAssets = (scope) => sbsSelect({
|
|
1724
|
+
name: scope ? scope + ':' + 'Value_Of_Assets' : 'Value_Of_Assets',
|
|
1838
1725
|
label: 'Value of Your Assets?',
|
|
1839
|
-
name: 'Value_Of_Assets',
|
|
1840
1726
|
options: [
|
|
1841
1727
|
"Less than 50K",
|
|
1842
1728
|
"50K to 100K",
|
|
@@ -1847,49 +1733,6 @@ const valueOfAssets = () => sbsSelect({
|
|
|
1847
1733
|
]
|
|
1848
1734
|
});
|
|
1849
1735
|
|
|
1850
|
-
const veteransDisabilityApplied = () => sbsSelect({
|
|
1851
|
-
label: 'Has the Applicant Applied for VA Disability Compensation?',
|
|
1852
|
-
name: 'Veterans_Disability_Applied',
|
|
1853
|
-
options: [
|
|
1854
|
-
"Yes, Claim filed and awaiting decision",
|
|
1855
|
-
"Yes, Claim denied",
|
|
1856
|
-
"Yes, Claim on appeal",
|
|
1857
|
-
"Yes, Claim approved",
|
|
1858
|
-
"Yes, Benefits awarded",
|
|
1859
|
-
"No, Claim has not been filed"
|
|
1860
|
-
]
|
|
1861
|
-
});
|
|
1862
|
-
|
|
1863
|
-
const veteransDisabilityConditions = () => sbsCheckbox({
|
|
1864
|
-
label: 'What Service Connected Conditions Does the Applicant Have? (select all that apply)',
|
|
1865
|
-
name: 'Veterans_Disability_Conditions',
|
|
1866
|
-
options: [
|
|
1867
|
-
"Traumatic Physical Injury (broken bones, loss of limb)",
|
|
1868
|
-
"Mental Injury",
|
|
1869
|
-
"Occupational Disease",
|
|
1870
|
-
"Repeated Trauma Injury",
|
|
1871
|
-
"Other"
|
|
1872
|
-
]
|
|
1873
|
-
});
|
|
1874
|
-
|
|
1875
|
-
const veteransDisabilityRelationship = () => sbsSelect({
|
|
1876
|
-
label: 'What is Your Relationship to the Applicant?',
|
|
1877
|
-
name: 'Veterans_Disability_Relationship',
|
|
1878
|
-
options: [
|
|
1879
|
-
"Self, Active Duty",
|
|
1880
|
-
"Self, Active Reserve",
|
|
1881
|
-
"Self, Discharged from Active Duty",
|
|
1882
|
-
"Self, Discharged as Reservist",
|
|
1883
|
-
"Surviving Family Member",
|
|
1884
|
-
"Other"
|
|
1885
|
-
]
|
|
1886
|
-
});
|
|
1887
|
-
|
|
1888
|
-
const veteransDisabilityInjured = () => sbsYesNoRadio({
|
|
1889
|
-
name: 'Veterans_Disability_Injured',
|
|
1890
|
-
label: 'Was the Applicant Hurt While on Duty or is the Condition Related to Military Service?'
|
|
1891
|
-
});
|
|
1892
|
-
|
|
1893
1736
|
const wouldLikeLawyerTo = () => sbsRadio({
|
|
1894
1737
|
label: 'I Would Like a Lawyer to:',
|
|
1895
1738
|
name: 'Would_Like_Lawyer_To',
|
|
@@ -1965,17 +1808,17 @@ const AsbestosAndMesotheliomaQuestions = () => group(
|
|
|
1965
1808
|
}
|
|
1966
1809
|
);
|
|
1967
1810
|
|
|
1968
|
-
const AutoAndCarAccidentsQuestions = () => group(
|
|
1811
|
+
const AutoAndCarAccidentsQuestions = (condition, scope) => group(
|
|
1969
1812
|
'AutoAndCarAccidentsQuestions',
|
|
1970
1813
|
{
|
|
1971
|
-
if: '$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',
|
|
1814
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"'),
|
|
1972
1815
|
children: [
|
|
1973
|
-
haveAttorney(),
|
|
1974
|
-
incidentDate(),
|
|
1975
|
-
atFault(),
|
|
1976
|
-
primaryInjury(),
|
|
1977
|
-
doctorTreatment(),
|
|
1978
|
-
policeReportFiled()
|
|
1816
|
+
haveAttorney(scope),
|
|
1817
|
+
incidentDate(scope),
|
|
1818
|
+
atFault(scope),
|
|
1819
|
+
primaryInjury(scope),
|
|
1820
|
+
doctorTreatment(scope),
|
|
1821
|
+
policeReportFiled(scope)
|
|
1979
1822
|
]
|
|
1980
1823
|
}
|
|
1981
1824
|
);
|
|
@@ -2020,32 +1863,32 @@ const BusinessLawyersQuestions = () => group(
|
|
|
2020
1863
|
}
|
|
2021
1864
|
);
|
|
2022
1865
|
|
|
2023
|
-
const ChildCustodyAndSupportQuestions = () => group(
|
|
1866
|
+
const ChildCustodyAndSupportQuestions = (condition, scope) => group(
|
|
2024
1867
|
'ChildCustodyAndSupportQuestions',
|
|
2025
1868
|
{
|
|
2026
|
-
if: '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',
|
|
1869
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"'),
|
|
2027
1870
|
children: [
|
|
2028
|
-
haveAttorney(),
|
|
2029
|
-
childRelationship(),
|
|
2030
|
-
childHome(),
|
|
2031
|
-
childPrimaryCaregiver(),
|
|
2032
|
-
degreeOfInterest(),
|
|
2033
|
-
lawyerPaymentMethod()
|
|
1871
|
+
haveAttorney(scope),
|
|
1872
|
+
childRelationship(scope),
|
|
1873
|
+
childHome(scope),
|
|
1874
|
+
childPrimaryCaregiver(scope),
|
|
1875
|
+
degreeOfInterest(scope),
|
|
1876
|
+
lawyerPaymentMethod(scope)
|
|
2034
1877
|
]
|
|
2035
1878
|
}
|
|
2036
1879
|
);
|
|
2037
1880
|
|
|
2038
|
-
const ChildCustodyQuestions = () => group(
|
|
1881
|
+
const ChildCustodyQuestions = (condition, scope) => group(
|
|
2039
1882
|
'ChildCustodyQuestions',
|
|
2040
1883
|
{
|
|
2041
|
-
if: '$get(Type_Of_Legal_Problem).value == "Child Custody"',
|
|
1884
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody"'),
|
|
2042
1885
|
children: [
|
|
2043
|
-
haveAttorney(),
|
|
2044
|
-
childRelationship(),
|
|
2045
|
-
childHome(),
|
|
2046
|
-
childPrimaryCaregiver(),
|
|
2047
|
-
degreeOfInterest(),
|
|
2048
|
-
lawyerPaymentMethod()
|
|
1886
|
+
haveAttorney(scope),
|
|
1887
|
+
childRelationship(scope),
|
|
1888
|
+
childHome(scope),
|
|
1889
|
+
childPrimaryCaregiver(scope),
|
|
1890
|
+
degreeOfInterest(scope),
|
|
1891
|
+
lawyerPaymentMethod(scope)
|
|
2049
1892
|
]
|
|
2050
1893
|
}
|
|
2051
1894
|
);
|
|
@@ -2168,32 +2011,32 @@ const DebtAndCollectionsQuestions = () => group(
|
|
|
2168
2011
|
}
|
|
2169
2012
|
);
|
|
2170
2013
|
|
|
2171
|
-
const DivorceQuestions = () => group(
|
|
2014
|
+
const DivorceQuestions = (condition, scope) => group(
|
|
2172
2015
|
'DivorceQuestions',
|
|
2173
2016
|
{
|
|
2174
|
-
if: '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',
|
|
2017
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"'),
|
|
2175
2018
|
children: [
|
|
2176
|
-
haveAttorney(),
|
|
2177
|
-
maritalStatus(),
|
|
2178
|
-
haveChildren(),
|
|
2179
|
-
degreeOfInterest(),
|
|
2180
|
-
lawyerPaymentMethod()
|
|
2019
|
+
haveAttorney(scope),
|
|
2020
|
+
maritalStatus(scope),
|
|
2021
|
+
haveChildren(scope),
|
|
2022
|
+
degreeOfInterest(scope),
|
|
2023
|
+
lawyerPaymentMethod(scope)
|
|
2181
2024
|
]
|
|
2182
2025
|
}
|
|
2183
2026
|
);
|
|
2184
2027
|
|
|
2185
|
-
const DUIAndDWIQuestions = () => group(
|
|
2028
|
+
const DUIAndDWIQuestions = (condition, scope) => group(
|
|
2186
2029
|
'DUIAndDWIQuestions',
|
|
2187
2030
|
{
|
|
2188
|
-
if: '$get(Type_Of_Legal_Problem).value == "DUI and DWI"',
|
|
2031
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "DUI and DWI"'),
|
|
2189
2032
|
children: [
|
|
2190
|
-
haveAttorney(),
|
|
2191
|
-
incidentDate(),
|
|
2192
|
-
priorAlcoholOffenses(),
|
|
2193
|
-
typeOfAlcoholTest(),
|
|
2194
|
-
bloodContentAlcholTest(),
|
|
2195
|
-
pendingCharges(),
|
|
2196
|
-
degreeOfInterestHelp()
|
|
2033
|
+
haveAttorney(scope),
|
|
2034
|
+
incidentDate(scope),
|
|
2035
|
+
priorAlcoholOffenses(scope),
|
|
2036
|
+
typeOfAlcoholTest(scope),
|
|
2037
|
+
bloodContentAlcholTest(scope),
|
|
2038
|
+
pendingCharges(scope),
|
|
2039
|
+
degreeOfInterestHelp(scope)
|
|
2197
2040
|
]
|
|
2198
2041
|
}
|
|
2199
2042
|
);
|
|
@@ -2339,19 +2182,19 @@ const IdentityTheftQuestions = () => group(
|
|
|
2339
2182
|
}
|
|
2340
2183
|
);
|
|
2341
2184
|
|
|
2342
|
-
const ImmigrationAndVisasQuestions = () => group(
|
|
2185
|
+
const ImmigrationAndVisasQuestions = (condition, scope) => group(
|
|
2343
2186
|
'ImmigrationAndVisasQuestions',
|
|
2344
2187
|
{
|
|
2345
|
-
if: '$get(Type_Of_Legal_Problem).value == "Immigration and Visas"',
|
|
2188
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Immigration and Visas"'),
|
|
2346
2189
|
children: [
|
|
2347
|
-
haveAttorney(),
|
|
2348
|
-
countryOfCitizenship(),
|
|
2349
|
-
immigrationLocation(),
|
|
2350
|
-
immigrationEntry(),
|
|
2351
|
-
immigrationType(),
|
|
2352
|
-
immigrationStatus(),
|
|
2353
|
-
immigrationDetails(),
|
|
2354
|
-
degreeOfInterestHelp()
|
|
2190
|
+
haveAttorney(scope),
|
|
2191
|
+
countryOfCitizenship(scope),
|
|
2192
|
+
immigrationLocation(scope),
|
|
2193
|
+
immigrationEntry(scope),
|
|
2194
|
+
immigrationType(scope),
|
|
2195
|
+
immigrationStatus(scope),
|
|
2196
|
+
immigrationDetails(scope),
|
|
2197
|
+
degreeOfInterestHelp(scope)
|
|
2355
2198
|
]
|
|
2356
2199
|
}
|
|
2357
2200
|
);
|
|
@@ -2392,19 +2235,19 @@ const LemonLawQuestions = () => group(
|
|
|
2392
2235
|
}
|
|
2393
2236
|
);
|
|
2394
2237
|
|
|
2395
|
-
const LongTermDisabilityQuestions = () => group(
|
|
2238
|
+
const LongTermDisabilityQuestions = (condition, scope) => group(
|
|
2396
2239
|
'LongTermDisabilityQuestions',
|
|
2397
2240
|
{
|
|
2398
|
-
if: '$get(Type_Of_Legal_Problem).value == "Long Term Disability"',
|
|
2241
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Long Term Disability"'),
|
|
2399
2242
|
children: [
|
|
2400
|
-
haveAttorney(),
|
|
2401
|
-
applicantOccupation(),
|
|
2402
|
-
applicantAge(),
|
|
2403
|
-
applicantLTDisabilityPolicy(),
|
|
2404
|
-
applicantDisabilityHowObtain(),
|
|
2405
|
-
applicantPreviouslyAppliedLtdBenefits(),
|
|
2406
|
-
applicantReceivedDisabilityBenefits(),
|
|
2407
|
-
applicantMonthlySalary()
|
|
2243
|
+
haveAttorney(scope),
|
|
2244
|
+
applicantOccupation(scope),
|
|
2245
|
+
applicantAge(scope),
|
|
2246
|
+
applicantLTDisabilityPolicy(scope),
|
|
2247
|
+
applicantDisabilityHowObtain(scope),
|
|
2248
|
+
applicantPreviouslyAppliedLtdBenefits(scope),
|
|
2249
|
+
applicantReceivedDisabilityBenefits(scope),
|
|
2250
|
+
applicantMonthlySalary(scope)
|
|
2408
2251
|
]
|
|
2409
2252
|
}
|
|
2410
2253
|
);
|
|
@@ -2424,18 +2267,6 @@ const MedicalMalpracticeQuestions = () => group(
|
|
|
2424
2267
|
}
|
|
2425
2268
|
);
|
|
2426
2269
|
|
|
2427
|
-
const NursingHomeAbuseQuestions = () => group(
|
|
2428
|
-
'NursingHomeAbuseQuestions',
|
|
2429
|
-
{
|
|
2430
|
-
if: '$get(Type_Of_Legal_Problem).value == "Nursing Home Abuse"',
|
|
2431
|
-
children: [
|
|
2432
|
-
haveAttorney(),
|
|
2433
|
-
incidentDate(),
|
|
2434
|
-
nursingHomeStatus()
|
|
2435
|
-
]
|
|
2436
|
-
}
|
|
2437
|
-
);
|
|
2438
|
-
|
|
2439
2270
|
const PatentsAndIntellectualPropertyQuestions = () => group(
|
|
2440
2271
|
'PatentsAndIntellectualPropertyQuestions',
|
|
2441
2272
|
{
|
|
@@ -2449,28 +2280,28 @@ const PatentsAndIntellectualPropertyQuestions = () => group(
|
|
|
2449
2280
|
}
|
|
2450
2281
|
);
|
|
2451
2282
|
|
|
2452
|
-
const PersonalInjuryQuestions = () => group(
|
|
2283
|
+
const PersonalInjuryQuestions = (condition, scope) => group(
|
|
2453
2284
|
'PersonalInjuryQuestions',
|
|
2454
2285
|
{
|
|
2455
|
-
if: '$get(Type_Of_Legal_Problem).value == "Personal Injury"',
|
|
2286
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Personal Injury"'),
|
|
2456
2287
|
children: [
|
|
2457
|
-
haveAttorney(),
|
|
2458
|
-
incidentDate(),
|
|
2459
|
-
claimStatus(),
|
|
2460
|
-
atFault(),
|
|
2461
|
-
primaryInjury(),
|
|
2462
|
-
doctorTreatment()
|
|
2288
|
+
haveAttorney(scope),
|
|
2289
|
+
incidentDate(scope),
|
|
2290
|
+
claimStatus(scope),
|
|
2291
|
+
atFault(scope),
|
|
2292
|
+
primaryInjury(scope),
|
|
2293
|
+
doctorTreatment(scope)
|
|
2463
2294
|
]
|
|
2464
2295
|
}
|
|
2465
2296
|
);
|
|
2466
2297
|
|
|
2467
|
-
const PowerofAttorneyQuestions = () => group(
|
|
2298
|
+
const PowerofAttorneyQuestions = (condition, scope) => group(
|
|
2468
2299
|
'PowerofAttorneyQuestions',
|
|
2469
2300
|
{
|
|
2470
|
-
if: '$get(Type_Of_Legal_Problem).value == "Power of Attorney"',
|
|
2301
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Power of Attorney"'),
|
|
2471
2302
|
children: [
|
|
2472
|
-
haveAttorney(),
|
|
2473
|
-
degreeOfInterestHelp()
|
|
2303
|
+
haveAttorney(scope),
|
|
2304
|
+
degreeOfInterestHelp(scope)
|
|
2474
2305
|
]
|
|
2475
2306
|
}
|
|
2476
2307
|
);
|
|
@@ -2583,30 +2414,6 @@ const UnemploymentQuestions = () => group(
|
|
|
2583
2414
|
}
|
|
2584
2415
|
);
|
|
2585
2416
|
|
|
2586
|
-
const VaccinationInjuryQuestions = () => group(
|
|
2587
|
-
'VaccinationInjuryQuestions',
|
|
2588
|
-
{
|
|
2589
|
-
if: '$get(Type_Of_Legal_Problem).value == "Vaccination Injury"',
|
|
2590
|
-
children: [
|
|
2591
|
-
haveAttorney(),
|
|
2592
|
-
incidentDate()
|
|
2593
|
-
]
|
|
2594
|
-
}
|
|
2595
|
-
);
|
|
2596
|
-
|
|
2597
|
-
const VeteransDisabilityQuestions = () => group(
|
|
2598
|
-
'VeteransDisabilityQuestions',
|
|
2599
|
-
{
|
|
2600
|
-
if: '$get(Type_Of_Legal_Problem).value == "Veteran\'s Disability"',
|
|
2601
|
-
children: [
|
|
2602
|
-
veteransDisabilityRelationship(),
|
|
2603
|
-
veteransDisabilityInjured(),
|
|
2604
|
-
veteransDisabilityConditions(),
|
|
2605
|
-
veteransDisabilityApplied()
|
|
2606
|
-
]
|
|
2607
|
-
}
|
|
2608
|
-
);
|
|
2609
|
-
|
|
2610
2417
|
const VictimOfACrimeQuestions = () => group(
|
|
2611
2418
|
'VictimOfACrimeQuestions',
|
|
2612
2419
|
{
|
|
@@ -2622,32 +2429,32 @@ const VictimOfACrimeQuestions = () => group(
|
|
|
2622
2429
|
}
|
|
2623
2430
|
);
|
|
2624
2431
|
|
|
2625
|
-
const WillsAndTrustsQuestions = () => group(
|
|
2432
|
+
const WillsAndTrustsQuestions = (condition, scope) => group(
|
|
2626
2433
|
'WillsAndTrustsQuestions',
|
|
2627
2434
|
{
|
|
2628
|
-
if: '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',
|
|
2435
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"'),
|
|
2629
2436
|
children: [
|
|
2630
|
-
haveAttorney(),
|
|
2631
|
-
valueOfAssets(),
|
|
2632
|
-
typeOfAssets(),
|
|
2633
|
-
roleInMatterProbate(),
|
|
2634
|
-
estateLegalServicesNeeded(),
|
|
2635
|
-
degreeOfInterestHelp()
|
|
2437
|
+
haveAttorney(scope),
|
|
2438
|
+
valueOfAssets(scope),
|
|
2439
|
+
typeOfAssets(scope),
|
|
2440
|
+
roleInMatterProbate(scope),
|
|
2441
|
+
estateLegalServicesNeeded(scope),
|
|
2442
|
+
degreeOfInterestHelp(scope)
|
|
2636
2443
|
]
|
|
2637
2444
|
}
|
|
2638
2445
|
);
|
|
2639
2446
|
|
|
2640
|
-
const WorkersCompensationQuestions = () => group(
|
|
2447
|
+
const WorkersCompensationQuestions = (condition, scope) => group(
|
|
2641
2448
|
'WorkersCompensationQuestions',
|
|
2642
2449
|
{
|
|
2643
|
-
if: '$get(Type_Of_Legal_Problem).value == "Workers Compensation"',
|
|
2450
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Workers Compensation"'),
|
|
2644
2451
|
children: [
|
|
2645
|
-
haveAttorney(),
|
|
2646
|
-
incidentDate(),
|
|
2647
|
-
claimStatus(),
|
|
2648
|
-
primaryInjury(),
|
|
2649
|
-
causeOfInjury(),
|
|
2650
|
-
doctorTreatment()
|
|
2452
|
+
haveAttorney(scope),
|
|
2453
|
+
incidentDate(scope),
|
|
2454
|
+
claimStatus(scope),
|
|
2455
|
+
primaryInjury(scope),
|
|
2456
|
+
causeOfInjury(scope),
|
|
2457
|
+
doctorTreatment(scope)
|
|
2651
2458
|
]
|
|
2652
2459
|
}
|
|
2653
2460
|
);
|
|
@@ -2717,21 +2524,17 @@ const findLastInput = (n) => {
|
|
|
2717
2524
|
|
|
2718
2525
|
const stepDefaults = (step) => ({
|
|
2719
2526
|
$el: 'section',
|
|
2720
|
-
if: '$stepIsEnabled("' + step + '")',
|
|
2721
2527
|
attrs: {
|
|
2722
|
-
|
|
2723
|
-
if: '$activeStep !== "' + step + '"',
|
|
2724
|
-
then: 'display: none;'
|
|
2725
|
-
}
|
|
2528
|
+
hidden: '$activeStep !== "' + step + '"'
|
|
2726
2529
|
}
|
|
2727
2530
|
});
|
|
2728
2531
|
|
|
2729
2532
|
function questionsStepHeadline(updates) {
|
|
2730
2533
|
return {
|
|
2731
2534
|
$el: 'h3',
|
|
2732
|
-
children: updates.headline || 'Tell Us About Your
|
|
2535
|
+
children: updates.headline || 'Tell Us About Your Situation',
|
|
2733
2536
|
attrs: {
|
|
2734
|
-
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-
|
|
2537
|
+
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'
|
|
2735
2538
|
}
|
|
2736
2539
|
}
|
|
2737
2540
|
}
|
|
@@ -2742,7 +2545,7 @@ function commentsStepHeadline(updates) {
|
|
|
2742
2545
|
$el: 'h3',
|
|
2743
2546
|
children: updates.headline || 'Additional Case Details',
|
|
2744
2547
|
attrs: {
|
|
2745
|
-
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-
|
|
2548
|
+
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 || '')
|
|
2746
2549
|
}
|
|
2747
2550
|
}
|
|
2748
2551
|
}
|
|
@@ -2752,7 +2555,7 @@ function firstAndLastStepHeadline(updates) {
|
|
|
2752
2555
|
$el: 'h3',
|
|
2753
2556
|
children: updates.headline || 'Please Provide a Contact Name',
|
|
2754
2557
|
attrs: {
|
|
2755
|
-
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-
|
|
2558
|
+
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 || '')
|
|
2756
2559
|
}
|
|
2757
2560
|
}
|
|
2758
2561
|
}
|
|
@@ -2762,7 +2565,7 @@ function contactStepHeadline(updates) {
|
|
|
2762
2565
|
$el: 'h3',
|
|
2763
2566
|
children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
|
|
2764
2567
|
attrs: {
|
|
2765
|
-
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-
|
|
2568
|
+
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'
|
|
2766
2569
|
}
|
|
2767
2570
|
}
|
|
2768
2571
|
}
|
|
@@ -2809,10 +2612,10 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false) {
|
|
|
2809
2612
|
}
|
|
2810
2613
|
if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
|
|
2811
2614
|
const lastInput = findLastInput(inputs[inputs.length - 1]);
|
|
2812
|
-
if (nextOnEnter === true) {
|
|
2615
|
+
if (lastInput && nextOnEnter === true) {
|
|
2813
2616
|
lastInput.onKeypress = NEXT_ON_ENTER;
|
|
2814
2617
|
}
|
|
2815
|
-
if (nextOnInput === true) {
|
|
2618
|
+
if (lastInput && nextOnInput === true) {
|
|
2816
2619
|
lastInput.onInput = NEXT_ON_INPUT;
|
|
2817
2620
|
}
|
|
2818
2621
|
}
|
|
@@ -2916,7 +2719,6 @@ const AllTOLPQuestions = () => {
|
|
|
2916
2719
|
LemonLawQuestions(),
|
|
2917
2720
|
LongTermDisabilityQuestions(),
|
|
2918
2721
|
MedicalMalpracticeQuestions(),
|
|
2919
|
-
NursingHomeAbuseQuestions(),
|
|
2920
2722
|
PatentsAndIntellectualPropertyQuestions(),
|
|
2921
2723
|
PersonalInjuryQuestions(),
|
|
2922
2724
|
PowerofAttorneyQuestions(),
|
|
@@ -2928,8 +2730,6 @@ const AllTOLPQuestions = () => {
|
|
|
2928
2730
|
TaxAndIRSQuestions(),
|
|
2929
2731
|
TrafficAndTicketsQuestions(),
|
|
2930
2732
|
UnemploymentQuestions(),
|
|
2931
|
-
VaccinationInjuryQuestions(),
|
|
2932
|
-
VeteransDisabilityQuestions(),
|
|
2933
2733
|
VictimOfACrimeQuestions(),
|
|
2934
2734
|
WillsAndTrustsQuestions(),
|
|
2935
2735
|
WorkersCompensationQuestions(),
|