bhl-forms 0.0.74 → 0.0.75
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 +8 -2
- package/dist/bhl-forms.iife.js +6 -6
- package/dist/bhl-forms.modern.es.js +10 -4
- package/dist/bhl-forms.modern.iife.js +9 -9
- package/dist/bhl-forms.modern.umd.js +9 -9
- package/dist/bhl-forms.umd.js +6 -6
- package/dist/forms/childAndFamily.es.js +13 -9
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/civilLawsuit.es.js +80 -67
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/criminal.es.js +80 -67
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/generalLegal.es.js +316 -93
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalBankruptcy.es.js +80 -67
- package/dist/forms/generalLegalBankruptcy.iife.js +1 -1
- package/dist/forms/generalLegalBankruptcy.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +80 -67
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/realEstate.es.js +80 -67
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/testForm.es.js +13 -9
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/main.css +1 -1
- package/package.json +2 -2
|
@@ -34,17 +34,18 @@ function formProps(updates) {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
const metaDefaults = {
|
|
37
|
-
|
|
38
|
-
data: {
|
|
39
|
-
tcpaLanguage: TCPA_LANGUAGE
|
|
40
|
-
}
|
|
37
|
+
tcpaLanguage: TCPA_LANGUAGE
|
|
41
38
|
};
|
|
42
39
|
|
|
43
40
|
function metaProps(updates) {
|
|
44
|
-
|
|
41
|
+
const data = merge(
|
|
45
42
|
metaDefaults,
|
|
46
43
|
updates
|
|
47
|
-
)
|
|
44
|
+
);
|
|
45
|
+
return {
|
|
46
|
+
type: 'meta',
|
|
47
|
+
data
|
|
48
|
+
}
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
const formAnchorDefaults = {
|
|
@@ -88,7 +89,7 @@ function headline(updates) {
|
|
|
88
89
|
const subHeadlineDefaults = {
|
|
89
90
|
$el: 'h3',
|
|
90
91
|
attrs: {
|
|
91
|
-
class: 't-flex t-justify-center t-text-center !t-text-
|
|
92
|
+
class: 't-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10'
|
|
92
93
|
}
|
|
93
94
|
};
|
|
94
95
|
|
|
@@ -560,6 +561,9 @@ const findLastInput = (n) => {
|
|
|
560
561
|
return n
|
|
561
562
|
}
|
|
562
563
|
for (var i = n.children.length - 1; i >= 0; i--) {
|
|
564
|
+
if (typeof n.children === 'string') {
|
|
565
|
+
continue
|
|
566
|
+
}
|
|
563
567
|
const child = n.children[i];
|
|
564
568
|
if (isInput(child)) {
|
|
565
569
|
return child
|
|
@@ -635,7 +639,7 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
635
639
|
)
|
|
636
640
|
}
|
|
637
641
|
|
|
638
|
-
const
|
|
642
|
+
const DEFAULT_FINAL_HEADLINE = "Based on your input, you may benefit from speaking with a legal professional. Please verify your contact information.";
|
|
639
643
|
|
|
640
644
|
function contactInfo(updates = {}) {
|
|
641
645
|
return step(
|
|
@@ -643,7 +647,7 @@ function contactInfo(updates = {}) {
|
|
|
643
647
|
[
|
|
644
648
|
{
|
|
645
649
|
$el: 'h3',
|
|
646
|
-
children: updates.headline ||
|
|
650
|
+
children: updates.headline || DEFAULT_FINAL_HEADLINE,
|
|
647
651
|
attrs: {
|
|
648
652
|
class: 't-flex t-justify-center t-text-center t-text-lg t-font-bold t-pb-5 t-pt-0 t-px-3'
|
|
649
653
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var childAndFamily=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e){return"https://justanswer.9pctbx.net/c/2880795/"+e+"/9320?sharedid=${properties.vid}&subid1=${post_source}"}const i={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit("https://httpbin.org/post", $prepData, $handleRedirect)',plugins:"$plugins",actions:!1,prepop:{fromURL:!0},errorCodes:{403:"An Error Occurred",409:{abort:!1},429:"An Error Occurred"},formClass:"!t-max-w-[38rem]"};const r={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const a={$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"}};const l={$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-base t-font-medium t-text-blue-500 t-px-10"}};const n={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},src:"https://d27hmee62k45vz.cloudfront.net/form-secure-privacy.png",width:"320",height:"100"}}]};function s(t){return e(n,t)}const o=t=>(t.legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",(t=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t))(t)),d=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),u=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",d(e)))(e)),p=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=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),c=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),m=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Adoption","Child Custody and Support","Family Issues","Guardianship","Divorce and Separation","Not Sure or Other"]}).legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",d(e);var e},h=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),f=e=>p({label:"How Likely Are You to Pay if Your Issue Could be Resolved?",id:"Degree_Of_Interest",name:"Degree_Of_Interest",help:e,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),y=()=>u({name:"Have_Attorney",label:"Are You Currently Working with An Attorney?"}),g=()=>u({name:"Have_Children",label:"Do You Have Children?"}),b=()=>p({label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",name:"Lawyer_Payment_Method",help:"No payment necessary to speak with lawyers.",options:["Cash","Check","Credit Card","Friend","Family","Other"]}),$=()=>p({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),v=(t,i)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},i),x=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,C=e=>{if(x(e))return e;for(var t=e.children.length-1;t>=0;t--){const i=e.children[t];if(x(i))return i;const r=C(i);if(r)return r}return null};function _(t,i,r=!0){if(void 0===r&&(r=!0),i&&i.length&&r){C(i[i.length-1]).onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}return e((e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}}))(t),{children:[{$formkit:"group",id:t,name:t,children:i}]})}const w=[e({type:"meta",data:{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."}},k),function(t){return e(r,t)}(),{$cmp:"FormKit",props:function(t){return e(i,t)}({formId:"childAndFamily",onSubmit:"$submit($submitUrl, $prepData, $handleRedirect)",redirectMap:{"properties.Type_Of_Legal_Problem":{Adoption:t("565949"),"Child Custody and Support":t("565949"),"Divorce and Separation":t("966410"),Guardianship:t("565949")},"*":t("808601")},anchorElement:"form-anchor"}),children:[function(t){return e(a,t)}({children:"Get Child & Family Help Today",if:"$activeStep === $firstStep()"}),function(t){return e(l,t)}({children:"Contact Us Now for Child Support, Custody and Family Issues",if:"$activeStep === $firstStep()"}),{$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},{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return _("childAndFamilyTOLPAndZip",[m(),c({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)}(),function(e={}){return _("TOLPQuestions",[{$el:"h3",children:"Please Complete the Following:",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-3"}},v("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[y(),$(),g(),f(),b()]}),v("ChildCustodyAndSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[y(),p({label:"Your Relationship to Child(ren):",name:"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),p({label:"With Whom Do the Children Currently Live?",name:"Child_Home",options:["Mother","Father","Grandparents","Other"]}),p({label:"Who is the Primary Caregiver?",name:"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),f(),b()]}),v("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[y(),$(),g(),f(),b()]}),v("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[y(),$(),g(),f(),b()]}),v("DivorceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[y(),$(),g(),f(),b()]}),v("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[y(),f("No payment necessary to speak with lawyers.")]})],e.nextOnEnter)}(),function(e={}){return _("commentsWithBankruptcy",[h({label:e.label||"Please briefly describe your legal issue in a few words:",placeholder:e.placeholder||'For Example: "I\'ve been involved in an auto accident" or "I need Power of Attorney"'}),o({label:"I'd like a free consultation for bankruptcy and eliminating my debt",name:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford"',validation:null})],e.nextOnEnter)}({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"',nextOnEnter:!1}),function(e={}){return _("firstAndLast",[c({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),c({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return _("contactInfo",[{$el:"h3",children:e.headline||"Based on your input, you may benefit from speaking with a legal professional. Please verify your contact information.",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg t-font-bold t-pb-5 t-pt-0 t-px-3"}},c({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),c({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"xxx-xxx-xxxx",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/",validationMessages:{required:"Field is required",matches:"Invalid Phone Number, use xxx-xxx-xxxx format"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},s()],e.nextOnEnter)}({headline:"Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:",nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($scrollAnchor($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:"Next",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"}}]}]}]}];var k;return w}();
|
|
1
|
+
var childAndFamily=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e){return"https://justanswer.9pctbx.net/c/2880795/"+e+"/9320?sharedid=${properties.vid}&subid1=${post_source}"}const i={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit("https://httpbin.org/post", $prepData, $handleRedirect)',plugins:"$plugins",actions:!1,prepop:{fromURL:!0},errorCodes:{403:"An Error Occurred",409:{abort:!1},429:"An Error Occurred"},formClass:"!t-max-w-[38rem]"};const r={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const a={$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"}};const l={$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"}};const n={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},src:"https://d27hmee62k45vz.cloudfront.net/form-secure-privacy.png",width:"320",height:"100"}}]};function s(t){return e(n,t)}const o=t=>(t.legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",(t=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t))(t)),d=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),u=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",d(e)))(e)),p=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=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),c=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),m=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Adoption","Child Custody and Support","Family Issues","Guardianship","Divorce and Separation","Not Sure or Other"]}).legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",d(e);var e},h=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),f=e=>p({label:"How Likely Are You to Pay if Your Issue Could be Resolved?",id:"Degree_Of_Interest",name:"Degree_Of_Interest",help:e,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),y=()=>u({name:"Have_Attorney",label:"Are You Currently Working with An Attorney?"}),g=()=>u({name:"Have_Children",label:"Do You Have Children?"}),b=()=>p({label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",name:"Lawyer_Payment_Method",help:"No payment necessary to speak with lawyers.",options:["Cash","Check","Credit Card","Friend","Family","Other"]}),$=()=>p({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),v=(t,i)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},i),x=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,C=e=>{if(x(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const i=e.children[t];if(x(i))return i;const r=C(i);if(r)return r}return null};function _(t,i,r=!0){if(void 0===r&&(r=!0),i&&i.length&&r){C(i[i.length-1]).onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}return e((e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}}))(t),{children:[{$formkit:"group",id:t,name:t,children:i}]})}const w=[{type:"meta",data:e({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."},k)},function(t){return e(r,t)}(),{$cmp:"FormKit",props:function(t){return e(i,t)}({formId:"childAndFamily",onSubmit:"$submit($submitUrl, $prepData, $handleRedirect)",redirectMap:{"properties.Type_Of_Legal_Problem":{Adoption:t("565949"),"Child Custody and Support":t("565949"),"Divorce and Separation":t("966410"),Guardianship:t("565949")},"*":t("808601")},anchorElement:"form-anchor"}),children:[function(t){return e(a,t)}({children:"Get Child & Family Help Today",if:"$activeStep === $firstStep()"}),function(t){return e(l,t)}({children:"Contact Us Now for Child Support, Custody and Family Issues",if:"$activeStep === $firstStep()"}),{$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},{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return _("childAndFamilyTOLPAndZip",[m(),c({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)}(),function(e={}){return _("TOLPQuestions",[{$el:"h3",children:"Please Complete the Following:",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-3"}},v("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[y(),$(),g(),f(),b()]}),v("ChildCustodyAndSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[y(),p({label:"Your Relationship to Child(ren):",name:"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),p({label:"With Whom Do the Children Currently Live?",name:"Child_Home",options:["Mother","Father","Grandparents","Other"]}),p({label:"Who is the Primary Caregiver?",name:"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),f(),b()]}),v("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[y(),$(),g(),f(),b()]}),v("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[y(),$(),g(),f(),b()]}),v("DivorceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[y(),$(),g(),f(),b()]}),v("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[y(),f("No payment necessary to speak with lawyers.")]})],e.nextOnEnter)}(),function(e={}){return _("commentsWithBankruptcy",[h({label:e.label||"Please briefly describe your legal issue in a few words:",placeholder:e.placeholder||'For Example: "I\'ve been involved in an auto accident" or "I need Power of Attorney"'}),o({label:"I'd like a free consultation for bankruptcy and eliminating my debt",name:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford"',validation:null})],e.nextOnEnter)}({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"',nextOnEnter:!1}),function(e={}){return _("firstAndLast",[c({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),c({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return _("contactInfo",[{$el:"h3",children:e.headline||"Based on your input, you may benefit from speaking with a legal professional. Please verify your contact information.",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg t-font-bold t-pb-5 t-pt-0 t-px-3"}},c({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),c({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"xxx-xxx-xxxx",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/",validationMessages:{required:"Field is required",matches:"Invalid Phone Number, use xxx-xxx-xxxx format"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},s()],e.nextOnEnter)}({headline:"Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:",nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($scrollAnchor($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:"Next",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"}}]}]}]}];var k;return w}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"type":"meta","data":{"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."}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect)","plugins":"$plugins","actions":false,"prepop":{"fromURL":true},"errorCodes":{"403":"An Error Occurred","409":{"abort":false},"429":"An Error Occurred"},"formClass":"!t-max-w-[38rem]","formId":"childAndFamily","redirectMap":{"properties.Type_Of_Legal_Problem":{"Adoption":"https://justanswer.9pctbx.net/c/2880795/565949/9320?sharedid=${properties.vid}&subid1=${post_source}","Child Custody and Support":"https://justanswer.9pctbx.net/c/2880795/565949/9320?sharedid=${properties.vid}&subid1=${post_source}","Divorce and Separation":"https://justanswer.9pctbx.net/c/2880795/966410/9320?sharedid=${properties.vid}&subid1=${post_source}","Guardianship":"https://justanswer.9pctbx.net/c/2880795/565949/9320?sharedid=${properties.vid}&subid1=${post_source}"},"*":"https://justanswer.9pctbx.net/c/2880795/808601/9320?sharedid=${properties.vid}&subid1=${post_source}"},"anchorElement":"form-anchor"},"children":[{"$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"},"children":"Get Child & Family Help Today","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-base t-font-medium t-text-blue-500 t-px-10"},"children":"Contact Us Now for Child Support, Custody and Family Issues","if":"$activeStep === $firstStep()"},{"$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},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepIsEnabled(\"childAndFamilyTOLPAndZip\")","attrs":{"style":{"if":"$activeStep !== \"childAndFamilyTOLPAndZip\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"childAndFamilyTOLPAndZip","name":"childAndFamilyTOLPAndZip","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125","legendClass":"legend-left-flex md:t-max-w-[40%] required","label":"Type of Help Needed:","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","options":["Adoption","Child Custody and Support","Family Issues","Guardianship","Divorce and Separation","Not Sure or Other"],"fieldsetClass":"$reset side-by-side-flex","innerClass":"t-flex t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","label":"Zip Code:","placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"side-by-side t-items-center","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepIsEnabled(\"TOLPQuestions\")","attrs":{"style":{"if":"$activeStep !== \"TOLPQuestions\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"TOLPQuestions","name":"TOLPQuestions","children":[{"$el":"h3","children":"Please Complete the Following:","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-3"}},{"$cmp":"FormKit","props":{"type":"group","key":"AdoptionQuestions","id":"AdoptionQuestions","name":"AdoptionQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Adoption\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Marital Status:","name":"Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Children","label":"Do You Have Children?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"ChildCustodyAndSupportQuestions","id":"ChildCustodyAndSupportQuestions","name":"ChildCustodyAndSupportQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Child Custody and Support\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Your Relationship to Child(ren):","name":"Child_Relationship","options":["Father","Mother","Grandparent","Aunt/Uncle","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"With Whom Do the Children Currently Live?","name":"Child_Home","options":["Mother","Father","Grandparents","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Who is the Primary Caregiver?","name":"Child_Primary_Caregiver","options":["Mother","Father","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"FamilyIssuesQuestions","id":"FamilyIssuesQuestions","name":"FamilyIssuesQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Family Issues\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Marital Status:","name":"Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Children","label":"Do You Have Children?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"GuardianshipQuestions","id":"GuardianshipQuestions","name":"GuardianshipQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Guardianship\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Marital Status:","name":"Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Children","label":"Do You Have Children?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"DivorceQuestions","id":"DivorceQuestions","name":"DivorceQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Divorce and Separation\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Marital Status:","name":"Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Children","label":"Do You Have Children?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"NotSureOrOtherQuestions","id":"NotSureOrOtherQuestions","name":"NotSureOrOtherQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Not Sure or Other\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]}]},{"$el":"section","if":"$stepIsEnabled(\"commentsWithBankruptcy\")","attrs":{"style":{"if":"$activeStep !== \"commentsWithBankruptcy\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"commentsWithBankruptcy","name":"commentsWithBankruptcy","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required","label":"Please briefly describe your situation in a few words:","name":"Comments","placeholder":"For Example: \"I would like help with child support payments\" or \"I need help with visitation rights\""},{"$formkit":"checkbox","validation":null,"validationMessages":{"required":"Field is required"},"label":"I'd like a free consultation for bankruptcy and eliminating my debt","name":"CrossSell_Bankruptcy","if":"$getVal($get(form), \"Degree_Of_Interest\") == \"Absolutely Can't Afford\"","legendClass":"legend-left required","fieldsetClass":"$reset side-by-side","optionsClass":"t-pl-1","innerClass":"t-flex t-items-center","wrapperClass":"t-mb-3"}]}]},{"$el":"section","if":"$stepIsEnabled(\"firstAndLast\")","attrs":{"style":{"if":"$activeStep !== \"firstAndLast\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","name":"First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","name":"Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepIsEnabled(\"contactInfo\")","attrs":{"style":{"if":"$activeStep !== \"contactInfo\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg t-font-bold t-pb-5 t-pt-0 t-px-3"}},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","wrapperClass":"side-by-side t-items-center"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/","validationMessages":{"required":"Field is required","matches":"Invalid Phone Number, use xxx-xxx-xxxx format"},"labelClass":"required","name":"Primary_Phone","label":"Phone Number:","placeholder":"xxx-xxx-xxxx","maxlength":12,"help":"10-digit phone number, hyphens optional","autocomplete":"tel-national","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","wrapperClass":"side-by-side t-items-center"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","name":"TCPA_Opt_In","validation":"required|accepted","validationMessages":{"required":"Consent is required","accepted":"Consent is required"},"classes":{"label":"t-text-xs t-text-slate-500 t-font-normal"}},{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"src":"https://d27hmee62k45vz.cloudfront.net/form-secure-privacy.png","width":"320","height":"100"}}]}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($scrollAnchor($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":"Next","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"}}]}]}]}]
|
|
1
|
+
[{"type":"meta","data":{"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."}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect)","plugins":"$plugins","actions":false,"prepop":{"fromURL":true},"errorCodes":{"403":"An Error Occurred","409":{"abort":false},"429":"An Error Occurred"},"formClass":"!t-max-w-[38rem]","formId":"childAndFamily","redirectMap":{"properties.Type_Of_Legal_Problem":{"Adoption":"https://justanswer.9pctbx.net/c/2880795/565949/9320?sharedid=${properties.vid}&subid1=${post_source}","Child Custody and Support":"https://justanswer.9pctbx.net/c/2880795/565949/9320?sharedid=${properties.vid}&subid1=${post_source}","Divorce and Separation":"https://justanswer.9pctbx.net/c/2880795/966410/9320?sharedid=${properties.vid}&subid1=${post_source}","Guardianship":"https://justanswer.9pctbx.net/c/2880795/565949/9320?sharedid=${properties.vid}&subid1=${post_source}"},"*":"https://justanswer.9pctbx.net/c/2880795/808601/9320?sharedid=${properties.vid}&subid1=${post_source}"},"anchorElement":"form-anchor"},"children":[{"$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"},"children":"Get Child & Family Help Today","if":"$activeStep === $firstStep()"},{"$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"},"children":"Contact Us Now for Child Support, Custody and Family Issues","if":"$activeStep === $firstStep()"},{"$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},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepIsEnabled(\"childAndFamilyTOLPAndZip\")","attrs":{"style":{"if":"$activeStep !== \"childAndFamilyTOLPAndZip\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"childAndFamilyTOLPAndZip","name":"childAndFamilyTOLPAndZip","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125","legendClass":"legend-left-flex md:t-max-w-[40%] required","label":"Type of Help Needed:","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","options":["Adoption","Child Custody and Support","Family Issues","Guardianship","Divorce and Separation","Not Sure or Other"],"fieldsetClass":"$reset side-by-side-flex","innerClass":"t-flex t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","label":"Zip Code:","placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"side-by-side t-items-center","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepIsEnabled(\"TOLPQuestions\")","attrs":{"style":{"if":"$activeStep !== \"TOLPQuestions\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"TOLPQuestions","name":"TOLPQuestions","children":[{"$el":"h3","children":"Please Complete the Following:","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-3"}},{"$cmp":"FormKit","props":{"type":"group","key":"AdoptionQuestions","id":"AdoptionQuestions","name":"AdoptionQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Adoption\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Marital Status:","name":"Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Children","label":"Do You Have Children?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"ChildCustodyAndSupportQuestions","id":"ChildCustodyAndSupportQuestions","name":"ChildCustodyAndSupportQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Child Custody and Support\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Your Relationship to Child(ren):","name":"Child_Relationship","options":["Father","Mother","Grandparent","Aunt/Uncle","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"With Whom Do the Children Currently Live?","name":"Child_Home","options":["Mother","Father","Grandparents","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Who is the Primary Caregiver?","name":"Child_Primary_Caregiver","options":["Mother","Father","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"FamilyIssuesQuestions","id":"FamilyIssuesQuestions","name":"FamilyIssuesQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Family Issues\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Marital Status:","name":"Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Children","label":"Do You Have Children?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"GuardianshipQuestions","id":"GuardianshipQuestions","name":"GuardianshipQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Guardianship\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Marital Status:","name":"Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Children","label":"Do You Have Children?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"DivorceQuestions","id":"DivorceQuestions","name":"DivorceQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Divorce and Separation\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Marital Status:","name":"Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Children","label":"Do You Have Children?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"NotSureOrOtherQuestions","id":"NotSureOrOtherQuestions","name":"NotSureOrOtherQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Not Sure or Other\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Are You Currently Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","id":"Degree_Of_Interest","name":"Degree_Of_Interest","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]}]},{"$el":"section","if":"$stepIsEnabled(\"commentsWithBankruptcy\")","attrs":{"style":{"if":"$activeStep !== \"commentsWithBankruptcy\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"commentsWithBankruptcy","name":"commentsWithBankruptcy","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required","label":"Please briefly describe your situation in a few words:","name":"Comments","placeholder":"For Example: \"I would like help with child support payments\" or \"I need help with visitation rights\""},{"$formkit":"checkbox","validation":null,"validationMessages":{"required":"Field is required"},"label":"I'd like a free consultation for bankruptcy and eliminating my debt","name":"CrossSell_Bankruptcy","if":"$getVal($get(form), \"Degree_Of_Interest\") == \"Absolutely Can't Afford\"","legendClass":"legend-left required","fieldsetClass":"$reset side-by-side","optionsClass":"t-pl-1","innerClass":"t-flex t-items-center","wrapperClass":"t-mb-3"}]}]},{"$el":"section","if":"$stepIsEnabled(\"firstAndLast\")","attrs":{"style":{"if":"$activeStep !== \"firstAndLast\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","name":"First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","name":"Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepIsEnabled(\"contactInfo\")","attrs":{"style":{"if":"$activeStep !== \"contactInfo\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg t-font-bold t-pb-5 t-pt-0 t-px-3"}},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","wrapperClass":"side-by-side t-items-center"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/","validationMessages":{"required":"Field is required","matches":"Invalid Phone Number, use xxx-xxx-xxxx format"},"labelClass":"required","name":"Primary_Phone","label":"Phone Number:","placeholder":"xxx-xxx-xxxx","maxlength":12,"help":"10-digit phone number, hyphens optional","autocomplete":"tel-national","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","wrapperClass":"side-by-side t-items-center"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","name":"TCPA_Opt_In","validation":"required|accepted","validationMessages":{"required":"Consent is required","accepted":"Consent is required"},"classes":{"label":"t-text-xs t-text-slate-500 t-font-normal"}},{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"src":"https://d27hmee62k45vz.cloudfront.net/form-secure-privacy.png","width":"320","height":"100"}}]}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($scrollAnchor($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":"Next","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"}}]}]}]}]
|
|
@@ -34,17 +34,18 @@ function formProps(updates) {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
const metaDefaults = {
|
|
37
|
-
|
|
38
|
-
data: {
|
|
39
|
-
tcpaLanguage: TCPA_LANGUAGE
|
|
40
|
-
}
|
|
37
|
+
tcpaLanguage: TCPA_LANGUAGE
|
|
41
38
|
};
|
|
42
39
|
|
|
43
40
|
function metaProps(updates) {
|
|
44
|
-
|
|
41
|
+
const data = merge(
|
|
45
42
|
metaDefaults,
|
|
46
43
|
updates
|
|
47
|
-
)
|
|
44
|
+
);
|
|
45
|
+
return {
|
|
46
|
+
type: 'meta',
|
|
47
|
+
data
|
|
48
|
+
}
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
const formAnchorDefaults = {
|
|
@@ -88,7 +89,7 @@ function headline(updates) {
|
|
|
88
89
|
const subHeadlineDefaults = {
|
|
89
90
|
$el: 'h3',
|
|
90
91
|
attrs: {
|
|
91
|
-
class: 't-flex t-justify-center t-text-center !t-text-
|
|
92
|
+
class: 't-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10'
|
|
92
93
|
}
|
|
93
94
|
};
|
|
94
95
|
|
|
@@ -2259,6 +2260,9 @@ const findLastInput = (n) => {
|
|
|
2259
2260
|
return n
|
|
2260
2261
|
}
|
|
2261
2262
|
for (var i = n.children.length - 1; i >= 0; i--) {
|
|
2263
|
+
if (typeof n.children === 'string') {
|
|
2264
|
+
continue
|
|
2265
|
+
}
|
|
2262
2266
|
const child = n.children[i];
|
|
2263
2267
|
if (isInput(child)) {
|
|
2264
2268
|
return child
|
|
@@ -2345,7 +2349,7 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
2345
2349
|
)
|
|
2346
2350
|
}
|
|
2347
2351
|
|
|
2348
|
-
const
|
|
2352
|
+
const DEFAULT_FINAL_HEADLINE = "Based on your input, you may benefit from speaking with a legal professional. Please verify your contact information.";
|
|
2349
2353
|
|
|
2350
2354
|
function contactInfo(updates = {}) {
|
|
2351
2355
|
return step(
|
|
@@ -2353,7 +2357,7 @@ function contactInfo(updates = {}) {
|
|
|
2353
2357
|
[
|
|
2354
2358
|
{
|
|
2355
2359
|
$el: 'h3',
|
|
2356
|
-
children: updates.headline ||
|
|
2360
|
+
children: updates.headline || DEFAULT_FINAL_HEADLINE,
|
|
2357
2361
|
attrs: {
|
|
2358
2362
|
class: 't-flex t-justify-center t-text-center t-text-lg t-font-bold t-pb-5 t-pt-0 t-px-3'
|
|
2359
2363
|
}
|
|
@@ -2378,67 +2382,76 @@ function firstAndLast(updates = {}) {
|
|
|
2378
2382
|
)
|
|
2379
2383
|
}
|
|
2380
2384
|
|
|
2385
|
+
const AllTOLPQuestions = () => {
|
|
2386
|
+
return [
|
|
2387
|
+
AdoptionQuestions(),
|
|
2388
|
+
AsbestosAndMesotheliomaQuestions(),
|
|
2389
|
+
AutoAndCarAccidentsQuestions(),
|
|
2390
|
+
BankruptcyQuestions(),
|
|
2391
|
+
BirthCertificateAndNameChangeQuestions(),
|
|
2392
|
+
BusinessLawyersQuestions(),
|
|
2393
|
+
ChildCustodyAndSupportQuestions(),
|
|
2394
|
+
CivilRightsAndDiscriminationQuestions(),
|
|
2395
|
+
CivilLawsuitQuestions(),
|
|
2396
|
+
ConsumerLawyersQuestions(),
|
|
2397
|
+
CopyrightsAndTrademarksQuestions(),
|
|
2398
|
+
CriminalAndFelonyQuestions(),
|
|
2399
|
+
DebtAndCollectionsQuestions(),
|
|
2400
|
+
DivorceQuestions(),
|
|
2401
|
+
DUIAndDWIQuestions(),
|
|
2402
|
+
ElderLawQuestions(),
|
|
2403
|
+
EmploymentAndWorkplaceQuestions(),
|
|
2404
|
+
ExpungementQuestions(),
|
|
2405
|
+
FamilyIssuesQuestions(),
|
|
2406
|
+
ForeclosureQuestions(),
|
|
2407
|
+
GuardianshipQuestions(),
|
|
2408
|
+
HarassmentAndDiscriminationQuestions(),
|
|
2409
|
+
IdentityTheftQuestions(),
|
|
2410
|
+
ImmigrationAndVisasQuestions(),
|
|
2411
|
+
InsuranceQuestions(),
|
|
2412
|
+
LandlordAndTenantQuestions(),
|
|
2413
|
+
LemonLawQuestions(),
|
|
2414
|
+
LongTermDisabilityQuestions(),
|
|
2415
|
+
MedicalMalpracticeQuestions(),
|
|
2416
|
+
NursingHomeAbuseQuestions(),
|
|
2417
|
+
PatentsAndIntellectualPropertyQuestions(),
|
|
2418
|
+
PersonalInjuryQuestions(),
|
|
2419
|
+
PowerofAttorneyQuestions(),
|
|
2420
|
+
ProbateAndEstatesQuestions(),
|
|
2421
|
+
ProductLiabilityQuestions(),
|
|
2422
|
+
PropertyDamageQuestions(),
|
|
2423
|
+
RealEstateQuestions(),
|
|
2424
|
+
SocialSecurityDisabilityAndInsuranceQuestions(),
|
|
2425
|
+
TaxAndIRSQuestions(),
|
|
2426
|
+
TrafficAndTicketsQuestions(),
|
|
2427
|
+
UnemploymentQuestions(),
|
|
2428
|
+
VaccinationInjuryQuestions(),
|
|
2429
|
+
VeteransDisabilityQuestions(),
|
|
2430
|
+
VictimOfACrimeQuestions(),
|
|
2431
|
+
WillsAndTrustsQuestions(),
|
|
2432
|
+
WorkersCompensationQuestions(),
|
|
2433
|
+
WrongfulDeathQuestions(),
|
|
2434
|
+
WrongfulTerminationQuestions(),
|
|
2435
|
+
NotSureOrOtherQuestions()
|
|
2436
|
+
]
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2381
2439
|
function generalLegalTOLPQuestions(updates = {}) {
|
|
2440
|
+
var questions = AllTOLPQuestions();
|
|
2441
|
+
|
|
2442
|
+
questions.unshift(
|
|
2443
|
+
{
|
|
2444
|
+
$el: 'h3',
|
|
2445
|
+
children: updates.headline || "Please Complete the Following:",
|
|
2446
|
+
attrs: {
|
|
2447
|
+
class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3'
|
|
2448
|
+
}
|
|
2449
|
+
},
|
|
2450
|
+
);
|
|
2451
|
+
|
|
2382
2452
|
return step(
|
|
2383
2453
|
'TOLPQuestions',
|
|
2384
|
-
|
|
2385
|
-
{
|
|
2386
|
-
$el: 'h3',
|
|
2387
|
-
children: 'Please Complete the Following:',
|
|
2388
|
-
attrs: {
|
|
2389
|
-
class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3'
|
|
2390
|
-
}
|
|
2391
|
-
},
|
|
2392
|
-
AdoptionQuestions(),
|
|
2393
|
-
AsbestosAndMesotheliomaQuestions(),
|
|
2394
|
-
AutoAndCarAccidentsQuestions(),
|
|
2395
|
-
BankruptcyQuestions(),
|
|
2396
|
-
BirthCertificateAndNameChangeQuestions(),
|
|
2397
|
-
BusinessLawyersQuestions(),
|
|
2398
|
-
ChildCustodyAndSupportQuestions(),
|
|
2399
|
-
CivilRightsAndDiscriminationQuestions(),
|
|
2400
|
-
CivilLawsuitQuestions(),
|
|
2401
|
-
ConsumerLawyersQuestions(),
|
|
2402
|
-
CopyrightsAndTrademarksQuestions(),
|
|
2403
|
-
CriminalAndFelonyQuestions(),
|
|
2404
|
-
DebtAndCollectionsQuestions(),
|
|
2405
|
-
DivorceQuestions(),
|
|
2406
|
-
DUIAndDWIQuestions(),
|
|
2407
|
-
ElderLawQuestions(),
|
|
2408
|
-
EmploymentAndWorkplaceQuestions(),
|
|
2409
|
-
ExpungementQuestions(),
|
|
2410
|
-
FamilyIssuesQuestions(),
|
|
2411
|
-
ForeclosureQuestions(),
|
|
2412
|
-
GuardianshipQuestions(),
|
|
2413
|
-
HarassmentAndDiscriminationQuestions(),
|
|
2414
|
-
IdentityTheftQuestions(),
|
|
2415
|
-
ImmigrationAndVisasQuestions(),
|
|
2416
|
-
InsuranceQuestions(),
|
|
2417
|
-
LandlordAndTenantQuestions(),
|
|
2418
|
-
LemonLawQuestions(),
|
|
2419
|
-
LongTermDisabilityQuestions(),
|
|
2420
|
-
MedicalMalpracticeQuestions(),
|
|
2421
|
-
NursingHomeAbuseQuestions(),
|
|
2422
|
-
PatentsAndIntellectualPropertyQuestions(),
|
|
2423
|
-
PersonalInjuryQuestions(),
|
|
2424
|
-
PowerofAttorneyQuestions(),
|
|
2425
|
-
ProbateAndEstatesQuestions(),
|
|
2426
|
-
ProductLiabilityQuestions(),
|
|
2427
|
-
PropertyDamageQuestions(),
|
|
2428
|
-
RealEstateQuestions(),
|
|
2429
|
-
SocialSecurityDisabilityAndInsuranceQuestions(),
|
|
2430
|
-
TaxAndIRSQuestions(),
|
|
2431
|
-
TrafficAndTicketsQuestions(),
|
|
2432
|
-
UnemploymentQuestions(),
|
|
2433
|
-
VaccinationInjuryQuestions(),
|
|
2434
|
-
VeteransDisabilityQuestions(),
|
|
2435
|
-
VictimOfACrimeQuestions(),
|
|
2436
|
-
WillsAndTrustsQuestions(),
|
|
2437
|
-
WorkersCompensationQuestions(),
|
|
2438
|
-
WrongfulDeathQuestions(),
|
|
2439
|
-
WrongfulTerminationQuestions(),
|
|
2440
|
-
NotSureOrOtherQuestions()
|
|
2441
|
-
],
|
|
2454
|
+
questions,
|
|
2442
2455
|
updates.nextOnEnter
|
|
2443
2456
|
)
|
|
2444
2457
|
}
|