bhl-forms 0.0.29 → 0.0.32

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.
@@ -40,17 +40,17 @@ const hiddenInputs = [
40
40
  {
41
41
  $formkit: 'hidden',
42
42
  name: "gclid",
43
- value: null,
43
+ value: null
44
44
  },
45
45
  {
46
46
  $formkit: 'hidden',
47
47
  name: "campaignid",
48
- value: null,
48
+ value: null
49
49
  },
50
50
  {
51
51
  $formkit: 'hidden',
52
52
  name: "s",
53
- value: null,
53
+ value: null
54
54
  }
55
55
  ];
56
56
 
@@ -61,7 +61,7 @@ const radio = (updates) => {
61
61
  $formkit: 'radio',
62
62
  validation: 'required',
63
63
  validationMessages: {
64
- required: 'Field is required',
64
+ required: 'Field is required'
65
65
  },
66
66
  optionsClass: 't-pt-3 t-pl-1',
67
67
  legendClass: 'required'
@@ -69,9 +69,9 @@ const radio = (updates) => {
69
69
  };
70
70
 
71
71
  const sbs2ColRadio = (updates) => {
72
- updates.legendClass = 'legend-left required';
73
- updates.fieldsetClass = '$reset side-by-side';
74
- updates.optionsClass = 't-grid t-grid-cols-1 md:t-grid-cols-2';
72
+ updates.legendClass = 'legend-left-flex md:t-max-w-[40%] required';
73
+ updates.fieldsetClass = '$reset side-by-side-flex';
74
+ updates.optionsClass = 't-ml-4 t-grid t-grid-cols-1 md:t-grid-cols-2-150';
75
75
  updates.innerClass = 't-flex t-items-start';
76
76
  updates.wrapperClass = '$reset t-flex t-cursor-pointer t-mb-3';
77
77
  return radio(updates)
@@ -79,7 +79,7 @@ const sbs2ColRadio = (updates) => {
79
79
 
80
80
  const sbsYesNoRadio = (updates) => {
81
81
  updates.options = ['Yes', 'No'];
82
- updates.legendClass = 'legend-left required';
82
+ updates.legendClass = 'legend-left t-pb-2 required';
83
83
  updates.fieldsetClass = '$reset side-by-side t-items-center';
84
84
  updates.optionsClass = 't-pl-1 side-by-side t-items-center';
85
85
  updates.innerClass = 't-flex t-items-center';
@@ -92,7 +92,7 @@ const select = (updates) => {
92
92
  placeholder: "Please Select",
93
93
  validation: 'required',
94
94
  validationMessages: {
95
- required: 'Field is required',
95
+ required: 'Field is required'
96
96
  },
97
97
  inputClass: 't-bg-white',
98
98
  labelClass: 'required'
@@ -111,7 +111,7 @@ const text = (updates) => {
111
111
  $formkit: 'text',
112
112
  validation: 'required',
113
113
  validationMessages: {
114
- required: 'Field is required',
114
+ required: 'Field is required'
115
115
  },
116
116
  labelClass: 'required'
117
117
  }, updates)
@@ -180,8 +180,8 @@ const comments$1 = () => ({
180
180
  maxlength: 1000,
181
181
  labelClass: 'required',
182
182
  validationMessages: {
183
- required: 'Description is required',
184
- },
183
+ required: 'Description is required'
184
+ }
185
185
  });
186
186
 
187
187
  const degreeOfInterest = () => sbsSelect({
@@ -203,7 +203,7 @@ const firstName = () => sbsText({
203
203
  validation: 'required',
204
204
  validationMessages: {
205
205
  required: 'First Name is required'
206
- },
206
+ }
207
207
  });
208
208
 
209
209
  const email = () => sbsText({
@@ -214,18 +214,18 @@ const email = () => sbsText({
214
214
  validation: 'required|email',
215
215
  validationMessages: {
216
216
  required: 'Email is required',
217
- email: 'Invalid Email',
218
- },
217
+ email: 'Invalid Email'
218
+ }
219
219
  });
220
220
 
221
221
  const haveAttorney = () => sbsYesNoRadio({
222
222
  name: 'Have_Attorney',
223
- label: 'Are You Currently Working with An Attorney?',
223
+ label: 'Are You Currently Working with An Attorney?'
224
224
  });
225
225
 
226
226
  const haveChildren = () => sbsYesNoRadio({
227
227
  name: 'Have_Children',
228
- label: 'Do You Have Children?',
228
+ label: 'Do You Have Children?'
229
229
  });
230
230
 
231
231
  const lastName = () => sbsText({
@@ -235,7 +235,7 @@ const lastName = () => sbsText({
235
235
  validation: 'required',
236
236
  validationMessages: {
237
237
  required: 'Last Name is required'
238
- },
238
+ }
239
239
  });
240
240
 
241
241
  const lawyerPaymentMethod = () => sbsSelect({
@@ -261,7 +261,7 @@ const maritalStatus = () => sbsSelect({
261
261
  'Married, Living Together',
262
262
  'Separated',
263
263
  'Divorced',
264
- 'Other',
264
+ 'Other'
265
265
  ]
266
266
  });
267
267
 
@@ -275,8 +275,8 @@ const phone = () => sbsText({
275
275
  validation: 'required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/',
276
276
  validationMessages: {
277
277
  required: 'Phone Number is required',
278
- matches: 'Invalid Phone Number',
279
- },
278
+ matches: 'Invalid Phone Number'
279
+ }
280
280
  });
281
281
 
282
282
  const TCPAConsent = () => ({
@@ -286,7 +286,7 @@ const TCPAConsent = () => ({
286
286
  validation: 'required|accepted',
287
287
  validationMessages: {
288
288
  required: 'Consent is required',
289
- accepted: 'Consent is required',
289
+ accepted: 'Consent is required'
290
290
  },
291
291
  classes: {
292
292
  label: "t-text-xs t-text-slate-500 t-font-normal"
@@ -301,8 +301,8 @@ const zipcode = () => sbsText({
301
301
  validation: 'required|matches:/^[0-9]{5}$/',
302
302
  validationMessages: {
303
303
  required: 'Zip Code is required',
304
- matches: 'Invalid Zip Code',
305
- },
304
+ matches: 'Invalid Zip Code'
305
+ }
306
306
  });
307
307
 
308
308
  // ------ Question Groups
@@ -316,7 +316,7 @@ const group = (name, updates) => {
316
316
  key: name,
317
317
  id: name,
318
318
  name: name
319
- },
319
+ }
320
320
  }, updates)
321
321
  };
322
322
 
@@ -427,7 +427,7 @@ function step(name, inputs, ...args) {
427
427
  name: name,
428
428
  children: inputs
429
429
  }, ...args)
430
- ],
430
+ ]
431
431
  }
432
432
  )
433
433
  }
