bhl-forms 0.6.9 → 0.6.11
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.iife.js +1 -1
- package/dist/bhl-forms.modern.iife.js +7 -7
- package/dist/bhl-forms.modern.umd.js +1 -1
- package/dist/bhl-forms.umd.js +1 -1
- package/dist/forms/accidentsAndInjuries.es.js +47 -48
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/business.es.js +38 -36
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/business.json +1 -1
- package/dist/forms/childAndFamily.es.js +29 -28
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.es.js +39 -37
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +63 -63
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/contracts.es.js +29 -28
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.es.js +57 -57
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/divorce.es.js +2222 -0
- package/dist/forms/divorce.iife.js +1 -0
- package/dist/forms/divorce.json +1 -0
- package/dist/forms/employmentAndWorkplace.es.js +62 -62
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalLegal.es.js +47 -48
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +47 -48
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +72 -63
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +72 -63
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +37 -40
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +29 -28
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/landlordTenant.es.js +1911 -0
- package/dist/forms/landlordTenant.iife.js +1 -0
- package/dist/forms/landlordTenant.json +1 -0
- package/dist/forms/malpractice.es.js +47 -48
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +824 -33
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/patentsAndIP.es.js +59 -57
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -1
- package/dist/forms/realEstate.es.js +47 -48
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +47 -48
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +25 -25
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +18 -19
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +8 -2
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +29 -28
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/main.css +1 -1
- package/package.json +1 -1
|
@@ -328,9 +328,9 @@ const doctorTreatment = (scope) => sbsYesNoRadio({
|
|
|
328
328
|
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?',
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
-
const email = () => sbsText({
|
|
331
|
+
const email = (scope) => sbsText({
|
|
332
332
|
$formkit: 'email',
|
|
333
|
-
name: 'Email',
|
|
333
|
+
name: scope ? scope + ':' + 'Email' : 'Email',
|
|
334
334
|
label: 'Email Address:',
|
|
335
335
|
placeholder: 'email@domain.com',
|
|
336
336
|
autocomplete: 'email',
|
|
@@ -355,11 +355,11 @@ const estateLegalServicesNeeded = (scope) => sbsSelect({
|
|
|
355
355
|
]
|
|
356
356
|
});
|
|
357
357
|
|
|
358
|
-
const firstName = () => sbsText({
|
|
358
|
+
const firstName = (scope) => sbsText({
|
|
359
359
|
$formkit: 'text',
|
|
360
360
|
label: 'First Name:',
|
|
361
361
|
placeholder: 'First',
|
|
362
|
-
name: 'First_Name',
|
|
362
|
+
name: scope ? scope + ':' + 'First_Name' : 'First_Name',
|
|
363
363
|
autocomplete: "given-name",
|
|
364
364
|
validationMessages: {
|
|
365
365
|
required: 'First Name is required'
|
|
@@ -381,11 +381,11 @@ const incidentDate = (scope) => sbsDate({
|
|
|
381
381
|
label: 'Date of Incident:',
|
|
382
382
|
});
|
|
383
383
|
|
|
384
|
-
const lastName = () => sbsText({
|
|
384
|
+
const lastName = (scope) => sbsText({
|
|
385
385
|
$formkit: 'text',
|
|
386
386
|
label: 'Last Name:',
|
|
387
387
|
placeholder: 'Last',
|
|
388
|
-
name: 'Last_Name',
|
|
388
|
+
name: scope ? scope + ':' + 'Last_Name' : 'Last_Name',
|
|
389
389
|
autocomplete: "family-name",
|
|
390
390
|
validationMessages: {
|
|
391
391
|
required: 'Last Name is required'
|
|
@@ -495,9 +495,9 @@ const pendingCharges = (scope) => sbsYesNoRadio({
|
|
|
495
495
|
label: 'Do you currently have any pending charges?'
|
|
496
496
|
});
|
|
497
497
|
|
|
498
|
-
const phone = () => sbsText({
|
|
498
|
+
const phone = (scope) => sbsText({
|
|
499
499
|
$formkit: 'tel',
|
|
500
|
-
name: 'Primary_Phone',
|
|
500
|
+
name: scope ? scope + ':' + 'Primary_Phone' : 'Primary_Phone',
|
|
501
501
|
label: 'Phone Number:',
|
|
502
502
|
placeholder: '###-###-####',
|
|
503
503
|
maxlength: 12,
|
|
@@ -554,10 +554,10 @@ const socialSecurityDisabilityReceivingBenefits = (scope) => sbsYesNoRadio({
|
|
|
554
554
|
label: 'Are You Currently Receiving Social Security Disability Benefits?'
|
|
555
555
|
});
|
|
556
556
|
|
|
557
|
-
const TCPAConsent = () => ({
|
|
557
|
+
const TCPAConsent = (scope) => ({
|
|
558
558
|
$formkit: 'checkbox',
|
|
559
559
|
label: '$meta.tcpaLanguage',
|
|
560
|
-
name: 'TCPA_Opt_In',
|
|
560
|
+
name: scope ? scope + ':' + 'TCPA_Opt_In' : 'TCPA_Opt_In',
|
|
561
561
|
'data-tf-sensitive': 'false',
|
|
562
562
|
validation: 'required|accepted',
|
|
563
563
|
validationMessages: {
|
|
@@ -609,10 +609,10 @@ const valueOfAssets = (scope) => sbsSelect({
|
|
|
609
609
|
]
|
|
610
610
|
});
|
|
611
611
|
|
|
612
|
-
const zipcode = () => sbsText({
|
|
612
|
+
const zipcode = (scope) => sbsText({
|
|
613
613
|
label: 'Zip Code:',
|
|
614
614
|
placeholder: '#####',
|
|
615
|
-
name: 'Zip',
|
|
615
|
+
name: scope ? scope + ':' + 'Zip' : 'Zip',
|
|
616
616
|
maxlength: 5,
|
|
617
617
|
inputmode: "numeric",
|
|
618
618
|
autocomplete: 'postal-code',
|
|
@@ -1032,7 +1032,8 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
1032
1032
|
label: typeof updates.label === 'undefined' ? DEFAULT_COMMENTS_LABEL : updates.label,
|
|
1033
1033
|
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
|
|
1034
1034
|
inputClass: typeof updates.inputClass === 'undefined' ? '!t-h-32' : updates.inputClass,
|
|
1035
|
-
}),
|
|
1035
|
+
}, updates.scope),
|
|
1036
|
+
// TODO: needs scope support
|
|
1036
1037
|
bankruptcyCrossSell(),
|
|
1037
1038
|
{
|
|
1038
1039
|
$el: 'div',
|
|
@@ -1057,9 +1058,9 @@ function contactInfo(updates = {}) {
|
|
|
1057
1058
|
contactStepHeadline(updates),
|
|
1058
1059
|
contactStepSubHeadline(updates),
|
|
1059
1060
|
trustedFormScript(),
|
|
1060
|
-
email(),
|
|
1061
|
-
phone(),
|
|
1062
|
-
TCPAConsent(),
|
|
1061
|
+
email(updates.scope),
|
|
1062
|
+
phone(updates.scope),
|
|
1063
|
+
TCPAConsent(updates.scope),
|
|
1063
1064
|
secureIcon()
|
|
1064
1065
|
],
|
|
1065
1066
|
false, // nextOnEnter
|
|
@@ -1280,9 +1281,7 @@ function legalCrossSells(updates = {}) {
|
|
|
1280
1281
|
)
|
|
1281
1282
|
}
|
|
1282
1283
|
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
const formNavigation = () => ({
|
|
1284
|
+
const formNavigation = (updates = {}) => ({
|
|
1286
1285
|
$el: 'div',
|
|
1287
1286
|
attrs: {
|
|
1288
1287
|
class: 'step-nav'
|
|
@@ -1320,7 +1319,7 @@ const formNavigation = () => ({
|
|
|
1320
1319
|
{
|
|
1321
1320
|
$formkit: 'submit',
|
|
1322
1321
|
name: 'submit_button',
|
|
1323
|
-
label: 'Submit',
|
|
1322
|
+
label: updates.submitLabel || 'Submit',
|
|
1324
1323
|
if: '$activeStep === $lastStep()',
|
|
1325
1324
|
style: {
|
|
1326
1325
|
if: '$activeStep !== $lastStep()',
|
|
@@ -1455,14 +1454,16 @@ function defaultMetaProps(tolps = null) {
|
|
|
1455
1454
|
})
|
|
1456
1455
|
}
|
|
1457
1456
|
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1457
|
+
function dynamicSchemaNode(field = 'Type_Of_Legal_Problem') {
|
|
1458
|
+
return {
|
|
1459
|
+
$cmp: 'FormKitSchema',
|
|
1460
|
+
if: '$get(' + field + ').value',
|
|
1461
|
+
props: {
|
|
1462
|
+
schema: '$meta.dynamicSchema',
|
|
1463
|
+
data: '$buildData($meta)'
|
|
1464
|
+
}
|
|
1464
1465
|
}
|
|
1465
|
-
}
|
|
1466
|
+
}
|
|
1466
1467
|
|
|
1467
1468
|
const formAnchorDefaults = {
|
|
1468
1469
|
$el: 'div',
|
|
@@ -1739,7 +1740,7 @@ const schema = [
|
|
|
1739
1740
|
contractsTOLPAndZip({
|
|
1740
1741
|
nextStepMap: nextStepsMapLegalLegacy
|
|
1741
1742
|
}),
|
|
1742
|
-
dynamicSchemaNode,
|
|
1743
|
+
dynamicSchemaNode(),
|
|
1743
1744
|
contactInfo(),
|
|
1744
1745
|
formNavigation(),
|
|
1745
1746
|
formDetails()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var contracts=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',i='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',r=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),n=e=>(e&&e.legendClass||(e.legendClass="required"),e.fieldsetClass="$reset",e.optionsClass="t-pl-8 md:t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",r(e)),o=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),l=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",o(e)))(e)),s=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)))(t)),d=t=>(t.wrapperClass="side-by-side t-items-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)))(t)),u=t=>(t.wrapperClass="side-by-side t-items-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"DatePicker",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",innerClass:"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500"},t)))(t)),c=e=>d({name:e?e+":Applicant_Age":"Applicant_Age",label:"Age of Applicant?",placeholder:"Age between 18 and 65",maxlength:2,inputmode:"numeric",validation:"required|min:18,max:65",validationMessages:{required:"Applicant Age is required",min:"Invalid Age - must be between 18 and 65",max:"Invalid Age - must be between 18 and 65"}}),p=e=>l({name:e?e+":At_Fault":"At_Fault",label:"Were You at Fault?"}),m=()=>{return(e={label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:"CrossSell_Bankruptcy",id:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"}).legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",r(e);var e},f=e=>s({name:e?e+":Blood_Alcohol_Content_Test":"Blood_Alcohol_Content_Test",label:"Blood Alcohol Content Measured by Test:",options:["No Test","0.00% - 0.04%","0.05% - 0.08%","0.09% - 0.12%","0.13% - 0.16%","0.17% - 0.20%","More than 0.20%","Don't know"]}),y=e=>s({name:e?e+":Cause_Of_Injury":"Cause_Of_Injury",label:"Cause of Injury:",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]}),h=e=>s({name:e?e+":Child_Home":"Child_Home",label:"With Whom Do the Children Currently Live?",options:["Mother","Father","Grandparents","Other"]}),b=e=>s({name:e?e+":Child_Primary_Caregiver":"Child_Primary_Caregiver",label:"Who is the Primary Caregiver?",options:["Mother","Father","Other"]}),g=e=>s({name:e?e+":Child_Relationship":"Child_Relationship",label:"Your Relationship to Child(ren):",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),_=e=>s({name:e?e+":Claim_Status":"Claim_Status",label:"Status of Claim:",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]}),C=(t,a)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:a?a+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),v=t=>(e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(e)))(e({name:"Type_Of_Legal_Problem_Display",label:"Select The Contract Issue:",options:["Contract Creation","Contract Enforcement","Contract Cancellation","Contract Fraud","Breach of Contract","Other Contract Issues"]},t)),x=(e,t)=>s({name:e?e+":Degree_Of_Interest":"Degree_Of_Interest",id:e?e+":Degree_Of_Interest":"Degree_Of_Interest",label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:t,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),w=e=>x(e,"No payment necessary to speak with lawyers."),I=e=>l({name:e?e+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"}),$=e=>l({name:e?e+":Disability_Work_History":"Disability_Work_History",label:"Have You Had a Full-Time Job Within the Past 5 Years?"}),S=e=>l({name:e?e+":Doctor_Treatment":"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),P=e=>s({name:e?e+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]}),k=e=>l({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),D=e=>l({name:e?e+":Have_Children":"Have_Children",label:"Do You Have Children?"}),A=e=>u({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),T=e=>s({name:e?e+":Lawyer_Payment_Method":"Lawyer_Payment_Method",label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:"No payment necessary to speak with lawyers.",options:["Cash","Check","Credit Card","Friend","Family","Other"]}),E=e=>s({name:e?e+":Marital_Status":"Marital_Status",label:"Marital Status:",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),O=e=>l({name:e?e+":Pending_Charges":"Pending_Charges",label:"Do you currently have any pending charges?"}),L=e=>{return(t={name:e?e+":Primary_Injury":"Primary_Injury",label:"Primary Injury:",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]}).legendClass="legend-left-flex md:t-max-w-[40%] required",t.fieldsetClass="$reset side-by-side-flex",t.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",t.innerClass="t-flex t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(t);var t},W=e=>l({name:e?e+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:"Any Prior Alcohol Related Offenses?"}),j=e=>l({name:e?e+":Police_Report_Filed":"Police_Report_Filed",label:"Was a Police Report Filed?"}),M=e=>s({name:e?e+":Role_In_Matter_Probate":"Role_In_Matter_Probate",label:"What Is Your Role in this Matter?",options:["Preparing My Will","Executor","Heir","Other"]}),N=e=>l({name:e?e+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:"Are You Currently Receiving Social Security Disability Benefits?"}),q=e=>s({name:e?e+":Type_Of_Alcohol_Test":"Type_Of_Alcohol_Test",label:"Type of Alcohol Test Performed?",options:["No Test","Refused Test","Breath Test","Blood Test","Urine Test","Don't Know"]}),F=e=>n({name:e?e+":Type_Of_Assets":"Type_Of_Assets",label:"Type of Assets:",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]}),Y=e=>s({name:e?e+":Value_Of_Assets":"Value_Of_Assets",label:"Value of Your Assets?",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]}),B=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),U="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",H="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",R=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,Q=e=>{if(R(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(R(a))return a;const i=Q(a);if(i)return i}return null},V={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function K(t){return e(V,t)}function z(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{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"}}}function G(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{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"}}}function Z(e){return{$el:"h5",children:e.subheadline||"Tell us about your situation:",attrs:{class:"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}}}function J(e){return{$el:"h3",children:e.headline||"Additional Case Details",attrs:{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 "+(e.headlineClass||"")}}}function X(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{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 "+(e.headlineClass||"")}}}function ee(e){return{$el:"h3",children:e.headline||"Do any of the following situations apply?",attrs:{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 "+(e.headlineClass||"")}}}function te(e){return{$el:"h3",children:e.headline||a,attrs:{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 "+(e.headlineClass||"")}}}function ae(e){return{$el:"h5",children:e.subheadline||i,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "+(e.subheadlineClass||"")}}}const ie="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";const re=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function ne(t,a,i=!0,r=!1,n=void 0,o=void 0,l=void 0){if(void 0===i&&(i=!0),a&&a.length&&(i||r)){const e=Q(a[a.length-1]);e&&!0===i&&(e.onKeypress=U),e&&!0===r&&(e.onInput=H)}return e(re(t,n),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,autoFocus:l,children:a}]})}const oe={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function le(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const se={tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937."};const de={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const ue=[{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],ce={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const pe={Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"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"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},me={},fe={Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."},ye=function(a=null){let i=pe,r=me,n=fe;return a&&(i=le(pe,a),r=le(me,a),n=le(fe,a)),{type:"meta",data:e(se,{defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Submit Your Case",finalHeadlines:r,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:n})}}();ye.data.dynamicSchema=[function(e={}){return ne("TOLPQuestions",[z(e),B("ContractsQuestions",{children:[k(),w()]}),B("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[k(),w()]})],e.nextOnEnter)}(),function(e={}){return ne("commentsWithBankruptcy",[J(e),C({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass}),m(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[C({label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Bankruptcy")]}],!1)}({placeholder:'Example: "I need to create a partner agreement for my business."'}),function(e={}){return ne("legalCrossSells",[ee(e),n({id:"Legal_CrossSells",name:"Legal_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Auto and Car Accidents"',then:{"Social Security Disability and Insurance":"Interest in Disability Benefits","Wills and Trusts":"Need a Will or Trust","Workers Compensation":"Workplace Injury","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Personal Injury" || $getVal($get(form), "Type_Of_Legal_Problem") === "Workers Compensation"',then:{"DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "DUI and DWI"',then:{"Personal Injury":"Personal or Workplace Injury","Wills and Trusts":"Need a Will or Trust","Social Security Disability and Insurance":"Interest in Disability Benefits","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Wills and Trusts" || $getVal($get(form), "Type_Of_Legal_Problem") === "Probate and Estates" || $getVal($get(form), "Type_Of_Legal_Problem") === "Power of Attorney"',then:{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Social Security Disability and Insurance":"Interest in Disability Benefits","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Long Term Disability" || $getVal($get(form), "Type_Of_Legal_Problem") === "Social Security Disability and Insurance"',then:{"Auto and Car Accidents":"Injured in a Car Accident","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Social Security Disability and Insurance":"Interest in Disability Benefits"}}}}}}})],e.nextOnEnter,!1,"$get(Type_Of_Legal_Problem).value")}(),function(e={}){return ne("autoAndCarAccidentCrossSellQuestions",[G({headline:"You May Be Entitled To Compensation"}),Z({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",B("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[k(a),A(a),p(a),L(a),S(a),j(a)]})),C({label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"},"CrossSell:Auto_and_Car_Accidents")],e.nextOnEnter);var t,a}(),function(e={}){return ne("personalInjuryCrossSellQuestions",[G({headline:"You May Be Entitled To Compensation"}),Z({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",B("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[k(a),A(a),_(a),p(a),L(a),S(a)]})),C({label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"},"CrossSell:Personal_Injury")],e.nextOnEnter);var t,a}(),function(e={}){return ne("workersCompensationCrossSellQuestions",[G({headline:"You May Be Entitled To Benefits"}),Z({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Workers_Compensation",B("WorkersCompensationQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[k(a),A(a),_(a),L(a),y(a),S(a)]})),C({label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"},"CrossSell:Workers_Compensation")],e.nextOnEnter);var t,a}(),function(e={}){return ne("duiAndDWICrossSellQuestions",[G({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",B("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[k(a),A(a),W(a),q(a),f(a),O(a),w(a)]})),C({label:"Incident Description:",placeholder:"Please describe your incident in a few words...",inputClass:"!t-h-16"},"CrossSell:DUI_and_DWI")],e.nextOnEnter);var t,a}(),function(e={}){return ne("ssdiCrossSellQuestions",[G({headline:"You May Be Entitled To Benefits"}),Z({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",B("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[k(a),c(a),I(a),$(a),N(a),S(a)]})),C({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Social_Security_Disability_and_Insurance")],e.nextOnEnter);var t,a}(),function(e={}){return ne("powerOfAttorneyCrossSellQuestions",[G({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",B("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[k(a),w(a)]})),C({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Power_of_Attorney")],e.nextOnEnter);var t,a}(),function(e={}){return ne("willsAndTrustsCrossSellQuestions",[G({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",B("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[k(a),Y(a),F(a),M(a),P(a),w(a)]})),C({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Wills_and_Trusts")],e.nextOnEnter);var t,a}(),function(e={}){return ne("divorceAndSeparationCrossSellQuestions",[G({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",B("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[k(a),E(a),D(a),x(a),T(a)]})),C({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Divorce_and_Separation")],e.nextOnEnter);var t,a}(),function(e={}){return ne("childCustodyCrossSellQuestions",[G({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",B("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[k(a),g(a),h(a),b(a),x(a),T(a)]})),C({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Child_Custody")],e.nextOnEnter);var t,a}(),function(e={}){return ne("firstAndLast",[X(e),d({$formkit:"text",label:"First Name:",placeholder:"First",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),d({$formkit:"text",label:"Last Name:",placeholder:"Last",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}()];const he=[ye,e(de,be),{$cmp:"FormKit",props:function(t){const a=e(oe,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"contracts",redirectMap:function(t){return e(ce,t)}()}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Get Contract Help Today!")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast, Easy, and Free")',if:"$activeStep === $firstStep()"}),...ue,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return ne("contractsTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Business Lawyers"},{$formkit:"hidden",name:"Business_Services",id:"Business_Services",value:"Contracts"},v(),d({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter,e.nextOnInput,e.stepKey,e.nextStepMap)}({nextStepMap:{"*":["TOLPQuestions","commentsWithBankruptcy","legalCrossSells","firstAndLast","contactInfo"]}}),{$cmp:"FormKitSchema",if:"$get(Type_Of_Legal_Problem).value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}},function(e={}){return ne("contactInfo",[te(e),ae(e),{$el:"script",if:"$activeStep === $lastStep()",children:ie},d({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),d({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},K()],!1)}(),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]},{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var be;return he}();
|
|
1
|
+
var contracts=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',i='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',r=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),n=e=>(e&&e.legendClass||(e.legendClass="required"),e.fieldsetClass="$reset",e.optionsClass="t-pl-8 md:t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",r(e)),o=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),l=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",o(e)))(e)),s=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)))(t)),d=t=>(t.wrapperClass="side-by-side t-items-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)))(t)),u=t=>(t.wrapperClass="side-by-side t-items-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"DatePicker",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",innerClass:"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500"},t)))(t)),c=e=>d({name:e?e+":Applicant_Age":"Applicant_Age",label:"Age of Applicant?",placeholder:"Age between 18 and 65",maxlength:2,inputmode:"numeric",validation:"required|min:18,max:65",validationMessages:{required:"Applicant Age is required",min:"Invalid Age - must be between 18 and 65",max:"Invalid Age - must be between 18 and 65"}}),p=e=>l({name:e?e+":At_Fault":"At_Fault",label:"Were You at Fault?"}),m=()=>{return(e={label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:"CrossSell_Bankruptcy",id:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"}).legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",r(e);var e},f=e=>s({name:e?e+":Blood_Alcohol_Content_Test":"Blood_Alcohol_Content_Test",label:"Blood Alcohol Content Measured by Test:",options:["No Test","0.00% - 0.04%","0.05% - 0.08%","0.09% - 0.12%","0.13% - 0.16%","0.17% - 0.20%","More than 0.20%","Don't know"]}),y=e=>s({name:e?e+":Cause_Of_Injury":"Cause_Of_Injury",label:"Cause of Injury:",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]}),h=e=>s({name:e?e+":Child_Home":"Child_Home",label:"With Whom Do the Children Currently Live?",options:["Mother","Father","Grandparents","Other"]}),b=e=>s({name:e?e+":Child_Primary_Caregiver":"Child_Primary_Caregiver",label:"Who is the Primary Caregiver?",options:["Mother","Father","Other"]}),g=e=>s({name:e?e+":Child_Relationship":"Child_Relationship",label:"Your Relationship to Child(ren):",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),_=e=>s({name:e?e+":Claim_Status":"Claim_Status",label:"Status of Claim:",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]}),C=(t,a)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:a?a+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),v=t=>(e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(e)))(e({name:"Type_Of_Legal_Problem_Display",label:"Select The Contract Issue:",options:["Contract Creation","Contract Enforcement","Contract Cancellation","Contract Fraud","Breach of Contract","Other Contract Issues"]},t)),x=(e,t)=>s({name:e?e+":Degree_Of_Interest":"Degree_Of_Interest",id:e?e+":Degree_Of_Interest":"Degree_Of_Interest",label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:t,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),w=e=>x(e,"No payment necessary to speak with lawyers."),I=e=>l({name:e?e+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"}),$=e=>l({name:e?e+":Disability_Work_History":"Disability_Work_History",label:"Have You Had a Full-Time Job Within the Past 5 Years?"}),S=e=>l({name:e?e+":Doctor_Treatment":"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),P=e=>s({name:e?e+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]}),k=e=>l({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),D=e=>l({name:e?e+":Have_Children":"Have_Children",label:"Do You Have Children?"}),A=e=>u({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),T=e=>d({$formkit:"text",label:"Last Name:",placeholder:"Last",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}}),E=e=>s({name:e?e+":Lawyer_Payment_Method":"Lawyer_Payment_Method",label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:"No payment necessary to speak with lawyers.",options:["Cash","Check","Credit Card","Friend","Family","Other"]}),O=e=>s({name:e?e+":Marital_Status":"Marital_Status",label:"Marital Status:",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),L=e=>l({name:e?e+":Pending_Charges":"Pending_Charges",label:"Do you currently have any pending charges?"}),W=e=>d({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),j=e=>{return(t={name:e?e+":Primary_Injury":"Primary_Injury",label:"Primary Injury:",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]}).legendClass="legend-left-flex md:t-max-w-[40%] required",t.fieldsetClass="$reset side-by-side-flex",t.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",t.innerClass="t-flex t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(t);var t},M=e=>l({name:e?e+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:"Any Prior Alcohol Related Offenses?"}),N=e=>l({name:e?e+":Police_Report_Filed":"Police_Report_Filed",label:"Was a Police Report Filed?"}),F=e=>s({name:e?e+":Role_In_Matter_Probate":"Role_In_Matter_Probate",label:"What Is Your Role in this Matter?",options:["Preparing My Will","Executor","Heir","Other"]}),q=e=>l({name:e?e+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:"Are You Currently Receiving Social Security Disability Benefits?"}),Y=e=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}}),B=e=>s({name:e?e+":Type_Of_Alcohol_Test":"Type_Of_Alcohol_Test",label:"Type of Alcohol Test Performed?",options:["No Test","Refused Test","Breath Test","Blood Test","Urine Test","Don't Know"]}),U=e=>n({name:e?e+":Type_Of_Assets":"Type_Of_Assets",label:"Type of Assets:",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]}),H=e=>s({name:e?e+":Value_Of_Assets":"Value_Of_Assets",label:"Value of Your Assets?",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]}),R=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),Q="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",V="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",K=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,z=e=>{if(K(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(K(a))return a;const i=z(a);if(i)return i}return null},Z={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function G(t){return e(Z,t)}function J(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{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"}}}function X(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{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"}}}function ee(e){return{$el:"h5",children:e.subheadline||"Tell us about your situation:",attrs:{class:"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}}}function te(e){return{$el:"h3",children:e.headline||"Additional Case Details",attrs:{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 "+(e.headlineClass||"")}}}function ae(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{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 "+(e.headlineClass||"")}}}function ie(e){return{$el:"h3",children:e.headline||"Do any of the following situations apply?",attrs:{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 "+(e.headlineClass||"")}}}function re(e){return{$el:"h3",children:e.headline||a,attrs:{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 "+(e.headlineClass||"")}}}function ne(e){return{$el:"h5",children:e.subheadline||i,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "+(e.subheadlineClass||"")}}}const oe="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";const le=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function se(t,a,i=!0,r=!1,n=void 0,o=void 0,l=void 0){if(void 0===i&&(i=!0),a&&a.length&&(i||r)){const e=z(a[a.length-1]);e&&!0===i&&(e.onKeypress=Q),e&&!0===r&&(e.onInput=V)}return e(le(t,n),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,autoFocus:l,children:a}]})}const de={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function ue(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const ce={tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937."};const pe={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const me=[{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],fe={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const ye={Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"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"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},he={},be={Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."},ge=function(a=null){let i=ye,r=he,n=be;return a&&(i=ue(ye,a),r=ue(he,a),n=ue(be,a)),{type:"meta",data:e(ce,{defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Submit Your Case",finalHeadlines:r,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:n})}}();ge.data.dynamicSchema=[function(e={}){return se("TOLPQuestions",[J(e),R("ContractsQuestions",{children:[k(),w()]}),R("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[k(),w()]})],e.nextOnEnter)}(),function(e={}){return se("commentsWithBankruptcy",[te(e),C({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass},e.scope),m(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[C({label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Bankruptcy")]}],!1)}({placeholder:'Example: "I need to create a partner agreement for my business."'}),function(e={}){return se("legalCrossSells",[ie(e),n({id:"Legal_CrossSells",name:"Legal_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Auto and Car Accidents"',then:{"Social Security Disability and Insurance":"Interest in Disability Benefits","Wills and Trusts":"Need a Will or Trust","Workers Compensation":"Workplace Injury","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Personal Injury" || $getVal($get(form), "Type_Of_Legal_Problem") === "Workers Compensation"',then:{"DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "DUI and DWI"',then:{"Personal Injury":"Personal or Workplace Injury","Wills and Trusts":"Need a Will or Trust","Social Security Disability and Insurance":"Interest in Disability Benefits","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Wills and Trusts" || $getVal($get(form), "Type_Of_Legal_Problem") === "Probate and Estates" || $getVal($get(form), "Type_Of_Legal_Problem") === "Power of Attorney"',then:{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Social Security Disability and Insurance":"Interest in Disability Benefits","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Long Term Disability" || $getVal($get(form), "Type_Of_Legal_Problem") === "Social Security Disability and Insurance"',then:{"Auto and Car Accidents":"Injured in a Car Accident","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Social Security Disability and Insurance":"Interest in Disability Benefits"}}}}}}})],e.nextOnEnter,!1,"$get(Type_Of_Legal_Problem).value")}(),function(e={}){return se("autoAndCarAccidentCrossSellQuestions",[X({headline:"You May Be Entitled To Compensation"}),ee({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",R("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[k(a),A(a),p(a),j(a),S(a),N(a)]})),C({label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"},"CrossSell:Auto_and_Car_Accidents")],e.nextOnEnter);var t,a}(),function(e={}){return se("personalInjuryCrossSellQuestions",[X({headline:"You May Be Entitled To Compensation"}),ee({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",R("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[k(a),A(a),_(a),p(a),j(a),S(a)]})),C({label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"},"CrossSell:Personal_Injury")],e.nextOnEnter);var t,a}(),function(e={}){return se("workersCompensationCrossSellQuestions",[X({headline:"You May Be Entitled To Benefits"}),ee({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Workers_Compensation",R("WorkersCompensationQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[k(a),A(a),_(a),j(a),y(a),S(a)]})),C({label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"},"CrossSell:Workers_Compensation")],e.nextOnEnter);var t,a}(),function(e={}){return se("duiAndDWICrossSellQuestions",[X({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",R("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[k(a),A(a),M(a),B(a),f(a),L(a),w(a)]})),C({label:"Incident Description:",placeholder:"Please describe your incident in a few words...",inputClass:"!t-h-16"},"CrossSell:DUI_and_DWI")],e.nextOnEnter);var t,a}(),function(e={}){return se("ssdiCrossSellQuestions",[X({headline:"You May Be Entitled To Benefits"}),ee({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",R("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[k(a),c(a),I(a),$(a),q(a),S(a)]})),C({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Social_Security_Disability_and_Insurance")],e.nextOnEnter);var t,a}(),function(e={}){return se("powerOfAttorneyCrossSellQuestions",[X({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",R("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[k(a),w(a)]})),C({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Power_of_Attorney")],e.nextOnEnter);var t,a}(),function(e={}){return se("willsAndTrustsCrossSellQuestions",[X({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",R("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[k(a),H(a),U(a),F(a),P(a),w(a)]})),C({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Wills_and_Trusts")],e.nextOnEnter);var t,a}(),function(e={}){return se("divorceAndSeparationCrossSellQuestions",[X({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",R("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[k(a),O(a),D(a),x(a),E(a)]})),C({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Divorce_and_Separation")],e.nextOnEnter);var t,a}(),function(e={}){return se("childCustodyCrossSellQuestions",[X({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",R("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[k(a),g(a),h(a),b(a),x(a),E(a)]})),C({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Child_Custody")],e.nextOnEnter);var t,a}(),function(e={}){return se("firstAndLast",[ae(e),d({$formkit:"text",label:"First Name:",placeholder:"First",name:t?t+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),T()],e.nextOnEnter);var t}()];const _e=[ge,e(pe,Ce),{$cmp:"FormKit",props:function(t){const a=e(de,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"contracts",redirectMap:function(t){return e(fe,t)}()}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Get Contract Help Today!")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast, Easy, and Free")',if:"$activeStep === $firstStep()"}),...me,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return se("contractsTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Business Lawyers"},{$formkit:"hidden",name:"Business_Services",id:"Business_Services",value:"Contracts"},v(),d({label:"Zip Code:",placeholder:"#####",name:t?t+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter,e.nextOnInput,e.stepKey,e.nextStepMap);var t}({nextStepMap:{"*":["TOLPQuestions","commentsWithBankruptcy","legalCrossSells","firstAndLast","contactInfo"]}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return se("contactInfo",[re(e),ne(e),{$el:"script",if:"$activeStep === $lastStep()",children:oe},(t=e.scope,d({$formkit:"email",name:t?t+":Email":"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}})),W(e.scope),Y(e.scope),G()],!1);var t}(),((e={})=>({$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]}))(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var Ce;return _e}();
|
|
@@ -104,7 +104,7 @@ const sbsYesNoRadio = (updates) => {
|
|
|
104
104
|
|
|
105
105
|
const verticalButtonRadio = (updates) => {
|
|
106
106
|
updates.legendClass = 'legend-left';
|
|
107
|
-
updates.fieldsetClass = '$reset t-flex t-justify-center t-items-center';
|
|
107
|
+
updates.fieldsetClass = '$reset t-flex t-justify-center t-flex-col-reverse t-items-center';
|
|
108
108
|
if (typeof updates.optionsClass === 'undefined') {
|
|
109
109
|
updates.optionsClass = 't-flex t-flex-col sm:t-flex-row t-justify-center t-my-3';
|
|
110
110
|
}
|
|
@@ -113,6 +113,7 @@ const verticalButtonRadio = (updates) => {
|
|
|
113
113
|
updates.labelClass = 't-font-semibold t-text-[#1e448f] t-w-[100%]';
|
|
114
114
|
updates.decoratorIcon = false;
|
|
115
115
|
updates.messagesClass = 't-flex t-justify-center';
|
|
116
|
+
updates.helpClass = 't-mt-2.5 !t-text-sm t-text-center';
|
|
116
117
|
return radio(updates)
|
|
117
118
|
};
|
|
118
119
|
|
|
@@ -416,9 +417,9 @@ const doctorTreatment = (scope) => sbsYesNoRadio({
|
|
|
416
417
|
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?',
|
|
417
418
|
});
|
|
418
419
|
|
|
419
|
-
const email = () => sbsText({
|
|
420
|
+
const email = (scope) => sbsText({
|
|
420
421
|
$formkit: 'email',
|
|
421
|
-
name: 'Email',
|
|
422
|
+
name: scope ? scope + ':' + 'Email' : 'Email',
|
|
422
423
|
label: 'Email Address:',
|
|
423
424
|
placeholder: 'email@domain.com',
|
|
424
425
|
autocomplete: 'email',
|
|
@@ -443,11 +444,11 @@ const estateLegalServicesNeeded = (scope) => sbsSelect({
|
|
|
443
444
|
]
|
|
444
445
|
});
|
|
445
446
|
|
|
446
|
-
const firstName = () => sbsText({
|
|
447
|
+
const firstName = (scope) => sbsText({
|
|
447
448
|
$formkit: 'text',
|
|
448
449
|
label: 'First Name:',
|
|
449
450
|
placeholder: 'First',
|
|
450
|
-
name: 'First_Name',
|
|
451
|
+
name: scope ? scope + ':' + 'First_Name' : 'First_Name',
|
|
451
452
|
autocomplete: "given-name",
|
|
452
453
|
validationMessages: {
|
|
453
454
|
required: 'First Name is required'
|
|
@@ -459,8 +460,8 @@ const haveAttorney$1 = (scope) => sbsYesNoRadio({
|
|
|
459
460
|
label: 'Already Working with An Attorney?'
|
|
460
461
|
});
|
|
461
462
|
|
|
462
|
-
const haveAttorneyCenter = () => verticalYesNoRadio({
|
|
463
|
-
name: 'Have_Attorney',
|
|
463
|
+
const haveAttorneyCenter = (scope) => verticalYesNoRadio({
|
|
464
|
+
name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
|
|
464
465
|
});
|
|
465
466
|
|
|
466
467
|
const haveChildren = (scope) => sbsYesNoRadio({
|
|
@@ -477,11 +478,11 @@ const incidentDateCenter = (scope) => verticalDate({
|
|
|
477
478
|
name: scope ? scope + ':' + 'Incident_Date' : 'Incident_Date',
|
|
478
479
|
});
|
|
479
480
|
|
|
480
|
-
const lastName = () => sbsText({
|
|
481
|
+
const lastName = (scope) => sbsText({
|
|
481
482
|
$formkit: 'text',
|
|
482
483
|
label: 'Last Name:',
|
|
483
484
|
placeholder: 'Last',
|
|
484
|
-
name: 'Last_Name',
|
|
485
|
+
name: scope ? scope + ':' + 'Last_Name' : 'Last_Name',
|
|
485
486
|
autocomplete: "family-name",
|
|
486
487
|
validationMessages: {
|
|
487
488
|
required: 'Last Name is required'
|
|
@@ -607,9 +608,9 @@ const pendingChargesCenter = (scope) => verticalYesNoRadio({
|
|
|
607
608
|
name: scope ? scope + ':' + 'Pending_Charges' : 'Pending_Charges',
|
|
608
609
|
});
|
|
609
610
|
|
|
610
|
-
const phone = () => sbsText({
|
|
611
|
+
const phone = (scope) => sbsText({
|
|
611
612
|
$formkit: 'tel',
|
|
612
|
-
name: 'Primary_Phone',
|
|
613
|
+
name: scope ? scope + ':' + 'Primary_Phone' : 'Primary_Phone',
|
|
613
614
|
label: 'Phone Number:',
|
|
614
615
|
placeholder: '###-###-####',
|
|
615
616
|
maxlength: 12,
|
|
@@ -679,10 +680,10 @@ const socialSecurityDisabilityReceivingBenefits = (scope) => sbsYesNoRadio({
|
|
|
679
680
|
label: 'Are You Currently Receiving Social Security Disability Benefits?'
|
|
680
681
|
});
|
|
681
682
|
|
|
682
|
-
const TCPAConsent = () => ({
|
|
683
|
+
const TCPAConsent = (scope) => ({
|
|
683
684
|
$formkit: 'checkbox',
|
|
684
685
|
label: '$meta.tcpaLanguage',
|
|
685
|
-
name: 'TCPA_Opt_In',
|
|
686
|
+
name: scope ? scope + ':' + 'TCPA_Opt_In' : 'TCPA_Opt_In',
|
|
686
687
|
'data-tf-sensitive': 'false',
|
|
687
688
|
validation: 'required|accepted',
|
|
688
689
|
validationMessages: {
|
|
@@ -746,10 +747,10 @@ const valueOfAssets = (scope) => sbsSelect({
|
|
|
746
747
|
]
|
|
747
748
|
});
|
|
748
749
|
|
|
749
|
-
const zipcodeCenter = (updates = {}) => text({
|
|
750
|
+
const zipcodeCenter = (updates = {}, scope) => text({
|
|
750
751
|
placeholder: '#####',
|
|
751
752
|
help: updates.help ?? "We try to match you with local legal help",
|
|
752
|
-
name: 'Zip',
|
|
753
|
+
name: scope ? scope + ':' + 'Zip' : 'Zip',
|
|
753
754
|
maxlength: 5,
|
|
754
755
|
inputmode: "numeric",
|
|
755
756
|
autocomplete: 'postal-code',
|
|
@@ -1163,7 +1164,8 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
1163
1164
|
label: typeof updates.label === 'undefined' ? DEFAULT_COMMENTS_LABEL : updates.label,
|
|
1164
1165
|
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
|
|
1165
1166
|
inputClass: typeof updates.inputClass === 'undefined' ? '!t-h-32' : updates.inputClass,
|
|
1166
|
-
}),
|
|
1167
|
+
}, updates.scope),
|
|
1168
|
+
// TODO: needs scope support
|
|
1167
1169
|
bankruptcyCrossSell(),
|
|
1168
1170
|
{
|
|
1169
1171
|
$el: 'div',
|
|
@@ -1188,9 +1190,9 @@ function contactInfo(updates = {}) {
|
|
|
1188
1190
|
contactStepHeadline(updates),
|
|
1189
1191
|
contactStepSubHeadline(updates),
|
|
1190
1192
|
trustedFormScript(),
|
|
1191
|
-
email(),
|
|
1192
|
-
phone(),
|
|
1193
|
-
TCPAConsent(),
|
|
1193
|
+
email(updates.scope),
|
|
1194
|
+
phone(updates.scope),
|
|
1195
|
+
TCPAConsent(updates.scope),
|
|
1194
1196
|
secureIcon()
|
|
1195
1197
|
],
|
|
1196
1198
|
false, // nextOnEnter
|
|
@@ -1216,7 +1218,7 @@ function criminalTOLP(updates = {}) {
|
|
|
1216
1218
|
)
|
|
1217
1219
|
}
|
|
1218
1220
|
|
|
1219
|
-
function firstAndLastV3(updates = {}) {
|
|
1221
|
+
function firstAndLastV3(updates = {}, scope) {
|
|
1220
1222
|
return step(
|
|
1221
1223
|
'firstAndLast',
|
|
1222
1224
|
[
|
|
@@ -1228,8 +1230,8 @@ function firstAndLastV3(updates = {}) {
|
|
|
1228
1230
|
subheadline: updates.subheadline ?? 'Note: we never share info without consent',
|
|
1229
1231
|
subheadlineClass: '!t-text-sm !t-text-gray-500'
|
|
1230
1232
|
}),
|
|
1231
|
-
firstName(),
|
|
1232
|
-
lastName()
|
|
1233
|
+
firstName(scope),
|
|
1234
|
+
lastName(scope)
|
|
1233
1235
|
],
|
|
1234
1236
|
updates.nextOnEnter
|
|
1235
1237
|
)
|
|
@@ -1428,7 +1430,7 @@ function legalCrossSells(updates = {}) {
|
|
|
1428
1430
|
function zipcode(updates = {}) {
|
|
1429
1431
|
return sqstep(
|
|
1430
1432
|
'zipcode',
|
|
1431
|
-
zipcodeCenter(updates),
|
|
1433
|
+
zipcodeCenter(updates, updates.scope),
|
|
1432
1434
|
'Please verify your Zip Code',
|
|
1433
1435
|
updates
|
|
1434
1436
|
)
|
|
@@ -1437,7 +1439,7 @@ function zipcode(updates = {}) {
|
|
|
1437
1439
|
function haveAttorney(updates = {}) {
|
|
1438
1440
|
return sqstep(
|
|
1439
1441
|
'haveAttorney',
|
|
1440
|
-
haveAttorneyCenter(),
|
|
1442
|
+
haveAttorneyCenter(updates.scope),
|
|
1441
1443
|
'Already working with an attorney?',
|
|
1442
1444
|
updates
|
|
1443
1445
|
)
|
|
@@ -1464,7 +1466,7 @@ function lawyerPaymentMethod(updates = {}) {
|
|
|
1464
1466
|
function incidentDate(updates = {}) {
|
|
1465
1467
|
return sqstep(
|
|
1466
1468
|
'incidentDate',
|
|
1467
|
-
incidentDateCenter(),
|
|
1469
|
+
incidentDateCenter(updates.scope),
|
|
1468
1470
|
'When did the incident occur?',
|
|
1469
1471
|
updates
|
|
1470
1472
|
)
|
|
@@ -1542,9 +1544,7 @@ function criminalChargesFiled(updates = {}) {
|
|
|
1542
1544
|
)
|
|
1543
1545
|
}
|
|
1544
1546
|
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
const formNavigation = () => ({
|
|
1547
|
+
const formNavigation = (updates = {}) => ({
|
|
1548
1548
|
$el: 'div',
|
|
1549
1549
|
attrs: {
|
|
1550
1550
|
class: 'step-nav'
|
|
@@ -1582,7 +1582,7 @@ const formNavigation = () => ({
|
|
|
1582
1582
|
{
|
|
1583
1583
|
$formkit: 'submit',
|
|
1584
1584
|
name: 'submit_button',
|
|
1585
|
-
label: 'Submit',
|
|
1585
|
+
label: updates.submitLabel || 'Submit',
|
|
1586
1586
|
if: '$activeStep === $lastStep()',
|
|
1587
1587
|
style: {
|
|
1588
1588
|
if: '$activeStep !== $lastStep()',
|
|
@@ -1717,14 +1717,16 @@ function defaultMetaProps(tolps = null) {
|
|
|
1717
1717
|
})
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1720
|
+
function dynamicSchemaNode(field = 'Type_Of_Legal_Problem') {
|
|
1721
|
+
return {
|
|
1722
|
+
$cmp: 'FormKitSchema',
|
|
1723
|
+
if: '$get(' + field + ').value',
|
|
1724
|
+
props: {
|
|
1725
|
+
schema: '$meta.dynamicSchema',
|
|
1726
|
+
data: '$buildData($meta)'
|
|
1727
|
+
}
|
|
1726
1728
|
}
|
|
1727
|
-
}
|
|
1729
|
+
}
|
|
1728
1730
|
|
|
1729
1731
|
const formAnchorDefaults = {
|
|
1730
1732
|
$el: 'div',
|
|
@@ -1919,26 +1921,24 @@ const businessServicesOverrideMap = {
|
|
|
1919
1921
|
};
|
|
1920
1922
|
|
|
1921
1923
|
const patentsAndIPTOLPDisplayOverrideMap = {
|
|
1922
|
-
'
|
|
1923
|
-
'
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
'
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
'
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
'Business Lawyers'
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
'Business
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
'Not Sure or Other'
|
|
1939
|
-
|
|
1940
|
-
},
|
|
1941
|
-
}
|
|
1924
|
+
'Copyrights': {
|
|
1925
|
+
'Type_Of_Legal_Problem': 'Copyrights and Trademarks'
|
|
1926
|
+
},
|
|
1927
|
+
'Trademarks': {
|
|
1928
|
+
'Type_Of_Legal_Problem': 'Copyrights and Trademarks'
|
|
1929
|
+
},
|
|
1930
|
+
'Patents': {
|
|
1931
|
+
'Type_Of_Legal_Problem': 'Patents and Intellectual Property'
|
|
1932
|
+
},
|
|
1933
|
+
'Business Lawyers': {
|
|
1934
|
+
'Type_Of_Legal_Problem': 'Business Lawyers'
|
|
1935
|
+
},
|
|
1936
|
+
'Business Consulting': {
|
|
1937
|
+
'Type_Of_Legal_Problem': 'Business Lawyers'
|
|
1938
|
+
},
|
|
1939
|
+
'Not Sure or Other': {
|
|
1940
|
+
'Type_Of_Legal_Problem': 'Not Sure or Other'
|
|
1941
|
+
},
|
|
1942
1942
|
};
|
|
1943
1943
|
|
|
1944
1944
|
const legalAllValueOverrideMap = {
|
|
@@ -2706,7 +2706,7 @@ const schema = [
|
|
|
2706
2706
|
nextOnInput: false,
|
|
2707
2707
|
nextStepMap: nextStepsMapCriminalTOLPDisplay
|
|
2708
2708
|
}),
|
|
2709
|
-
dynamicSchemaNode,
|
|
2709
|
+
dynamicSchemaNode(),
|
|
2710
2710
|
contactInfo(),
|
|
2711
2711
|
formNavigation(),
|
|
2712
2712
|
formDetails()
|