bhl-forms 0.0.86 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bhl-forms.iife.js +1 -1
- package/dist/bhl-forms.modern.iife.js +1 -1
- package/dist/bhl-forms.modern.umd.js +1 -1
- package/dist/bhl-forms.umd.js +1 -1
- package/dist/forms/childAndFamily.es.js +170 -88
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/civilLawsuit.es.js +281 -1544
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/criminal.es.js +414 -78
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +1372 -0
- package/dist/forms/employmentAndWorkplace.iife.js +1 -0
- package/dist/forms/employmentAndWorkplace.json +1 -0
- package/dist/forms/generalLegal.es.js +365 -81
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +365 -81
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderTF.es.js +337 -103
- package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderTF.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +1092 -0
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -0
- package/dist/forms/harassmentAndDiscrimination.json +1 -0
- package/dist/forms/realEstate.es.js +403 -76
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/testForm.es.js +278 -23
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +1271 -0
- package/dist/forms/willsAndTrusts.iife.js +1 -0
- package/dist/forms/willsAndTrusts.json +1 -0
- package/dist/main.css +1 -1
- package/package.json +1 -1
|
@@ -8,13 +8,21 @@ function JALegalUrl(pageId) {
|
|
|
8
8
|
|
|
9
9
|
var TCPA_LANGUAGE = "By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.";
|
|
10
10
|
|
|
11
|
+
const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC = '$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
|
|
12
|
+
const DEFAULT_COMMENTS_LABEL = 'Please briefly describe your legal issue in a few words:';
|
|
13
|
+
const DEFAULT_FINAL_HEADLINE = 'Submit Your Case';
|
|
14
|
+
const DEFAULT_FINAL_HEADLINE_DYNAMIC = '$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
|
|
15
|
+
const DEFAULT_FINAL_SUBHEADLINE = 'You may benefit from speaking with a legal professional. Please verify your contact information.';
|
|
16
|
+
const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC = '$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
|
|
17
|
+
|
|
11
18
|
const formPropDefaults = {
|
|
12
19
|
type: 'form',
|
|
13
20
|
id: 'form',
|
|
14
21
|
config: { validationVisibility: 'submit' },
|
|
15
|
-
onSubmit: '$submit(
|
|
22
|
+
onSubmit: '$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',
|
|
16
23
|
plugins: '$plugins',
|
|
17
24
|
actions: false,
|
|
25
|
+
anchorElement: 'form-anchor',
|
|
18
26
|
prepop: {
|
|
19
27
|
fromURL: true
|
|
20
28
|
},
|
|
@@ -49,6 +57,18 @@ function metaProps(updates) {
|
|
|
49
57
|
}
|
|
50
58
|
}
|
|
51
59
|
|
|
60
|
+
function defaultMetaProps() {
|
|
61
|
+
return metaProps({
|
|
62
|
+
defaultCommentsPlaceholder: DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
|
|
63
|
+
commentsPlaceholders: TOLPCommentsPlaceholders,
|
|
64
|
+
defaultFinalHeadline: DEFAULT_FINAL_HEADLINE,
|
|
65
|
+
finalHeadlines: TOLPFinalHeadlines,
|
|
66
|
+
defaultFinalSubHeadline: DEFAULT_FINAL_SUBHEADLINE,
|
|
67
|
+
finalSubHeadlines: TOLPFinalSubHeadlines,
|
|
68
|
+
trustedFormTOLPs: trustedFormTOLPs
|
|
69
|
+
})
|
|
70
|
+
}
|
|
71
|
+
|
|
52
72
|
const formAnchorDefaults = {
|
|
53
73
|
$el: 'div',
|
|
54
74
|
children: [
|
|
@@ -94,7 +114,6 @@ const subHeadlineDefaults = {
|
|
|
94
114
|
}
|
|
95
115
|
};
|
|
96
116
|
|
|
97
|
-
|
|
98
117
|
function subHeadline(updates) {
|
|
99
118
|
return merge(
|
|
100
119
|
subHeadlineDefaults,
|
|
@@ -174,7 +193,11 @@ const legalRedirectMapDefaults = {
|
|
|
174
193
|
'Adoption': JALegalUrl('565949'),
|
|
175
194
|
'Bankruptcy': JALegalUrl('1147978'),
|
|
176
195
|
'Child Custody and Support': JALegalUrl('565949'),
|
|
196
|
+
'Child Custody': JALegalUrl('565949'),
|
|
197
|
+
'Child Support': JALegalUrl('565949'),
|
|
177
198
|
'Civil Lawsuit': JALegalUrl('897042'),
|
|
199
|
+
'File a Lawsuit': JALegalUrl('897042'),
|
|
200
|
+
'Defend a Lawsuit': JALegalUrl('897042'),
|
|
178
201
|
'Consumer Lawyers': JALegalUrl('897042'),
|
|
179
202
|
'Criminal and Felony': JALegalUrl('897012'),
|
|
180
203
|
'Debt and Collections': JALegalUrl('1147978'),
|
|
@@ -211,7 +234,6 @@ function legalRedirectMap(updates) {
|
|
|
211
234
|
)
|
|
212
235
|
}
|
|
213
236
|
|
|
214
|
-
|
|
215
237
|
const TOLPCommentsPlaceholders = {
|
|
216
238
|
'Adoption': 'Example: "I need help with adoption forms"',
|
|
217
239
|
'Asbestos and Mesothelioma': 'Example: "I was exposed to asbestos at work and would like to file a claim"',
|
|
@@ -220,8 +242,12 @@ const TOLPCommentsPlaceholders = {
|
|
|
220
242
|
'Birth Certificate and Name Change': 'Example: "Just married and would like to change my last name"',
|
|
221
243
|
'Business Lawyers': 'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',
|
|
222
244
|
'Child Custody and Support': 'Example: "Need help getting custody" or "Issues with child support payments"',
|
|
245
|
+
'Child Custody': 'Example: "Need help getting custody"',
|
|
246
|
+
'Child Support': 'Example: "Issues with child support payments"',
|
|
223
247
|
'Civil Rights and Discrimination': 'Example: "Police brutality" or "Coworker keeps harassing me"',
|
|
224
248
|
'Civil Lawsuit': 'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',
|
|
249
|
+
'File a Lawsuit': 'Example: "A contractor took my money and never completed the job"',
|
|
250
|
+
'Defend a Lawsuit': 'Example: "I am being sued by a neighbor"',
|
|
225
251
|
'Consumer Lawyers': 'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',
|
|
226
252
|
'Copyrights and Trademarks': 'Example: "I would like to register a trademark or copyright a name"',
|
|
227
253
|
'Criminal and Felony': 'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',
|
|
@@ -235,6 +261,11 @@ const TOLPCommentsPlaceholders = {
|
|
|
235
261
|
'Foreclosure': 'Example: "I need help to avoid foreclosure on my house"',
|
|
236
262
|
'Guardianship': 'Example: "I need help with guardianship documents"',
|
|
237
263
|
'Harassment and Discrimination': 'Example: "I am being discriminated at work" or "My neighbor is harassing me"',
|
|
264
|
+
'Sexual Harassment': 'Example: "I am being sexually harassed by a coworker"',
|
|
265
|
+
'Workplace Harassment': 'Example: "My coworker is being aggressive towards me"',
|
|
266
|
+
'Non-Workplace Harassment': 'Example: "My neighbor is harassing me"',
|
|
267
|
+
'Workplace Discrimination': 'Example: "I am being discriminated at work based on my age"',
|
|
268
|
+
'Non-Workplace Discrimination': 'Example: "I am being discriminated against by a local official"',
|
|
238
269
|
'Identity Theft': 'Example: "Someone stole my identity and I need help fixing the issue"',
|
|
239
270
|
'Immigration and Visas': 'Example: "I need help filing for a visa" or "Help with a green card"',
|
|
240
271
|
'Insurance': 'Example: "I need help filing an insurance claim for damage to my house"',
|
|
@@ -314,6 +345,11 @@ const TOLPFinalHeadlines = {
|
|
|
314
345
|
// 'Wrongful Death': '',
|
|
315
346
|
// 'Wrongful Termination': '',
|
|
316
347
|
// 'Not Sure or Other': ''
|
|
348
|
+
// 'Sexual Harassment': '',
|
|
349
|
+
// 'Workplace Harassment': '',
|
|
350
|
+
// 'Non-Workplace Harassment': '',
|
|
351
|
+
// 'Workplace Discrimination': '',
|
|
352
|
+
// 'Non-Workplace Discrimination': '',
|
|
317
353
|
};
|
|
318
354
|
|
|
319
355
|
const TOLPFinalSubHeadlines = {
|
|
@@ -366,6 +402,11 @@ const TOLPFinalSubHeadlines = {
|
|
|
366
402
|
// 'Wrongful Death': '',
|
|
367
403
|
// 'Wrongful Termination': '',
|
|
368
404
|
// 'Not Sure or Other': ''
|
|
405
|
+
// 'Sexual Harassment': '',
|
|
406
|
+
// 'Workplace Harassment': '',
|
|
407
|
+
// 'Non-Workplace Harassment': '',
|
|
408
|
+
// 'Workplace Discrimination': '',
|
|
409
|
+
// 'Non-Workplace Discrimination': '',
|
|
369
410
|
};
|
|
370
411
|
|
|
371
412
|
|
|
@@ -377,6 +418,8 @@ const trustedFormTOLPs = {
|
|
|
377
418
|
// 'Birth Certificate and Name Change': '',
|
|
378
419
|
// 'Business Lawyers': '',
|
|
379
420
|
'Child Custody and Support': true,
|
|
421
|
+
'Child Custody': true,
|
|
422
|
+
'Child Support': true,
|
|
380
423
|
// 'Civil Rights and Discrimination': '',
|
|
381
424
|
// 'Civil Lawsuit': '',
|
|
382
425
|
// 'Consumer Lawyers': '',
|
|
@@ -454,11 +497,11 @@ const radio = (updates) => {
|
|
|
454
497
|
}, updates)
|
|
455
498
|
};
|
|
456
499
|
|
|
457
|
-
const
|
|
458
|
-
updates.legendClass = '
|
|
459
|
-
updates.fieldsetClass = '$reset
|
|
460
|
-
updates.optionsClass = '
|
|
461
|
-
updates.innerClass = 't-
|
|
500
|
+
const col2Radio = (updates) => {
|
|
501
|
+
updates.legendClass = 'required';
|
|
502
|
+
updates.fieldsetClass = '$reset';
|
|
503
|
+
updates.optionsClass = 't-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2';
|
|
504
|
+
updates.innerClass = 't-items-start';
|
|
462
505
|
updates.wrapperClass = '$reset t-flex t-cursor-pointer t-mb-3';
|
|
463
506
|
return radio(updates)
|
|
464
507
|
};
|
|
@@ -523,6 +566,7 @@ const textArea = (updates) => {
|
|
|
523
566
|
validationMessages: {
|
|
524
567
|
required: 'Field is required'
|
|
525
568
|
},
|
|
569
|
+
innerClass: 't-max-w-xl',
|
|
526
570
|
labelClass: 'required'
|
|
527
571
|
}, updates)
|
|
528
572
|
};
|
|
@@ -536,13 +580,14 @@ const bankruptcyCrossSell = () => sbsCheckbox({
|
|
|
536
580
|
helpClass: "!t-text-sm"
|
|
537
581
|
});
|
|
538
582
|
|
|
539
|
-
const childAndFamilyTOLP = () =>
|
|
583
|
+
const childAndFamilyTOLP = () => col2Radio({
|
|
540
584
|
label: 'Type of Help Needed:',
|
|
541
585
|
name: 'Type_Of_Legal_Problem',
|
|
542
586
|
id: 'Type_Of_Legal_Problem',
|
|
543
587
|
options: [
|
|
588
|
+
'Child Custody',
|
|
589
|
+
'Child Support',
|
|
544
590
|
'Adoption',
|
|
545
|
-
'Child Custody and Support',
|
|
546
591
|
'Family Issues',
|
|
547
592
|
'Guardianship',
|
|
548
593
|
'Divorce and Separation',
|
|
@@ -632,7 +677,7 @@ const firstName = () => sbsText({
|
|
|
632
677
|
|
|
633
678
|
const haveAttorney = () => sbsYesNoRadio({
|
|
634
679
|
name: 'Have_Attorney',
|
|
635
|
-
label: '
|
|
680
|
+
label: 'Already Working with An Attorney?'
|
|
636
681
|
});
|
|
637
682
|
|
|
638
683
|
const haveChildren = () => sbsYesNoRadio({
|
|
@@ -739,7 +784,6 @@ const group = (name, updates) => {
|
|
|
739
784
|
}, updates)
|
|
740
785
|
};
|
|
741
786
|
|
|
742
|
-
|
|
743
787
|
const AdoptionQuestions = () => group(
|
|
744
788
|
'AdoptionQuestions',
|
|
745
789
|
{
|
|
@@ -769,6 +813,36 @@ const ChildCustodyAndSupportQuestions = () => group(
|
|
|
769
813
|
}
|
|
770
814
|
);
|
|
771
815
|
|
|
816
|
+
const ChildCustodyQuestions = () => group(
|
|
817
|
+
'ChildCustodyQuestions',
|
|
818
|
+
{
|
|
819
|
+
if: '$get(Type_Of_Legal_Problem).value == "Child Custody"',
|
|
820
|
+
children: [
|
|
821
|
+
haveAttorney(),
|
|
822
|
+
childRelationship(),
|
|
823
|
+
childHome(),
|
|
824
|
+
childPrimaryCaregiver(),
|
|
825
|
+
degreeOfInterest(),
|
|
826
|
+
lawyerPaymentMethod()
|
|
827
|
+
]
|
|
828
|
+
}
|
|
829
|
+
);
|
|
830
|
+
|
|
831
|
+
const ChildSupportQuestions = () => group(
|
|
832
|
+
'ChildSupportQuestions',
|
|
833
|
+
{
|
|
834
|
+
if: '$get(Type_Of_Legal_Problem).value == "Child Support"',
|
|
835
|
+
children: [
|
|
836
|
+
haveAttorney(),
|
|
837
|
+
childRelationship(),
|
|
838
|
+
childHome(),
|
|
839
|
+
childPrimaryCaregiver(),
|
|
840
|
+
degreeOfInterest(),
|
|
841
|
+
lawyerPaymentMethod()
|
|
842
|
+
]
|
|
843
|
+
}
|
|
844
|
+
);
|
|
845
|
+
|
|
772
846
|
const DivorceQuestions = () => group(
|
|
773
847
|
'DivorceQuestions',
|
|
774
848
|
{
|
|
@@ -857,6 +931,80 @@ const stepDefaults = (step) => ({
|
|
|
857
931
|
}
|
|
858
932
|
});
|
|
859
933
|
|
|
934
|
+
function questionsStepHeadline(updates) {
|
|
935
|
+
return {
|
|
936
|
+
$el: 'h3',
|
|
937
|
+
children: updates.headline || 'Tell Us About Your Case',
|
|
938
|
+
attrs: {
|
|
939
|
+
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'
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
function commentsStepHeadline(updates) {
|
|
945
|
+
return {
|
|
946
|
+
$el: 'h3',
|
|
947
|
+
children: updates.headline || 'Additional Case Details',
|
|
948
|
+
attrs: {
|
|
949
|
+
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'
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
function firstAndLastStepHeadline(updates) {
|
|
955
|
+
return {
|
|
956
|
+
$el: 'h3',
|
|
957
|
+
children: updates.headline || 'Please Provide a Contact Name',
|
|
958
|
+
attrs: {
|
|
959
|
+
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'
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
function contactStepHeadline(updates) {
|
|
965
|
+
return {
|
|
966
|
+
$el: 'h3',
|
|
967
|
+
children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
|
|
968
|
+
attrs: {
|
|
969
|
+
class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-3'
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
function contactStepSubHeadline(updates) {
|
|
975
|
+
return {
|
|
976
|
+
$el: 'h5',
|
|
977
|
+
children: updates.subheadline || DEFAULT_FINAL_SUBHEADLINE_DYNAMIC,
|
|
978
|
+
attrs: {
|
|
979
|
+
class: 't-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3'
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
const TRUSTED_FORM_JS = `(function() {
|
|
985
|
+
if (window.xxTrustedFormLoaded) {
|
|
986
|
+
return
|
|
987
|
+
}
|
|
988
|
+
var vid = '';
|
|
989
|
+
if (typeof window.zar !== 'undefined') {
|
|
990
|
+
vid = window.zar.getVID();
|
|
991
|
+
}
|
|
992
|
+
window.xxTrustedFormLoaded = true;
|
|
993
|
+
var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'
|
|
994
|
+
var tf = document.createElement('script');
|
|
995
|
+
tf.type = 'text/javascript'; tf.async = true;
|
|
996
|
+
tf.src = ("https:" == document.location.protocol ? 'https' : 'http') + "://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=" + vid + "&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=" + sandbox + "&l=" + new Date().getTime() + Math.random();
|
|
997
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);
|
|
998
|
+
})();`;
|
|
999
|
+
|
|
1000
|
+
function trustedFormScript() {
|
|
1001
|
+
return {
|
|
1002
|
+
$el: 'script',
|
|
1003
|
+
if: '$activeStep === $lastStep() && $getKey($meta, "trustedFormTOLPs." + $get(Type_Of_Legal_Problem).value, false) == true',
|
|
1004
|
+
children: TRUSTED_FORM_JS
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
|
|
860
1008
|
function step(name, inputs, nextOnEnter = true) {
|
|
861
1009
|
if (typeof nextOnEnter === 'undefined') {
|
|
862
1010
|
nextOnEnter = true;
|
|
@@ -892,74 +1040,28 @@ function childAndFamilyTOLPAndZip(updates = {}) {
|
|
|
892
1040
|
)
|
|
893
1041
|
}
|
|
894
1042
|
|
|
895
|
-
const DEFAULT_COMMENTS_PLACEHOLDER = 'For Example: "I\'ve been involved in an auto accident" or "I need Power of Attorney"';
|
|
896
|
-
const DEFAULT_COMMENTS_PLACEHOLDER_V2 = '$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
|
|
897
|
-
const DEFAULT_COMMENTS_LABEL = 'Please briefly describe your legal issue in a few words:';
|
|
898
|
-
|
|
899
1043
|
function commentsWithBankruptcyV2(updates = {}) {
|
|
900
1044
|
return step(
|
|
901
1045
|
'commentsWithBankruptcy',
|
|
902
1046
|
[
|
|
903
|
-
|
|
904
|
-
$el: 'h3',
|
|
905
|
-
children: 'Additional Case Details',
|
|
906
|
-
attrs: {
|
|
907
|
-
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'
|
|
908
|
-
}
|
|
909
|
-
},
|
|
1047
|
+
commentsStepHeadline(updates),
|
|
910
1048
|
comments({
|
|
911
1049
|
label: updates.label || DEFAULT_COMMENTS_LABEL,
|
|
912
|
-
placeholder: updates.placeholder ||
|
|
1050
|
+
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC
|
|
913
1051
|
}),
|
|
914
1052
|
bankruptcyCrossSell()
|
|
915
1053
|
],
|
|
916
1054
|
updates.nextOnEnter
|
|
917
1055
|
)
|
|
918
1056
|
}
|
|
919
|
-
const DEFAULT_FINAL_HEADLINE_V2 = 'Submit Your Case';
|
|
920
|
-
const DEFAULT_FINAL_HEADLINE_V2_b = '$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
|
|
921
|
-
const DEFAULT_FINAL_SUBHEADLINE_V2 = 'You may benefit from speaking with a legal professional. Please verify your contact information.';
|
|
922
|
-
const DEFAULT_FINAL_SUBHEADLINE_V2_b = '$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
|
|
923
|
-
|
|
924
|
-
const TRUSTED_FORM_JS = `(function() {
|
|
925
|
-
if (window.xxTrustedFormLoaded) {
|
|
926
|
-
return
|
|
927
|
-
}
|
|
928
|
-
var vid = '';
|
|
929
|
-
if (typeof window.zar !== 'undefined') {
|
|
930
|
-
vid = window.zar.getVID();
|
|
931
|
-
}
|
|
932
|
-
window.xxTrustedFormLoaded = true;
|
|
933
|
-
var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'
|
|
934
|
-
var tf = document.createElement('script');
|
|
935
|
-
tf.type = 'text/javascript'; tf.async = true;
|
|
936
|
-
tf.src = ("https:" == document.location.protocol ? 'https' : 'http') + "://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=" + vid + "&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=" + sandbox + "&l=" + new Date().getTime() + Math.random();
|
|
937
|
-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);
|
|
938
|
-
})();`;
|
|
939
1057
|
|
|
940
1058
|
function contactInfoTF(updates = {}) {
|
|
941
1059
|
return step(
|
|
942
1060
|
'contactInfo',
|
|
943
1061
|
[
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
attrs: {
|
|
948
|
-
class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-3'
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
$el: 'h5',
|
|
953
|
-
children: updates.subheadline || DEFAULT_FINAL_SUBHEADLINE_V2_b,
|
|
954
|
-
attrs: {
|
|
955
|
-
class: 't-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3'
|
|
956
|
-
}
|
|
957
|
-
},
|
|
958
|
-
{
|
|
959
|
-
$el: 'script',
|
|
960
|
-
if: '$activeStep === $lastStep() && $getKey($meta, "trustedFormTOLPs." + $get(Type_Of_Legal_Problem).value, false) == true',
|
|
961
|
-
children: TRUSTED_FORM_JS
|
|
962
|
-
},
|
|
1062
|
+
contactStepHeadline(updates),
|
|
1063
|
+
contactStepSubHeadline(updates),
|
|
1064
|
+
trustedFormScript(),
|
|
963
1065
|
email(),
|
|
964
1066
|
phone(),
|
|
965
1067
|
TCPAConsent(),
|
|
@@ -973,13 +1075,7 @@ function firstAndLastV2(updates = {}) {
|
|
|
973
1075
|
return step(
|
|
974
1076
|
'firstAndLast',
|
|
975
1077
|
[
|
|
976
|
-
|
|
977
|
-
$el: 'h3',
|
|
978
|
-
children: 'Please Provide a Contact Name',
|
|
979
|
-
attrs: {
|
|
980
|
-
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'
|
|
981
|
-
}
|
|
982
|
-
},
|
|
1078
|
+
firstAndLastStepHeadline(updates),
|
|
983
1079
|
firstName(),
|
|
984
1080
|
lastName()
|
|
985
1081
|
],
|
|
@@ -991,15 +1087,11 @@ function childAndFamilyTOLPQuestions(updates = {}) {
|
|
|
991
1087
|
return step(
|
|
992
1088
|
'TOLPQuestions',
|
|
993
1089
|
[
|
|
994
|
-
|
|
995
|
-
$el: 'h3',
|
|
996
|
-
children: 'Please Complete the Following:',
|
|
997
|
-
attrs: {
|
|
998
|
-
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'
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1090
|
+
questionsStepHeadline(updates),
|
|
1001
1091
|
AdoptionQuestions(),
|
|
1002
1092
|
ChildCustodyAndSupportQuestions(),
|
|
1093
|
+
ChildCustodyQuestions(),
|
|
1094
|
+
ChildSupportQuestions(),
|
|
1003
1095
|
FamilyIssuesQuestions(),
|
|
1004
1096
|
GuardianshipQuestions(),
|
|
1005
1097
|
DivorceQuestions(),
|
|
@@ -1097,24 +1189,14 @@ const formDetails = () => ({
|
|
|
1097
1189
|
});
|
|
1098
1190
|
|
|
1099
1191
|
const schema = [
|
|
1100
|
-
|
|
1101
|
-
defaultCommentsPlaceholder: DEFAULT_COMMENTS_PLACEHOLDER,
|
|
1102
|
-
commentsPlaceholders: TOLPCommentsPlaceholders,
|
|
1103
|
-
defaultFinalHeadline: DEFAULT_FINAL_HEADLINE_V2,
|
|
1104
|
-
finalHeadlines: TOLPFinalHeadlines,
|
|
1105
|
-
defaultFinalSubHeadline: DEFAULT_FINAL_SUBHEADLINE_V2,
|
|
1106
|
-
finalSubHeadlines: TOLPFinalSubHeadlines,
|
|
1107
|
-
trustedFormTOLPs: trustedFormTOLPs
|
|
1108
|
-
}),
|
|
1192
|
+
defaultMetaProps(),
|
|
1109
1193
|
formAnchor(),
|
|
1110
1194
|
{
|
|
1111
1195
|
$cmp: 'FormKit',
|
|
1112
1196
|
props: formProps({
|
|
1113
1197
|
formId: 'childAndFamily',
|
|
1114
|
-
onSubmit: '$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',
|
|
1115
1198
|
redirectMap: legalRedirectMap(),
|
|
1116
1199
|
popUnder: '/thank-you',
|
|
1117
|
-
anchorElement: 'form-anchor'
|
|
1118
1200
|
}),
|
|
1119
1201
|
children: [
|
|
1120
1202
|
headline({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var childAndFamily=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e){return"https://justanswer.9pctbx.net/c/2880795/"+e+"/9320?sharedid=${properties.vid}&subid1=${properties.Domain_Abbrev}"}const a={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit("https://httpbin.org/post", $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const i={tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937."};const r={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const n={$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 o={$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10"}};const l={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function s(t){return e(l,t)}const d={"properties.Type_Of_Legal_Problem":{Adoption:t("565949"),Bankruptcy:t("1147978"),"Child Custody and Support":t("565949"),"Civil Lawsuit":t("897042"),"Consumer Lawyers":t("897042"),"Criminal and Felony":t("897012"),"Debt and Collections":t("1147978"),"Divorce and Separation":t("966410"),"DUI and DWI":t("897012"),"Elder Law":t("565949"),"Employment and Workplace":t("897014"),Expungement:t("897012"),Foreclosure:t("565923"),Guardianship:t("565949"),"Landlord and Tenant":t("1315025"),"Power of Attorney":t("1097602"),"Probate and Estates":t("1097602"),"Product Liability":t("897042"),"Property Damage":t("897042"),"Real Estate":t("565923"),"Social Security Disability and Insurance":t("897033"),"Tax and IRS":t("1147978"),"Traffic and Tickets":t("808601"),Unemployment:t("897014"),"Victim of a Crime":t("897012"),"Wills and Trusts":t("1097602"),"Workers Compensation":t("897014"),"Wrongful Termination":t("897014")},"*":t("808601")};const m=t=>(t.legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",(t=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t))(t)),p=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),c=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",p(e)))(e)),u=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)),f=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),h=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Adoption","Child Custody and Support","Family Issues","Guardianship","Divorce and Separation","Not Sure or Other"]}).legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",p(e);var e},y=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),g=e=>u({label:"How Likely Are You to Pay if Your Issue Could be Resolved?",id:"Degree_Of_Interest",name:"Degree_Of_Interest",help:e,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),b=()=>c({name:"Have_Attorney",label:"Are You Already Working with An Attorney?"}),v=()=>c({name:"Have_Children",label:"Do You Have Children?"}),x=()=>u({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"]}),w=()=>u({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),$=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),k=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,I=e=>{if(k(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(k(a))return a;const i=I(a);if(i)return i}return null};function C(t,a,i=!0){if(void 0===i&&(i=!0),a&&a.length&&i){I(a[a.length-1]).onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}return e((e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}}))(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}var P;return[(P={defaultCommentsPlaceholder:'For Example: "I\'ve been involved in an auto accident" or "I need Power of Attorney"',commentsPlaceholders:{Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Nursing Home Abuse":'Example: "My mother\'s nursing home is physically abusing her"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Vaccination Injury":'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',"Veteran's Disability":'Example: "I would like help filing for disability benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},defaultFinalHeadline:"Submit Your Case",finalHeadlines:{},defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:{Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Veteran's Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."},trustedFormTOLPs:{Adoption:!0,"Child Custody and Support":!0,"Divorce and Separation":!0,"Family Issues":!0,Guardianship:!0,"Not Sure or Other":!0}},{type:"meta",data:e(i,P)}),function(t){return e(r,t)}(),{$cmp:"FormKit",props:function(t){return e(a,t)}({formId:"childAndFamily",onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',redirectMap:function(t){return e(d,t)}(),popUnder:"/thank-you",anchorElement:"form-anchor"}),children:[function(t){return e(n,t)}({children:'$urlParam("hl", "Get Child & Family Help Today")',if:"$activeStep === $firstStep()"}),function(t){return e(o,t)}({children:'$urlParam("shl", "Contact Us for Child Support, Custody and Family Issues")',if:"$activeStep === $firstStep()"}),{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null},{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return C("childAndFamilyTOLPAndZip",[h(),f({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter)}(),function(e={}){return C("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",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[b(),w(),v(),g(),x()]}),$("ChildCustodyAndSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[b(),u({label:"Your Relationship to Child(ren):",name:"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),u({label:"With Whom Do the Children Currently Live?",name:"Child_Home",options:["Mother","Father","Grandparents","Other"]}),u({label:"Who is the Primary Caregiver?",name:"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),g(),x()]}),$("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[b(),w(),v(),g(),x()]}),$("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[b(),w(),v(),g(),x()]}),$("DivorceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[b(),w(),v(),g(),x()]}),$("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[b(),g("No payment necessary to speak with lawyers.")]})],e.nextOnEnter)}(),function(e={}){return C("commentsWithBankruptcy",[{$el:"h3",children:"Additional Case Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3"}},y({label:e.label||"Please briefly describe your legal issue in a few words:",placeholder:e.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)'}),m({label:"I'd also like a separate consultation for bankruptcy and debt elimination",help:"Please note: you will be contacted separately by a bankruptcy expert",name:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"})],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return C("firstAndLast",[{$el:"h3",children:"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3"}},f({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),f({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return C("contactInfo",[{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-3"}},{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3"}},{$el:"script",if:'$activeStep === $lastStep() && $getKey($meta, "trustedFormTOLPs." + $get(Type_Of_Legal_Problem).value, false) == true',children:"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},f({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),f({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},s()],e.nextOnEnter)}({nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($scrollAnchor($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]},{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}]}();
|
|
1
|
+
var childAndFamily=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e){return"https://justanswer.9pctbx.net/c/2880795/"+e+"/9320?sharedid=${properties.vid}&subid1=${properties.Domain_Abbrev}"}const a='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',i={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const r={tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937."};const n={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const o={$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3"}};const l={$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10"}};const s={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function d(t){return e(s,t)}const m={"properties.Type_Of_Legal_Problem":{Adoption:t("565949"),Bankruptcy:t("1147978"),"Child Custody and Support":t("565949"),"Child Custody":t("565949"),"Child Support":t("565949"),"Civil Lawsuit":t("897042"),"File a Lawsuit":t("897042"),"Defend a Lawsuit":t("897042"),"Consumer Lawyers":t("897042"),"Criminal and Felony":t("897012"),"Debt and Collections":t("1147978"),"Divorce and Separation":t("966410"),"DUI and DWI":t("897012"),"Elder Law":t("565949"),"Employment and Workplace":t("897014"),Expungement:t("897012"),Foreclosure:t("565923"),Guardianship:t("565949"),"Landlord and Tenant":t("1315025"),"Power of Attorney":t("1097602"),"Probate and Estates":t("1097602"),"Product Liability":t("897042"),"Property Damage":t("897042"),"Real Estate":t("565923"),"Social Security Disability and Insurance":t("897033"),"Tax and IRS":t("1147978"),"Traffic and Tickets":t("808601"),Unemployment:t("897014"),"Victim of a Crime":t("897012"),"Wills and Trusts":t("1097602"),"Workers Compensation":t("897014"),"Wrongful Termination":t("897014")},"*":t("808601")};const p=t=>(t.legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",(t=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t))(t)),u=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),c=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",u(e)))(e)),f=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)),h=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),y=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Child Custody","Child Support","Adoption","Family Issues","Guardianship","Divorce and Separation","Not Sure or Other"]}).legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",u(e);var e},g=()=>f({label:"With Whom Do the Children Currently Live?",name:"Child_Home",options:["Mother","Father","Grandparents","Other"]}),b=()=>f({label:"Who is the Primary Caregiver?",name:"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),x=()=>f({label:"Your Relationship to Child(ren):",name:"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),v=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),w=e=>f({label:"How Likely Are You to Pay if Your Issue Could be Resolved?",id:"Degree_Of_Interest",name:"Degree_Of_Interest",help:e,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),$=()=>c({name:"Have_Attorney",label:"Already Working with An Attorney?"}),k=()=>c({name:"Have_Children",label:"Do You Have Children?"}),C=()=>f({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"]}),I=()=>f({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),E=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),P=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,_=e=>{if(P(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(P(a))return a;const i=_(a);if(i)return i}return null};function S(e){return{$el:"h3",children:e.headline||"Tell Us About Your Case",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"}}}function L(e){return{$el:"h3",children:e.headline||"Additional Case Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3"}}}function T(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3"}}}function D(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-3"}}}function A(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3"}}}function F(t,a,i=!0){if(void 0===i&&(i=!0),a&&a.length&&i){_(a[a.length-1]).onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}return e((e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}}))(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const O=[{type:"meta",data:e(r,{defaultCommentsPlaceholder:a,commentsPlaceholders:{Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Nursing Home Abuse":'Example: "My mother\'s nursing home is physically abusing her"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Vaccination Injury":'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',"Veteran's Disability":'Example: "I would like help filing for disability benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},defaultFinalHeadline:"Submit Your Case",finalHeadlines:{},defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:{Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Veteran's Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."},trustedFormTOLPs:{Adoption:!0,"Child Custody and Support":!0,"Child Custody":!0,"Child Support":!0,"Divorce and Separation":!0,"Family Issues":!0,Guardianship:!0,"Not Sure or Other":!0}})},e(n,q),{$cmp:"FormKit",props:function(t){return e(i,t)}({formId:"childAndFamily",redirectMap:function(t){return e(m,t)}(),popUnder:"/thank-you"}),children:[function(t){return e(o,t)}({children:'$urlParam("hl", "Get Child & Family Help Today")',if:"$activeStep === $firstStep()"}),function(t){return e(l,t)}({children:'$urlParam("shl", "Contact Us for Child Support, Custody and Family Issues")',if:"$activeStep === $firstStep()"}),{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null},{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return F("childAndFamilyTOLPAndZip",[y(),h({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter)}(),function(e={}){return F("TOLPQuestions",[S(e),E("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[$(),I(),k(),w(),C()]}),E("ChildCustodyAndSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[$(),x(),g(),b(),w(),C()]}),E("ChildCustodyQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[$(),x(),g(),b(),w(),C()]}),E("ChildSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Support"',children:[$(),x(),g(),b(),w(),C()]}),E("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[$(),I(),k(),w(),C()]}),E("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[$(),I(),k(),w(),C()]}),E("DivorceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[$(),I(),k(),w(),C()]}),E("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[$(),w("No payment necessary to speak with lawyers.")]})],e.nextOnEnter)}(),function(e={}){return F("commentsWithBankruptcy",[L(e),v({label:e.label||"Please briefly describe your legal issue in a few words:",placeholder:e.placeholder||a}),p({label:"I'd also like a separate consultation for bankruptcy and debt elimination",help:"Please note: you will be contacted separately by a bankruptcy expert",name:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"})],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return F("firstAndLast",[T(e),h({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),h({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return F("contactInfo",[D(e),A(e),{$el:"script",if:'$activeStep === $lastStep() && $getKey($meta, "trustedFormTOLPs." + $get(Type_Of_Legal_Problem).value, false) == true',children:"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},h({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),h({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},d()],e.nextOnEnter)}({nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($scrollAnchor($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]},{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var q;return O}();
|