@@ -438,7 +438,7 @@ function childAndFamilyTOLPAndZip() {
438
438
  'childAndFamilyTOLPAndZip',
439
439
  [
440
440
  childAndFamilyTOLP(),
441
- zipcode(),
441
+ zipcode()
442
442
  ],
443
443
  ...arguments
444
444
  )
@@ -448,7 +448,7 @@ function comments() {
448
448
  return step(
449
449
  'comments',
450
450
  [
451
- comments$1(),
451
+ comments$1()
452
452
  ],
453
453
  ...arguments
454
454
  )
@@ -498,7 +498,7 @@ function firstAndLast() {
498
498
  'firstAndLast',
499
499
  [
500
500
  firstName(),
501
- lastName(),
501
+ lastName()
502
502
  ],
503
503
  ...arguments
504
504
  )
@@ -618,7 +618,7 @@ const schema = [
618
618
  attrs: {
619
619
  id: "form-anchor",
620
620
  class: 't-absolute',
621
- style: { top: '-20px', left: 0 },
621
+ style: { top: '-20px', left: 0 }
622
622
  }
623
623
  }
624
624
  ],
@@ -671,9 +671,9 @@ const schema = [
671
671
  firstAndLast(),
672
672
  contactInfo(),
673
673
  formNavigation(),
674
- formDetails(),
674
+ formDetails()
675
675
  ]
