bhl-forms 0.0.42 → 0.0.45

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.
@@ -72,7 +72,6 @@ function formAnchor(updates) {
72
72
 
73
73
  const headlineDefaults = {
74
74
  $el: 'h1',
75
- if: '$activeStep === $firstStep()',
76
75
  attrs: {
77
76
  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'
78
77
  }
@@ -87,9 +86,8 @@ function headline(updates) {
87
86
 
88
87
  const subHeadlineDefaults = {
89
88
  $el: 'h3',
90
- if: '$activeStep === $firstStep()',
91
89
  attrs: {
92
- class: 't-flex t-justify-center t-text-center !t-text-md t-font-medium t-text-blue-500 t-px-10'
90
+ class: 't-flex t-justify-center t-text-center !t-text-base t-font-medium t-text-blue-500 t-px-10'
93
91
  }
94
92
  };
95
93
 
@@ -101,6 +99,34 @@ function subHeadline(updates) {
101
99
  )
102
100
  }
103
101
 
102
+ const privacyIconsDefault = {
103
+ $el: 'div',
104
+ if: '$activeStep === $lastStep()',
105
+ attrs: {
106
+ class: 't-flex t-justify-center'
107
+ },
108
+ children: [
109
+ {
110
+ $el: 'img',
111
+ attrs: {
112
+ loading: 'lazy',
113
+ alt: '',
114
+ style: { border: 0 },
115
+ src: 'https://d27hmee62k45vz.cloudfront.net/form-secure-privacy.png',
116
+ width: '320',
117
+ height: '100'
118
+ }
119
+ }
120
+ ]
121
+ };
122
+
123
+ function privacyIcons(updates) {
124
+ return merge(
125
+ privacyIconsDefault,
126
+ updates
127
+ )
128
+ }
129
+
104
130
  const hiddenInputs = [
105
131
  {
106
132
  $formkit: 'hidden',
@@ -200,6 +226,19 @@ const sbsText = (updates) => {
200
226
  return text(updates)
201
227
  };
202
228
 
229
+ const textArea = (updates) => {
230
+ return merge({
231
+ $formkit: 'textarea',
232
+ rows: 7,
233
+ maxlength: 1000,
234
+ validation: 'required',
235
+ validationMessages: {
236
+ required: 'Field is required'
237
+ },
238
+ labelClass: 'required'
239
+ }, updates)
240
+ };
241
+
203
242
  const childAndFamilyTOLP = () => sbs2ColRadio({
204
243
  label: 'Type of Help Needed:',
205
244
  name: 'Type_Of_Legal_Problem',
@@ -247,19 +286,13 @@ const childRelationship = () => sbsSelect({
247
286
  ]
248
287
  });
249
288
 
250
- const comments$1 = () => ({
251
- $formkit: 'textarea',
252
- label: 'Please provide a brief description of your situation:',
253
- name: 'Comments',
254
- placeholder: 'For Example: "I would like help with child support payments" or "I need help with visitation rights"',
255
- rows: 7,
256
- validation: 'required',
257
- maxlength: 1000,
258
- labelClass: 'required',
259
- validationMessages: {
260
- required: 'Description is required'
261
- }
262
- });
289
+ const comments$1 = (updates) => textArea(
290
+ merge({
291
+ label: 'Please provide a brief description of your situation:',
292
+ name: 'Comments',
293
+ placeholder: 'For Example: "I would like help with child support payments" or "I need help with visitation rights"'
294
+ }, updates)
295
+ );
263
296
 
264
297
  const degreeOfInterest = (help) => sbsSelect({
265
298
  label: 'How Likely Are You to Pay if Your Issue Could be Resolved?',
@@ -521,23 +554,29 @@ function childAndFamilyTOLPAndZip() {
521
554
  )
522
555
  }
523
556
 
524
- function comments() {
557
+ const DEFAULT_COMMENTS_PLACEHOLDER = 'For Example: "I\'ve been involved in an auto accident" or "I need Power of Attorney"';
558
+
559
+ function comments(updates = {}) {
525
560
  return step(
526
561
  'comments',
527
562
  [
528
- comments$1()
563
+ comments$1({
564
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER
565
+ })
529
566
  ],
530
567
  ...arguments
531
568
  )
532
569
  }
533
570
 
534
- function contactInfo() {
571
+ const DEFAULT_LAST_STEP_HEADLINE = "Based on your input, you may benefit from speaking with a legal professional. Please verify your contact information.";
572
+
573
+ function contactInfo(updates = {}) {
535
574
  return step(
536
575
  'contactInfo',
537
576
  [
538
577
  {
539
578
  $el: 'h3',
540
- children: 'Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:',
579
+ children: updates.headline || DEFAULT_LAST_STEP_HEADLINE,
541
580
  attrs: {
542
581
  class: 't-flex t-justify-center t-text-center t-text-lg t-font-bold t-pb-5 t-pt-0 t-px-3'
543
582
  }
@@ -545,26 +584,7 @@ function contactInfo() {
545
584
  email(),
546
585
  phone(),
547
586
  TCPAConsent(),
548
- {
549
- $el: 'div',
550
- if: '$activeStep === $lastStep()',
551
- attrs: {
552
- class: 't-flex t-justify-center'
553
- },
554
- children: [
555
- {
556
- $el: 'img',
557
- attrs: {
558
- loading: 'lazy',
559
- alt: '',
560
- style: { border: 0 },
561
- src: 'https://d27hmee62k45vz.cloudfront.net/form-secure-privacy.png',
562
- width: '320',
563
- height: '100'
564
- }
565
- }
566
- ]
567
- }
587
+ privacyIcons()
568
588
  ],
569
589
  ...arguments
570
590
  )
@@ -701,10 +721,12 @@ const schema = [
701
721
  }),
702
722
  children: [
703
723
  headline({
704
- children: 'Get Child & Family Help Today'
724
+ children: 'Get Child & Family Help Today',
725
+ if: '$activeStep === $firstStep()'
705
726
  }),
706
727
  subHeadline({
707
- children: 'Contact Us Now for Child Support, Custody and Family Issues'
728
+ children: 'Contact Us Now for Child Support, Custody and Family Issues',
729
+ if: '$activeStep === $firstStep()'
708
730
  }),
709
731
  ...hiddenInputs,
710
732
  {
@@ -715,9 +737,13 @@ const schema = [
715
737
  children: [
716
738
  childAndFamilyTOLPAndZip(),
717
739
  childAndFamilyTOLPQuestions(),
718
- comments(),
740
+ comments({
741
+ placeholder: 'For Example: "I would like help with child support payments" or "I need help with visitation rights"'
742
+ }),
719
743
  firstAndLast(),
720
- contactInfo(),
744
+ contactInfo({
745
+ headline: 'Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:'
746
+ }),
721
747
  formNavigation(),
722
748
  formDetails()
723
749
  ]
@@ -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}"}const i={type:"form",id:"form",onSubmit:'$submit("https://httpbin.org/post", $prepData, $getRedirect)',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:"-20px",left:0}}}],attrs:{class:"t-relative"}};const a={$el:"h1",if:"$activeStep === $firstStep()",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 s={$el:"h3",if:"$activeStep === $firstStep()",attrs:{class:"t-flex t-justify-center t-text-center !t-text-md t-font-medium t-text-blue-500 t-px-10"}};const l=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),n=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",l(e)))(e)),o=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)),d=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),u=()=>{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 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",l(e);var e},p=e=>o({label:"How Likely Are You to Pay if Your Issue Could be Resolved?",name:"Degree_Of_Interest",help:e,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),c=()=>d({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),m=()=>d({$formkit:"text",label:"First Name:",name:"First_Name",validationMessages:{required:"First Name is required"}}),h=()=>n({name:"Have_Attorney",label:"Are You Currently Working with An Attorney?"}),f=()=>n({name:"Have_Children",label:"Do You Have Children?"}),y=()=>d({$formkit:"text",label:"Last Name:",name:"Last_Name",validationMessages:{required:"Last Name is required"}}),g=()=>o({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"]}),v=()=>o({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),$=()=>d({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"xxx-xxx-xxxx",maxlength:12,validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Number"}}),b=()=>d({label:"Zip Code:",placeholder:"90210",name:"Zip",maxlength:5,inputmode:"numeric",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}}),x=(t,i)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},i),C=()=>x("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[h(),v(),f(),p(),g()]}),_=()=>x("ChildCustodyAndSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[h(),o({label:"Your Relationship to Child(ren):",name:"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),o({label:"With Whom Do the Children Currently Live?",name:"Child_Home",options:["Mother","Father","Grandparents","Other"]}),o({label:"Who is the Primary Caregiver?",name:"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),p(),g()]}),q=()=>x("DivorceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[h(),v(),f(),p(),g()]}),S=()=>x("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[h(),v(),f(),p(),g()]}),w=()=>x("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[h(),v(),f(),p(),g()]}),k=()=>x("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[h(),p("No payment necessary to speak with lawyers.")]});function P(t,i,...r){return e((e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}}))(t),{children:[e({$formkit:"group",id:t,name:t,children:i},...r)]})}const L=[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 855-506-0847."}},O),function(t){return e(r,t)}(),{$cmp:"FormKit",props:function(t){return e(i,t)}({formId:"childAndFamily",onSubmit:"$submit($submitUrl, $prepData, $getRedirect)",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"}),function(t){return e(s,t)}({children:"Contact Us Now for Child Support, Custody and Family Issues"}),{$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(){return P("childAndFamilyTOLPAndZip",[u(),b()],...arguments)}(),function(){return P("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"}},C(),_(),S(),w(),q(),k()],...arguments)}(),function(){return P("comments",[{$formkit:"textarea",label:"Please provide a brief description of your situation:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"',rows:7,validation:"required",maxlength:1e3,labelClass:"required",validationMessages:{required:"Description is required"}}],...arguments)}(),function(){return P("firstAndLast",[m(),y()],...arguments)}(),function(){return P("contactInfo",[{$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"}},c(),$(),{$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"}}]}],...arguments)}(),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",onClick:"$setPreviousStep()",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",onClick:"$setNextStep($fireStepEvent($get(form)))",children:"Next",style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",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 O;return L}();
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}"}const i={type:"form",id:"form",onSubmit:'$submit("https://httpbin.org/post", $prepData, $getRedirect)',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:"-20px",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 s={$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 n(t){return e(s,t)}const o=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),d=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",o(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)),u=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),c=()=>{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 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",o(e);var e},m=t=>(t=>e({$formkit:"textarea",rows:7,maxlength:1e3,validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(e({label:"Please provide a brief description of your situation:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),h=e=>p({label:"How Likely Are You to Pay if Your Issue Could be Resolved?",name:"Degree_Of_Interest",help:e,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),f=()=>u({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),y=()=>u({$formkit:"text",label:"First Name:",name:"First_Name",validationMessages:{required:"First Name is required"}}),g=()=>d({name:"Have_Attorney",label:"Are You Currently Working with An Attorney?"}),v=()=>d({name:"Have_Children",label:"Do You Have Children?"}),b=()=>u({$formkit:"text",label:"Last Name:",name:"Last_Name",validationMessages:{required:"Last Name is required"}}),$=()=>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"]}),x=()=>p({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),C=()=>u({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"xxx-xxx-xxxx",maxlength:12,validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Number"}}),_=()=>u({label:"Zip Code:",placeholder:"90210",name:"Zip",maxlength:5,inputmode:"numeric",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}}),w=(t,i)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},i),q=()=>w("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[g(),x(),v(),h(),$()]}),S=()=>w("ChildCustodyAndSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[g(),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"]}),h(),$()]}),k=()=>w("DivorceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[g(),x(),v(),h(),$()]}),P=()=>w("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[g(),x(),v(),h(),$()]}),L=()=>w("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[g(),x(),v(),h(),$()]}),F=()=>w("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[g(),h("No payment necessary to speak with lawyers.")]});function O(t,i,...r){return e((e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}}))(t),{children:[e({$formkit:"group",id:t,name:t,children:i},...r)]})}const A='For Example: "I\'ve been involved in an auto accident" or "I need Power of Attorney"';const I="Based on your input, you may benefit from speaking with a legal professional. Please verify your contact information.";const N=[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 855-506-0847."}},T),function(t){return e(r,t)}(),{$cmp:"FormKit",props:function(t){return e(i,t)}({formId:"childAndFamily",onSubmit:"$submit($submitUrl, $prepData, $getRedirect)",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(){return O("childAndFamilyTOLPAndZip",[c(),_()],...arguments)}(),function(){return O("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"}},q(),S(),P(),L(),k(),F()],...arguments)}(),function(e={}){return O("comments",[m({placeholder:e.placeholder||A})],...arguments)}({placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'}),function(){return O("firstAndLast",[y(),b()],...arguments)}(),function(e={}){return O("contactInfo",[{$el:"h3",children:e.headline||I,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"}},f(),C(),{$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"}},n()],...arguments)}({headline:"Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:"}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",onClick:"$setPreviousStep()",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",onClick:"$setNextStep($fireStepEvent($get(form)))",children:"Next",style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",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 T;return N}();
@@ -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 855-506-0847."}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-20px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","onSubmit":"$submit($submitUrl, $prepData, $getRedirect)","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}","Child Custody and Support":"https://justanswer.9pctbx.net/c/2880795/565949/9320?sharedid=${properties.vid}","Divorce and Separation":"https://justanswer.9pctbx.net/c/2880795/966410/9320?sharedid=${properties.vid}","Guardianship":"https://justanswer.9pctbx.net/c/2880795/565949/9320?sharedid=${properties.vid}"},"*":"https://justanswer.9pctbx.net/c/2880795/808601/9320?sharedid=${properties.vid}"},"anchorElement":"form-anchor"},"children":[{"$el":"h1","if":"$activeStep === $firstStep()","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"},{"$el":"h3","if":"$activeStep === $firstStep()","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-md t-font-medium t-text-blue-500 t-px-10"},"children":"Contact Us Now for Child Support, Custody and Family Issues"},{"$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 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":"90210","name":"Zip","maxlength":5,"inputmode":"numeric","wrapperClass":"side-by-side t-items-center"}]}]},{"$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"},{"$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"},{"$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?","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"},{"$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?","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"},{"$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"},{"$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?","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"},{"$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"},{"$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?","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"},{"$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"},{"$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?","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"},{"$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?","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]"}]}]}]},{"$el":"section","if":"$stepIsEnabled(\"comments\")","attrs":{"style":{"if":"$activeStep !== \"comments\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","label":"Please provide a brief description of your situation:","name":"Comments","placeholder":"For Example: \"I would like help with child support payments\" or \"I need help with visitation rights\"","rows":7,"validation":"required","maxlength":1000,"labelClass":"required","validationMessages":{"required":"Description is required"}}]}]},{"$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","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","wrapperClass":"side-by-side t-items-center"}]}]},{"$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","wrapperClass":"side-by-side t-items-center"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Number"},"labelClass":"required","name":"Primary_Phone","label":"Phone Number:","placeholder":"xxx-xxx-xxxx","maxlength":12,"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","onClick":"$setPreviousStep()","children":"Back","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"button","onClick":"$setNextStep($fireStepEvent($get(form)))","children":"Next","style":{"if":"$activeStep === $lastStep()","then":"display: none;"}},{"$formkit":"submit","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 855-506-0847."}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-20px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","onSubmit":"$submit($submitUrl, $prepData, $getRedirect)","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}","Child Custody and Support":"https://justanswer.9pctbx.net/c/2880795/565949/9320?sharedid=${properties.vid}","Divorce and Separation":"https://justanswer.9pctbx.net/c/2880795/966410/9320?sharedid=${properties.vid}","Guardianship":"https://justanswer.9pctbx.net/c/2880795/565949/9320?sharedid=${properties.vid}"},"*":"https://justanswer.9pctbx.net/c/2880795/808601/9320?sharedid=${properties.vid}"},"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 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":"90210","name":"Zip","maxlength":5,"inputmode":"numeric","wrapperClass":"side-by-side t-items-center"}]}]},{"$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"},{"$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"},{"$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?","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"},{"$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?","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"},{"$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"},{"$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?","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"},{"$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"},{"$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?","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"},{"$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"},{"$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?","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"},{"$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?","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]"}]}]}]},{"$el":"section","if":"$stepIsEnabled(\"comments\")","attrs":{"style":{"if":"$activeStep !== \"comments\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":7,"maxlength":1000,"validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required","label":"Please provide a brief description of your situation:","name":"Comments","placeholder":"For Example: \"I would like help with child support payments\" or \"I need help with visitation rights\""}],"placeholder":"For Example: \"I would like help with child support payments\" or \"I need help with visitation rights\""}]},{"$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","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","wrapperClass":"side-by-side t-items-center"}]}]},{"$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","wrapperClass":"side-by-side t-items-center"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Number"},"labelClass":"required","name":"Primary_Phone","label":"Phone Number:","placeholder":"xxx-xxx-xxxx","maxlength":12,"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"}}]}],"headline":"Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:"}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","onClick":"$setPreviousStep()","children":"Back","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"button","onClick":"$setNextStep($fireStepEvent($get(form)))","children":"Next","style":{"if":"$activeStep === $lastStep()","then":"display: none;"}},{"$formkit":"submit","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"}}]}]}]}]
@@ -72,7 +72,6 @@ function formAnchor(updates) {
72
72
 
73
73
  const headlineDefaults = {
74
74
  $el: 'h1',
75
- if: '$activeStep === $firstStep()',
76
75
  attrs: {
77
76
  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'
78
77
  }
@@ -87,9 +86,8 @@ function headline(updates) {
87
86
 
88
87
  const subHeadlineDefaults = {
89
88
  $el: 'h3',
90
- if: '$activeStep === $firstStep()',
91
89
  attrs: {
92
- class: 't-flex t-justify-center t-text-center !t-text-md t-font-medium t-text-blue-500 t-px-10'
90
+ class: 't-flex t-justify-center t-text-center !t-text-base t-font-medium t-text-blue-500 t-px-10'
93
91
  }
94
92
  };
95
93
 
@@ -101,6 +99,34 @@ function subHeadline(updates) {
101
99
  )
102
100
  }
103
101
 
102
+ const privacyIconsDefault = {
103
+ $el: 'div',
104
+ if: '$activeStep === $lastStep()',
105
+ attrs: {
106
+ class: 't-flex t-justify-center'
107
+ },
108
+ children: [
109
+ {
110
+ $el: 'img',
111
+ attrs: {
112
+ loading: 'lazy',
113
+ alt: '',
114
+ style: { border: 0 },
115
+ src: 'https://d27hmee62k45vz.cloudfront.net/form-secure-privacy.png',
116
+ width: '320',
117
+ height: '100'
118
+ }
119
+ }
120
+ ]
121
+ };
122
+
123
+ function privacyIcons(updates) {
124
+ return merge(
125
+ privacyIconsDefault,
126
+ updates
127
+ )
128
+ }
129
+
104
130
  const hiddenInputs = [
105
131
  {
106
132
  $formkit: 'hidden',
@@ -282,9 +308,11 @@ const sbsText = (updates) => {
282
308
  return text(updates)
283
309
  };
284
310
 
285
- const date = (updates) => {
311
+ const textArea = (updates) => {
286
312
  return merge({
287
- $formkit: 'date',
313
+ $formkit: 'textarea',
314
+ rows: 7,
315
+ maxlength: 1000,
288
316
  validation: 'required',
289
317
  validationMessages: {
290
318
  required: 'Field is required'
@@ -293,12 +321,23 @@ const date = (updates) => {
293
321
  }, updates)
294
322
  };
295
323
 
324
+ const date = (updates) => {
325
+ return merge({
326
+ $formkit: 'DatePicker',
327
+ validation: 'required',
328
+ validationMessages: {
329
+ required: 'Field is required'
330
+ },
331
+ labelClass: 'required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500',
332
+ innerClass: 't-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500'
333
+ }, updates)
334
+ };
335
+
296
336
  const sbsDate = (updates) => {
297
337
  updates.wrapperClass = 'side-by-side t-items-center';
298
338
  return date(updates)
299
339
  };
300
340
 
301
-
302
341
  // ------ Inputs
303
342
 
304
343
  const amountPaymentsPastDue = () => sbsSelect({
@@ -542,19 +581,13 @@ const claimStatus = () => sbsSelect({
542
581
  ]
543
582
  });
544
583
 
545
- const comments$1 = () => ({
546
- $formkit: 'textarea',
547
- label: 'Please provide a brief description of your situation:',
548
- name: 'Comments',
549
- placeholder: 'For Example: "I would like help with child support payments" or "I need help with visitation rights"',
550
- rows: 7,
551
- validation: 'required',
552
- maxlength: 1000,
553
- labelClass: 'required',
554
- validationMessages: {
555
- required: 'Description is required'
556
- }
557
- });
584
+ const comments$1 = (updates) => textArea(
585
+ merge({
586
+ label: 'Please provide a brief description of your situation:',
587
+ name: 'Comments',
588
+ placeholder: 'For Example: "I would like help with child support payments" or "I need help with visitation rights"'
589
+ }, updates)
590
+ );
558
591
 
559
592
  const countryOfCitizenship = () => sbsSelect({
560
593
  label: 'What is Your Current Country of Citizenship?',
@@ -2209,23 +2242,29 @@ function generalLegalTOLPAndZip() {
2209
2242
  )
2210
2243
  }
2211
2244
 
2212
- function comments() {
2245
+ const DEFAULT_COMMENTS_PLACEHOLDER = 'For Example: "I\'ve been involved in an auto accident" or "I need Power of Attorney"';
2246
+
2247
+ function comments(updates = {}) {
2213
2248
  return step(
2214
2249
  'comments',
2215
2250
  [
2216
- comments$1()
2251
+ comments$1({
2252
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER
2253
+ })
2217
2254
  ],
2218
2255
  ...arguments
2219
2256
  )
2220
2257
  }
2221
2258
 
2222
- function contactInfo() {
2259
+ const DEFAULT_LAST_STEP_HEADLINE = "Based on your input, you may benefit from speaking with a legal professional. Please verify your contact information.";
2260
+
2261
+ function contactInfo(updates = {}) {
2223
2262
  return step(
2224
2263
  'contactInfo',
2225
2264
  [
2226
2265
  {
2227
2266
  $el: 'h3',
2228
- children: 'Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:',
2267
+ children: updates.headline || DEFAULT_LAST_STEP_HEADLINE,
2229
2268
  attrs: {
2230
2269
  class: 't-flex t-justify-center t-text-center t-text-lg t-font-bold t-pb-5 t-pt-0 t-px-3'
2231
2270
  }
@@ -2233,26 +2272,7 @@ function contactInfo() {
2233
2272
  email(),
2234
2273
  phone(),
2235
2274
  TCPAConsent(),
2236
- {
2237
- $el: 'div',
2238
- if: '$activeStep === $lastStep()',
2239
- attrs: {
2240
- class: 't-flex t-justify-center'
2241
- },
2242
- children: [
2243
- {
2244
- $el: 'img',
2245
- attrs: {
2246
- loading: 'lazy',
2247
- alt: '',
2248
- style: { border: 0 },
2249
- src: 'https://d27hmee62k45vz.cloudfront.net/form-secure-privacy.png',
2250
- width: '320',
2251
- height: '100'
2252
- }
2253
- }
2254
- ]
2255
- }
2275
+ privacyIcons()
2256
2276
  ],
2257
2277
  ...arguments
2258
2278
  )
@@ -2424,10 +2444,12 @@ const schema = [
2424
2444
  }),
2425
2445
  children: [
2426
2446
  headline({
2427
- children: 'Need Legal Help? Start Here!'
2447
+ children: 'Need Legal Help? Start Here!',
2448
+ if: '$activeStep === $firstStep()'
2428
2449
  }),
2429
2450
  subHeadline({
2430
- children: 'Get Your Questions Answered Today!'
2451
+ children: 'Get Your Questions Answered Today!',
2452
+ if: '$activeStep === $firstStep()'
2431
2453
  }),
2432
2454
  ...hiddenInputs,
2433
2455
  {