676
- },
676
+ }
677
677
  ]
678
678
  }
679
679
  ];
@@ -1 +1 @@
1
- var childAndFamily=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),i=e=>(e.options=["Yes","No"],e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-pl-1 side-by-side t-items-center",e.innerClass="t-flex t-items-center",t(e)),r=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",(t=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),a=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),s=()=>{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 required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t(e);var e},l=()=>r({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"]}),n=()=>a({$formkit:"text",label:"First Name:",name:"First_Name",validation:"required",validationMessages:{required:"First Name is required"}}),o=()=>a({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),d=()=>i({name:"Have_Attorney",label:"Are You Currently Working with An Attorney?"}),p=()=>i({name:"Have_Children",label:"Do You Have Children?"}),u=()=>a({$formkit:"text",label:"Last Name:",name:"Last_Name",validation:"required",validationMessages:{required:"Last Name is required"}}),c=()=>r({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"]}),m=()=>r({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),h=()=>a({$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"}}),f=()=>a({label:"Zip Code:",placeholder:"90210",name:"Zip",maxlength:5,validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}}),y=(t,i)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},i),v=()=>y("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[d(),m(),p(),l(),c()]}),$=()=>y("ChildCustodyAndSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[d(),r({label:"Your Relationship to Child(ren):",name:"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),r({label:"With Whom Do the Children Currently Live?",name:"Child_Home",options:["Mother","Father","Grandparents","Other"]}),r({label:"Who is the Primary Caregiver?",name:"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),l(),c()]}),b=()=>y("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[d(),m(),p(),l(),c()]}),g=()=>y("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[d(),m(),p(),l(),c()]}),x=()=>y("DivorceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[d(),m(),p(),l(),c()]}),C=()=>y("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[d(),c()]});function q(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 _=[{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:(S={formId:"childAndFamily",onSubmit:'$submit("https://httpbin.org/post", $prepData, $getRedirect)',redirectMap:{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"},e({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-xl"},S)),children:[{$el:"h1",if:"$activeStep === $firstStep()",children:"Get Child & Family Help Today",attrs:{class:"t-flex t-justify-center t-text-center t-text-3xl t-font-bold t-pt-5 t-px-3"}},{$el:"h3",if:"$activeStep === $firstStep()",children:"Contact Us Now for Child Support, Custody and Family Issues",attrs:{class:"t-flex t-justify-center t-text-center t-text-md t-font-medium t-text-blue-500 t-px-3"}},{$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 q("childAndFamilyTOLPAndZip",[s(),f()],...arguments)}(),function(){return q("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(),$(),b(),g(),x(),C()],...arguments)}(),function(){return q("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:1,validation:"required",maxlength:1e3,labelClass:"required",validationMessages:{required:"Description is required"}}],...arguments)}(),function(){return q("firstAndLast",[n(),u()],...arguments)}(),function(){return q("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"}},o(),h(),{$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 S;return _}();
1
+ var childAndFamily=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),i=e=>(e.options=["Yes","No"],e.legendClass="legend-left t-pb-2 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-pl-1 side-by-side t-items-center",e.innerClass="t-flex t-items-center",t(e)),r=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",(t=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),a=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),s=()=>{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="t-ml-4 t-grid t-grid-cols-1 md:t-grid-cols-2-150",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t(e);var e},l=()=>r({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"]}),n=()=>a({$formkit:"text",label:"First Name:",name:"First_Name",validation:"required",validationMessages:{required:"First Name is required"}}),o=()=>a({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),d=()=>i({name:"Have_Attorney",label:"Are You Currently Working with An Attorney?"}),p=()=>i({name:"Have_Children",label:"Do You Have Children?"}),u=()=>a({$formkit:"text",label:"Last Name:",name:"Last_Name",validation:"required",validationMessages:{required:"Last Name is required"}}),c=()=>r({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"]}),m=()=>r({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),h=()=>a({$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"}}),f=()=>a({label:"Zip Code:",placeholder:"90210",name:"Zip",maxlength:5,validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}}),y=(t,i)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},i),v=()=>y("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[d(),m(),p(),l(),c()]}),$=()=>y("ChildCustodyAndSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[d(),r({label:"Your Relationship to Child(ren):",name:"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),r({label:"With Whom Do the Children Currently Live?",name:"Child_Home",options:["Mother","Father","Grandparents","Other"]}),r({label:"Who is the Primary Caregiver?",name:"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),l(),c()]}),b=()=>y("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[d(),m(),p(),l(),c()]}),g=()=>y("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[d(),m(),p(),l(),c()]}),x=()=>y("DivorceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[d(),m(),p(),l(),c()]}),C=()=>y("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[d(),c()]});function q(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 _=[{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:(S={formId:"childAndFamily",onSubmit:'$submit("https://httpbin.org/post", $prepData, $getRedirect)',redirectMap:{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"},e({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-xl"},S)),children:[{$el:"h1",if:"$activeStep === $firstStep()",children:"Get Child & Family Help Today",attrs:{class:"t-flex t-justify-center t-text-center t-text-3xl t-font-bold t-pt-5 t-px-3"}},{$el:"h3",if:"$activeStep === $firstStep()",children:"Contact Us Now for Child Support, Custody and Family Issues",attrs:{class:"t-flex t-justify-center t-text-center t-text-md t-font-medium t-text-blue-500 t-px-3"}},{$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 q("childAndFamilyTOLPAndZip",[s(),f()],...arguments)}(),function(){return q("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(),$(),b(),g(),x(),C()],...arguments)}(),function(){return q("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:1,validation:"required",maxlength:1e3,labelClass:"required",validationMessages:{required:"Description is required"}}],...arguments)}(),function(){return q("firstAndLast",[n(),u()],...arguments)}(),function(){return q("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"}},o(),h(),{$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 S;return _}();
@@ -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(\"https://httpbin.org/post\", $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-xl","formId":"childAndFamily","redirectMap":{"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()","children":"Get Child & Family Help Today","attrs":{"class":"t-flex t-justify-center t-text-center t-text-3xl t-font-bold t-pt-5 t-px-3"}},{"$el":"h3","if":"$activeStep === $firstStep()","children":"Contact Us Now for Child Support, Custody and Family Issues","attrs":{"class":"t-flex t-justify-center t-text-center t-text-md t-font-medium t-text-blue-500 t-px-3"}},{"$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":"t-grid t-grid-cols-1 md:t-grid-cols-2","legendClass":"legend-left 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","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,"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-pl-1 side-by-side t-items-center","legendClass":"legend-left 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"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-1 side-by-side t-items-center","legendClass":"legend-left 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"},{"$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"}]},{"$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-pl-1 side-by-side t-items-center","legendClass":"legend-left 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"},{"$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"},{"$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"},{"$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"},{"$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"}]},{"$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-pl-1 side-by-side t-items-center","legendClass":"legend-left 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"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-1 side-by-side t-items-center","legendClass":"legend-left 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"},{"$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"}]},{"$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-pl-1 side-by-side t-items-center","legendClass":"legend-left 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"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-1 side-by-side t-items-center","legendClass":"legend-left 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"},{"$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"}]},{"$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-pl-1 side-by-side t-items-center","legendClass":"legend-left 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"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-1 side-by-side t-items-center","legendClass":"legend-left 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"},{"$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"}]},{"$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-pl-1 side-by-side t-items-center","legendClass":"legend-left 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 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"}]}]}]},{"$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":1,"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(\"https://httpbin.org/post\", $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-xl","formId":"childAndFamily","redirectMap":{"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()","children":"Get Child & Family Help Today","attrs":{"class":"t-flex t-justify-center t-text-center t-text-3xl t-font-bold t-pt-5 t-px-3"}},{"$el":"h3","if":"$activeStep === $firstStep()","children":"Contact Us Now for Child Support, Custody and Family Issues","attrs":{"class":"t-flex t-justify-center t-text-center t-text-md t-font-medium t-text-blue-500 t-px-3"}},{"$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":"t-ml-4 t-grid t-grid-cols-1 md:t-grid-cols-2-150","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,"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-pl-1 side-by-side t-items-center","legendClass":"legend-left t-pb-2 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"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-1 side-by-side t-items-center","legendClass":"legend-left t-pb-2 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"},{"$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"}]},{"$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-pl-1 side-by-side t-items-center","legendClass":"legend-left t-pb-2 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"},{"$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"},{"$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"},{"$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"},{"$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"}]},{"$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-pl-1 side-by-side t-items-center","legendClass":"legend-left t-pb-2 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"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-1 side-by-side t-items-center","legendClass":"legend-left t-pb-2 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"},{"$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"}]},{"$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-pl-1 side-by-side t-items-center","legendClass":"legend-left t-pb-2 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"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-1 side-by-side t-items-center","legendClass":"legend-left t-pb-2 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"},{"$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"}]},{"$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-pl-1 side-by-side t-items-center","legendClass":"legend-left t-pb-2 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"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-1 side-by-side t-items-center","legendClass":"legend-left t-pb-2 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"},{"$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"}]},{"$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-pl-1 side-by-side t-items-center","legendClass":"legend-left t-pb-2 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 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"}]}]}]},{"$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":1,"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"}}]}]}]}]
@@ -0,0 +1 @@
1
+ var childAndFamily=(function(){"use strict";function merge(){return Object.assign({},...arguments)}const radio=e=>merge({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},e),sbsYesNoRadio=e=>(e.options=["Yes","No"],e.legendClass="legend-left t-pb-2 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-pl-1 side-by-side t-items-center",e.innerClass="t-flex t-items-center",radio(e)),sbsSelect=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",(e=>merge({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},e))(e)),sbsText=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",(e=>merge({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},e))(e)),childAndFamilyTOLP=()=>{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="t-ml-4 t-grid t-grid-cols-1 md:t-grid-cols-2-150",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",radio(e);var e},degreeOfInterest=()=>sbsSelect({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"]}),firstName=()=>sbsText({$formkit:"text",label:"First Name:",name:"First_Name",validation:"required",validationMessages:{required:"First Name is required"}}),email=()=>sbsText({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),haveAttorney=()=>sbsYesNoRadio({name:"Have_Attorney",label:"Are You Currently Working with An Attorney?"}),haveChildren=()=>sbsYesNoRadio({name:"Have_Children",label:"Do You Have Children?"}),lastName=()=>sbsText({$formkit:"text",label:"Last Name:",name:"Last_Name",validation:"required",validationMessages:{required:"Last Name is required"}}),lawyerPaymentMethod=()=>sbsSelect({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"]}),maritalStatus=()=>sbsSelect({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),phone=()=>sbsText({$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"}}),zipcode=()=>sbsText({label:"Zip Code:",placeholder:"90210",name:"Zip",maxlength:5,validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}}),group=(e,t)=>merge({$cmp:"FormKit",props:{type:"group",key:e,id:e,name:e}},t),AdoptionQuestions=()=>group("AdoptionQuestions",{"if":'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[haveAttorney(),maritalStatus(),haveChildren(),degreeOfInterest(),lawyerPaymentMethod()]}),ChildCustodyAndSupportQuestions=()=>group("ChildCustodyAndSupportQuestions",{"if":'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[haveAttorney(),sbsSelect({label:"Your Relationship to Child(ren):",name:"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),sbsSelect({label:"With Whom Do the Children Currently Live?",name:"Child_Home",options:["Mother","Father","Grandparents","Other"]}),sbsSelect({label:"Who is the Primary Caregiver?",name:"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),degreeOfInterest(),lawyerPaymentMethod()]}),FamilyIssuesQuestions=()=>group("FamilyIssuesQuestions",{"if":'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[haveAttorney(),maritalStatus(),haveChildren(),degreeOfInterest(),lawyerPaymentMethod()]}),GuardianshipQuestions=()=>group("GuardianshipQuestions",{"if":'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[haveAttorney(),maritalStatus(),haveChildren(),degreeOfInterest(),lawyerPaymentMethod()]}),DivorceQuestions=()=>group("DivorceQuestions",{"if":'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[haveAttorney(),maritalStatus(),haveChildren(),degreeOfInterest(),lawyerPaymentMethod()]}),NotSureOrOtherQuestions=()=>group("NotSureOrOtherQuestions",{"if":'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[haveAttorney(),lawyerPaymentMethod()]});function step(e,t,...i){return merge((e=>({$el:"section","if":'$stepIsEnabled("'+e+'")',attrs:{style:{"if":'$activeStep !== "'+e+'"',then:"display: none;"}}}))(e),{children:[merge({$formkit:"group",id:e,name:e,children:t},...i)]})}const 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."}},{$el:"div",children:[{$el:"div",attrs:{id:"form-anchor","class":"t-absolute",style:{top:"-20px",left:0}}}],attrs:{"class":"t-relative"}},{$cmp:"FormKit",props:(t={formId:"childAndFamily",onSubmit:'$submit("https://httpbin.org/post", $prepData, $getRedirect)',redirectMap:{"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"},merge({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-xl"},t)),children:[{$el:"h1","if":"$activeStep === $firstStep()",children:"Get Child & Family Help Today",attrs:{"class":"t-flex t-justify-center t-text-center t-text-3xl t-font-bold t-pt-5 t-px-3"}},{$el:"h3","if":"$activeStep === $firstStep()",children:"Contact Us Now for Child Support, Custody and Family Issues",attrs:{"class":"t-flex t-justify-center t-text-center t-text-md t-font-medium t-text-blue-500 t-px-3"}},{$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 step("childAndFamilyTOLPAndZip",[childAndFamilyTOLP(),zipcode()],...arguments)})(),(function(){return step("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"}},AdoptionQuestions(),ChildCustodyAndSupportQuestions(),FamilyIssuesQuestions(),GuardianshipQuestions(),DivorceQuestions(),NotSureOrOtherQuestions()],...arguments)})(),(function(){return step("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:1,validation:"required",maxlength:1e3,labelClass:"required",validationMessages:{required:"Description is required"}}],...arguments)})(),(function(){return step("firstAndLast",[firstName(),lastName()],...arguments)})(),(function(){return step("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"}},email(),phone(),{$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 t;return e})();
@@ -40,17 +40,17 @@ const hiddenInputs = [
40
40
  {
41
41
  $formkit: 'hidden',
42
42
  name: "gclid",
43
- value: null,
43
+ value: null
44
44
  },
45
45
  {
46
46
  $formkit: 'hidden',
47
47
  name: "campaignid",
48
- value: null,
48
+ value: null
49
49
  },
50
50
  {
51
51
  $formkit: 'hidden',
52
52
  name: "s",
53
- value: null,
53
+ value: null
54
54
  }
55
55
  ];
56
56
 
@@ -60,7 +60,7 @@ const select = (updates) => {
60
60
  placeholder: "Please Select",
61
61
  validation: 'required',
62
62
  validationMessages: {
63
- required: 'Field is required',
63
+ required: 'Field is required'
64
64
  },
65
65
  inputClass: 't-bg-white',
66
66
  labelClass: 'required'
@@ -79,7 +79,7 @@ const text = (updates) => {
79
79
  $formkit: 'text',
80
80
  validation: 'required',
81
81
  validationMessages: {
82
- required: 'Field is required',
82
+ required: 'Field is required'
83
83
  },
84
84
  labelClass: 'required'
85
85
  }, updates)
@@ -112,7 +112,7 @@ const firstName = () => sbsText({
112
112
  validation: 'required',
113
113
  validationMessages: {
114
114
  required: 'First Name is required'
115
- },
115
+ }
116
116
  });
117
117
 
118
118
  const email = () => sbsText({
@@ -123,8 +123,8 @@ const email = () => sbsText({
123
123
  validation: 'required|email',
124
124
  validationMessages: {
125
125
  required: 'Email is required',
126
- email: 'Invalid Email',
127
- },
126
+ email: 'Invalid Email'
127
+ }
128
128
  });
129
129
 
130
130
  const lastName = () => sbsText({
@@ -134,7 +134,7 @@ const lastName = () => sbsText({
134
134
  validation: 'required',
135
135
  validationMessages: {
136
136
  required: 'Last Name is required'
137
- },
137
+ }
138
138
  });
139
139
 
140
140
  const phone = () => sbsText({
@@ -147,8 +147,8 @@ const phone = () => sbsText({
147
147
  validation: 'required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/',
148
148
  validationMessages: {
149
149
  required: 'Phone Number is required',
150
- matches: 'Invalid Phone Number',
151
- },
150
+ matches: 'Invalid Phone Number'
151
+ }
152
152
  });
153
153
 
154
154
  const TCPAConsent = () => ({
@@ -158,7 +158,7 @@ const TCPAConsent = () => ({
158
158
  validation: 'required|accepted',
159
159
  validationMessages: {
160
160
  required: 'Consent is required',
161
- accepted: 'Consent is required',
161
+ accepted: 'Consent is required'
162
162
  },
163
163
  classes: {
164
164
  label: "t-text-xs t-text-slate-500 t-font-normal"
@@ -173,8 +173,8 @@ const zipcode = () => sbsText({
173
173
  validation: 'required|matches:/^[0-9]{5}$/',
174
174
  validationMessages: {
175
175
  required: 'Zip Code is required',
176
- matches: 'Invalid Zip Code',
177
- },
176
+ matches: 'Invalid Zip Code'
177
+ }
178
178
  });
179
179
 
180
180
  const stepDefaults = (step) => ({
@@ -201,7 +201,7 @@ function step(name, inputs, ...args) {
201
201
  name: name,
202
202
  children: inputs
203
203
  }, ...args)
204
- ],
204
+ ]
205
205
  }
206
206
  )
207
207
  }
@@ -211,7 +211,7 @@ function categoryAndZip() {
211
211
  'categoryAndZip',
212
212
  [
213
213
  zipcode(),
214
- category(),
214
+ category()
215
215
  ],
216
216
  ...arguments
217
217
  )
@@ -261,7 +261,7 @@ function firstAndLast() {
261
261
  'firstAndLast',
262
262
  [
263
263
  firstName(),
264
- lastName(),
264
+ lastName()
265
265
  ],
266
266
  ...arguments
267
267
  )
@@ -0,0 +1 @@
1
+ var testForm=(function(){"use strict";function merge(){return Object.assign({},...arguments)}const sbsSelect=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",(e=>merge({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},e))(e)),sbsText=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",(e=>merge({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},e))(e)),category=()=>sbsSelect({$formkit:"select",label:"Category:",name:"category",id:"category",validation:"required",options:["Fruits","Vegetables"]}),firstName=()=>sbsText({$formkit:"text",label:"First Name:",name:"First_Name",validation:"required",validationMessages:{required:"First Name is required"}}),email=()=>sbsText({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),lastName=()=>sbsText({$formkit:"text",label:"Last Name:",name:"Last_Name",validation:"required",validationMessages:{required:"Last Name is required"}}),phone=()=>sbsText({$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"}}),zipcode=()=>sbsText({label:"Zip Code:",placeholder:"90210",name:"Zip",maxlength:5,validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}});function step(e,t,...i){return merge((e=>({$el:"section","if":'$stepIsEnabled("'+e+'")',attrs:{style:{"if":'$activeStep !== "'+e+'"',then:"display: none;"}}}))(e),{children:[merge({$formkit:"group",id:e,name:e,children:t},...i)]})}const 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."}},{$cmp:"FormKit",props:(t={formId:"testForm",onSubmit:'$submit("http://localhost:8080/api/v1/form_leads_ext", $prepData)'},merge({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-xl"},t)),children:[{$el:"h1",children:"Need Help? Start Here!",attrs:{"class":"t-flex t-justify-center t-text-3xl t-font-bold"}},{$el:"h3",children:"Get Your Questions Answered Today!",attrs:{"class":"t-flex t-justify-center t-text-l t-font-bold t-text-blue-500"}},{$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 step("categoryAndZip",[zipcode(),category()],...arguments)})(),(function(){return step("firstAndLast",[firstName(),lastName()],...arguments)})(),(function(){return step("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"}},email(),phone(),{$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 t;return e})();