bhl-forms 0.6.14 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bhl-forms.es.js +1757 -1759
- package/dist/bhl-forms.iife.js +4 -4
- package/dist/bhl-forms.modern.es.js +2804 -2811
- package/dist/bhl-forms.modern.iife.js +6 -6
- package/dist/bhl-forms.modern.umd.js +6 -6
- package/dist/bhl-forms.umd.js +4 -4
- package/dist/forms/accidentsAndInjuries.es.js +278 -215
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/appraisals.es.js +16 -7
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +288 -226
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/business.json +1 -1
- package/dist/forms/childAndFamily.es.js +271 -214
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/childAndFamilySingle.es.js +614 -545
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +608 -541
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/coins.es.js +16 -7
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +275 -217
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +631 -562
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/divorce.es.js +614 -545
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/divorce.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +555 -496
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalHomeImprovement.es.js +3224 -0
- package/dist/forms/generalHomeImprovement.iife.js +1 -0
- package/dist/forms/generalHomeImprovement.json +1 -0
- package/dist/forms/generalLegal.es.js +274 -216
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +4534 -0
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -0
- package/dist/forms/generalLegalJustAnswer.json +1 -0
- package/dist/forms/generalLegalPopUnder.es.js +275 -217
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +645 -573
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +645 -573
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +137 -130
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +647 -575
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +271 -214
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/landlordTenant.es.js +287 -230
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/landlordTenant.json +1 -1
- package/dist/forms/malpractice.es.js +276 -217
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +171 -165
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/patentsAndIP.es.js +617 -548
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -1
- package/dist/forms/realEstate.es.js +272 -215
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +275 -217
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +139 -138
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +55 -52
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +28 -22
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/vets.es.js +16 -7
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +272 -213
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/package.json +3 -3
package/dist/forms/ssdi.es.js
CHANGED
|
@@ -6,14 +6,13 @@ function LegalRedirectUrl() {
|
|
|
6
6
|
return 'https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}'
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC = '$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
|
|
9
|
+
const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL = '$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
|
|
10
|
+
const DEFAULT_COMMENTS_LABEL_LEGAL = 'Please briefly describe your legal issue in a few words:';
|
|
11
|
+
const DEFAULT_FINAL_HEADLINE_LEGAL = 'Submit Your Case';
|
|
12
|
+
const DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL = '$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
|
|
13
|
+
const DEFAULT_FINAL_SUBHEADLINE_LEGAL = 'You may benefit from speaking with a legal professional. Please verify your contact information.';
|
|
14
|
+
const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL = '$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
|
|
15
|
+
const TCPA_LANGUAGE_LEGAL = "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.";
|
|
17
16
|
|
|
18
17
|
// ------ Common Base Settings
|
|
19
18
|
|
|
@@ -118,50 +117,6 @@ const textArea = (updates) => {
|
|
|
118
117
|
}, updates)
|
|
119
118
|
};
|
|
120
119
|
|
|
121
|
-
const applicantAgeCenter = (scope) => verticalText({
|
|
122
|
-
name: scope ? scope + ':' + 'Applicant_Age' : 'Applicant_Age',
|
|
123
|
-
value: "50",
|
|
124
|
-
placeholder: 'Age between 18 and 65',
|
|
125
|
-
maxlength: 2,
|
|
126
|
-
inputmode: "numeric",
|
|
127
|
-
validation: "required|min:18,max:65",
|
|
128
|
-
validationMessages: {
|
|
129
|
-
required: 'Applicant Age is required',
|
|
130
|
-
min: 'Invalid Age - must be between 18 and 65',
|
|
131
|
-
max: 'Invalid Age - must be between 18 and 65',
|
|
132
|
-
},
|
|
133
|
-
});
|
|
134
|
-
|
|
135
|
-
const bankruptcyCrossSell = () => sbsCheckbox({
|
|
136
|
-
label: "I'd also like a consult for bankruptcy or debt elimination (optional)",
|
|
137
|
-
help: "Note: you will be contacted separately by a bankruptcy/debt expert",
|
|
138
|
-
name: 'CrossSell_Bankruptcy',
|
|
139
|
-
id: 'CrossSell_Bankruptcy',
|
|
140
|
-
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")',
|
|
141
|
-
validation: null,
|
|
142
|
-
helpClass: "!t-text-sm"
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
const comments = (updates, scope) => textArea(
|
|
146
|
-
merge({
|
|
147
|
-
name: scope ? scope + ':' + 'Comments' : 'Comments',
|
|
148
|
-
label: 'Please briefly describe your situation in a few words:',
|
|
149
|
-
placeholder: 'For Example: "I would like help with child support payments" or "I need help with visitation rights"'
|
|
150
|
-
}, updates)
|
|
151
|
-
);
|
|
152
|
-
|
|
153
|
-
const disabilityConditionStopWorkCenter = (scope) => verticalYesNoRadio({
|
|
154
|
-
name: scope ? scope + ':' + 'Disability_Condition_Stop_Work' : 'Disability_Condition_Stop_Work',
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
const disabilityWorkHistoryCenter = (scope) => verticalYesNoRadio({
|
|
158
|
-
name: scope ? scope + ':' + 'Disability_Work_History' : 'Disability_Work_History',
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
const doctorTreatmentCenter = (scope) => verticalYesNoRadio({
|
|
162
|
-
name: scope ? scope + ':' + 'Doctor_Treatment' : 'Doctor_Treatment',
|
|
163
|
-
});
|
|
164
|
-
|
|
165
120
|
const email = (scope) => sbsText({
|
|
166
121
|
$formkit: 'email',
|
|
167
122
|
name: scope ? scope + ':' + 'Email' : 'Email',
|
|
@@ -177,7 +132,6 @@ const email = (scope) => sbsText({
|
|
|
177
132
|
});
|
|
178
133
|
|
|
179
134
|
const firstName = (scope) => sbsText({
|
|
180
|
-
$formkit: 'text',
|
|
181
135
|
label: 'First Name:',
|
|
182
136
|
placeholder: 'First',
|
|
183
137
|
name: scope ? scope + ':' + 'First_Name' : 'First_Name',
|
|
@@ -187,12 +141,7 @@ const firstName = (scope) => sbsText({
|
|
|
187
141
|
}
|
|
188
142
|
});
|
|
189
143
|
|
|
190
|
-
const haveAttorneyCenter = (scope) => verticalYesNoRadio({
|
|
191
|
-
name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
|
|
192
|
-
});
|
|
193
|
-
|
|
194
144
|
const lastName = (scope) => sbsText({
|
|
195
|
-
$formkit: 'text',
|
|
196
145
|
label: 'Last Name:',
|
|
197
146
|
placeholder: 'Last',
|
|
198
147
|
name: scope ? scope + ':' + 'Last_Name' : 'Last_Name',
|
|
@@ -220,6 +169,72 @@ const phone = (scope) => sbsText({
|
|
|
220
169
|
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]"
|
|
221
170
|
});
|
|
222
171
|
|
|
172
|
+
const zipcodeCenter = (updates = {}, scope) => text({
|
|
173
|
+
placeholder: '#####',
|
|
174
|
+
help: updates.help ?? "We try to match you with local help",
|
|
175
|
+
name: scope ? scope + ':' + 'Zip' : 'Zip',
|
|
176
|
+
maxlength: 5,
|
|
177
|
+
inputmode: "numeric",
|
|
178
|
+
autocomplete: 'postal-code',
|
|
179
|
+
validation: 'required|matches:/^[0-9]{5}$/',
|
|
180
|
+
validationMessages: {
|
|
181
|
+
required: 'Zip Code is required',
|
|
182
|
+
matches: 'Invalid Zip Code'
|
|
183
|
+
},
|
|
184
|
+
wrapperClass: 't-flex t-justify-center',
|
|
185
|
+
messagesClass: 't-flex t-justify-center',
|
|
186
|
+
inputClass: 't-text-center',
|
|
187
|
+
helpClass: 't-mt-2.5 !t-text-sm t-text-center'
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
const applicantAgeCenter = (scope) => verticalText({
|
|
191
|
+
name: scope ? scope + ':' + 'Applicant_Age' : 'Applicant_Age',
|
|
192
|
+
value: "50",
|
|
193
|
+
placeholder: 'Age between 18 and 65',
|
|
194
|
+
maxlength: 2,
|
|
195
|
+
inputmode: "numeric",
|
|
196
|
+
validation: "required|min:18,max:65",
|
|
197
|
+
validationMessages: {
|
|
198
|
+
required: 'Applicant Age is required',
|
|
199
|
+
min: 'Invalid Age - must be between 18 and 65',
|
|
200
|
+
max: 'Invalid Age - must be between 18 and 65',
|
|
201
|
+
},
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
const bankruptcyCrossSell = () => sbsCheckbox({
|
|
205
|
+
label: "I'd also like a consult for bankruptcy or debt elimination (optional)",
|
|
206
|
+
help: "Note: you will be contacted separately by a bankruptcy/debt expert",
|
|
207
|
+
name: 'CrossSell_Bankruptcy',
|
|
208
|
+
id: 'CrossSell_Bankruptcy',
|
|
209
|
+
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")',
|
|
210
|
+
validation: null,
|
|
211
|
+
helpClass: "!t-text-sm"
|
|
212
|
+
});
|
|
213
|
+
|
|
214
|
+
const comments = (updates, scope) => textArea(
|
|
215
|
+
merge({
|
|
216
|
+
name: scope ? scope + ':' + 'Comments' : 'Comments',
|
|
217
|
+
label: 'Please briefly describe your situation in a few words:',
|
|
218
|
+
placeholder: 'For Example: "I would like help with child support payments" or "I need help with visitation rights"'
|
|
219
|
+
}, updates)
|
|
220
|
+
);
|
|
221
|
+
|
|
222
|
+
const disabilityConditionStopWorkCenter = (scope) => verticalYesNoRadio({
|
|
223
|
+
name: scope ? scope + ':' + 'Disability_Condition_Stop_Work' : 'Disability_Condition_Stop_Work',
|
|
224
|
+
});
|
|
225
|
+
|
|
226
|
+
const disabilityWorkHistoryCenter = (scope) => verticalYesNoRadio({
|
|
227
|
+
name: scope ? scope + ':' + 'Disability_Work_History' : 'Disability_Work_History',
|
|
228
|
+
});
|
|
229
|
+
|
|
230
|
+
const doctorTreatmentCenter = (scope) => verticalYesNoRadio({
|
|
231
|
+
name: scope ? scope + ':' + 'Doctor_Treatment' : 'Doctor_Treatment',
|
|
232
|
+
});
|
|
233
|
+
|
|
234
|
+
const haveAttorneyCenter = (scope) => verticalYesNoRadio({
|
|
235
|
+
name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
|
|
236
|
+
});
|
|
237
|
+
|
|
223
238
|
const socialSecurityDisabilityReceivingBenefitsCenter = (scope) => verticalYesNoRadio({
|
|
224
239
|
name: scope ? scope + ':' + 'Social_Security_Disability_Receiving_Benefits' : 'Social_Security_Disability_Receiving_Benefits',
|
|
225
240
|
});
|
|
@@ -239,24 +254,6 @@ const TCPAConsent = (scope) => ({
|
|
|
239
254
|
}
|
|
240
255
|
});
|
|
241
256
|
|
|
242
|
-
const zipcodeCenter = (updates = {}, scope) => text({
|
|
243
|
-
placeholder: '#####',
|
|
244
|
-
help: updates.help ?? "We try to match you with local legal help",
|
|
245
|
-
name: scope ? scope + ':' + 'Zip' : 'Zip',
|
|
246
|
-
maxlength: 5,
|
|
247
|
-
inputmode: "numeric",
|
|
248
|
-
autocomplete: 'postal-code',
|
|
249
|
-
validation: 'required|matches:/^[0-9]{5}$/',
|
|
250
|
-
validationMessages: {
|
|
251
|
-
required: 'Zip Code is required',
|
|
252
|
-
matches: 'Invalid Zip Code'
|
|
253
|
-
},
|
|
254
|
-
wrapperClass: 't-flex t-justify-center',
|
|
255
|
-
messagesClass: 't-flex t-justify-center',
|
|
256
|
-
inputClass: 't-text-center',
|
|
257
|
-
helpClass: 't-mt-2.5 !t-text-sm t-text-center'
|
|
258
|
-
});
|
|
259
|
-
|
|
260
257
|
const NEXT_ON_ENTER = '$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))';
|
|
261
258
|
const NEXT_ON_INPUT = '$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))';
|
|
262
259
|
|
|
@@ -332,13 +329,20 @@ function verticalStepHeadline(updates) {
|
|
|
332
329
|
function commentsStepHeadline(updates) {
|
|
333
330
|
return {
|
|
334
331
|
$el: 'h3',
|
|
335
|
-
children: updates.headline || 'Additional
|
|
332
|
+
children: updates.headline || 'Additional Details',
|
|
336
333
|
attrs: {
|
|
337
334
|
class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1' + ' ' + (updates.headlineClass || '')
|
|
338
335
|
}
|
|
339
336
|
}
|
|
340
337
|
}
|
|
341
338
|
|
|
339
|
+
function commentsStepHeadlineLegal(updates) {
|
|
340
|
+
return commentsStepHeadline({
|
|
341
|
+
headline: updates.headline || 'Additional Case Details',
|
|
342
|
+
headlineClass: updates.headlineClass
|
|
343
|
+
})
|
|
344
|
+
}
|
|
345
|
+
|
|
342
346
|
function firstAndLastStepHeadline(updates) {
|
|
343
347
|
return {
|
|
344
348
|
$el: 'h3',
|
|
@@ -352,7 +356,7 @@ function firstAndLastStepHeadline(updates) {
|
|
|
352
356
|
function contactStepHeadline(updates) {
|
|
353
357
|
return {
|
|
354
358
|
$el: 'h3',
|
|
355
|
-
children: updates.headline ||
|
|
359
|
+
children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
|
|
356
360
|
attrs: {
|
|
357
361
|
class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1' + ' ' + (updates.headlineClass || '')
|
|
358
362
|
}
|
|
@@ -362,7 +366,7 @@ function contactStepHeadline(updates) {
|
|
|
362
366
|
function contactStepSubHeadline(updates) {
|
|
363
367
|
return {
|
|
364
368
|
$el: 'h5',
|
|
365
|
-
children: updates.subheadline ||
|
|
369
|
+
children: updates.subheadline || DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL,
|
|
366
370
|
attrs: {
|
|
367
371
|
class: 't-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3' + ' ' + (updates.subheadlineClass || '')
|
|
368
372
|
}
|
|
@@ -402,10 +406,16 @@ const stepDefaults = (step, stepKey) => ({
|
|
|
402
406
|
}
|
|
403
407
|
});
|
|
404
408
|
|
|
405
|
-
function step(name, inputs,
|
|
406
|
-
|
|
407
|
-
nextOnEnter = true
|
|
408
|
-
|
|
409
|
+
function step(name, inputs, updates = {}) {
|
|
410
|
+
const {
|
|
411
|
+
nextOnEnter = true,
|
|
412
|
+
nextOnInput = false,
|
|
413
|
+
stepKey = undefined,
|
|
414
|
+
nextStepMap = undefined,
|
|
415
|
+
triggerRedirectMap = undefined,
|
|
416
|
+
autoFocus = undefined,
|
|
417
|
+
} = updates;
|
|
418
|
+
|
|
409
419
|
if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
|
|
410
420
|
const lastInput = findLastInput(inputs[inputs.length - 1]);
|
|
411
421
|
if (lastInput && nextOnEnter === true) {
|
|
@@ -425,6 +435,7 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false, stepKey = u
|
|
|
425
435
|
id: name,
|
|
426
436
|
name: name,
|
|
427
437
|
nextStepMap: nextStepMap,
|
|
438
|
+
triggerRedirectMap: triggerRedirectMap,
|
|
428
439
|
autoFocus: autoFocus,
|
|
429
440
|
children: inputs
|
|
430
441
|
}
|
|
@@ -433,34 +444,6 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false, stepKey = u
|
|
|
433
444
|
)
|
|
434
445
|
}
|
|
435
446
|
|
|
436
|
-
function commentsWithBankruptcy(updates = {}) {
|
|
437
|
-
return step(
|
|
438
|
-
'commentsWithBankruptcy',
|
|
439
|
-
[
|
|
440
|
-
commentsStepHeadline(updates),
|
|
441
|
-
comments({
|
|
442
|
-
label: typeof updates.label === 'undefined' ? DEFAULT_COMMENTS_LABEL : updates.label,
|
|
443
|
-
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
|
|
444
|
-
inputClass: typeof updates.inputClass === 'undefined' ? '!t-h-32' : updates.inputClass,
|
|
445
|
-
}, updates.scope),
|
|
446
|
-
// TODO: needs scope support
|
|
447
|
-
bankruptcyCrossSell(),
|
|
448
|
-
{
|
|
449
|
-
$el: 'div',
|
|
450
|
-
if: '$get(CrossSell_Bankruptcy).value == true',
|
|
451
|
-
children: [
|
|
452
|
-
comments({
|
|
453
|
-
label: 'Bankruptcy or debt details:',
|
|
454
|
-
placeholder: 'Please describe your bankrtupcy or debt situation in a few words...',
|
|
455
|
-
inputClass: '!t-h-16'
|
|
456
|
-
}, 'CrossSell:Bankruptcy')
|
|
457
|
-
],
|
|
458
|
-
}
|
|
459
|
-
],
|
|
460
|
-
false // nextOnEnter
|
|
461
|
-
)
|
|
462
|
-
}
|
|
463
|
-
|
|
464
447
|
function contactInfo(updates = {}) {
|
|
465
448
|
return step(
|
|
466
449
|
'contactInfo',
|
|
@@ -473,7 +456,7 @@ function contactInfo(updates = {}) {
|
|
|
473
456
|
TCPAConsent(updates.scope),
|
|
474
457
|
secureIcon()
|
|
475
458
|
],
|
|
476
|
-
false
|
|
459
|
+
{ nextOnEnter: false }
|
|
477
460
|
)
|
|
478
461
|
}
|
|
479
462
|
|
|
@@ -485,7 +468,35 @@ function firstAndLastV2(updates = {}) {
|
|
|
485
468
|
firstName(),
|
|
486
469
|
lastName()
|
|
487
470
|
],
|
|
488
|
-
updates
|
|
471
|
+
updates
|
|
472
|
+
)
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
function commentsWithBankruptcy(updates = {}) {
|
|
476
|
+
return step(
|
|
477
|
+
'commentsWithBankruptcy',
|
|
478
|
+
[
|
|
479
|
+
commentsStepHeadlineLegal(updates),
|
|
480
|
+
comments({
|
|
481
|
+
label: typeof updates.label === 'undefined' ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
|
|
482
|
+
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
|
|
483
|
+
inputClass: typeof updates.inputClass === 'undefined' ? '!t-h-32' : updates.inputClass,
|
|
484
|
+
}, updates.scope),
|
|
485
|
+
// TODO: needs scope support
|
|
486
|
+
bankruptcyCrossSell(),
|
|
487
|
+
{
|
|
488
|
+
$el: 'div',
|
|
489
|
+
if: '$get(CrossSell_Bankruptcy).value == true',
|
|
490
|
+
children: [
|
|
491
|
+
comments({
|
|
492
|
+
label: 'Bankruptcy or debt details:',
|
|
493
|
+
placeholder: 'Please describe your bankrtupcy or debt situation in a few words...',
|
|
494
|
+
inputClass: '!t-h-16'
|
|
495
|
+
}, 'CrossSell:Bankruptcy')
|
|
496
|
+
],
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
{ nextOnEnter: false }
|
|
489
500
|
)
|
|
490
501
|
}
|
|
491
502
|
|
|
@@ -501,10 +512,7 @@ function ssdiTOLPAndZip(updates = {}) {
|
|
|
501
512
|
},
|
|
502
513
|
zipcodeCenter()
|
|
503
514
|
],
|
|
504
|
-
updates
|
|
505
|
-
updates.nextOnInput,
|
|
506
|
-
updates.stepKey,
|
|
507
|
-
updates.nextStepMap
|
|
515
|
+
updates
|
|
508
516
|
)
|
|
509
517
|
}
|
|
510
518
|
|
|
@@ -515,8 +523,7 @@ function ssdiApplicantAge(updates = {}) {
|
|
|
515
523
|
verticalStepHeadline(updates),
|
|
516
524
|
applicantAgeCenter(),
|
|
517
525
|
],
|
|
518
|
-
updates
|
|
519
|
-
updates.nextOnInput
|
|
526
|
+
updates
|
|
520
527
|
)
|
|
521
528
|
}
|
|
522
529
|
|
|
@@ -527,8 +534,7 @@ function ssdiDisabilityConditionStopWork(updates = {}) {
|
|
|
527
534
|
verticalStepHeadline(updates),
|
|
528
535
|
disabilityConditionStopWorkCenter(),
|
|
529
536
|
],
|
|
530
|
-
updates
|
|
531
|
-
updates.nextOnInput
|
|
537
|
+
updates
|
|
532
538
|
)
|
|
533
539
|
}
|
|
534
540
|
|
|
@@ -539,8 +545,7 @@ function ssdiDisabilityWorkHistory(updates = {}) {
|
|
|
539
545
|
verticalStepHeadline(updates),
|
|
540
546
|
disabilityWorkHistoryCenter(),
|
|
541
547
|
],
|
|
542
|
-
updates
|
|
543
|
-
updates.nextOnInput
|
|
548
|
+
updates
|
|
544
549
|
)
|
|
545
550
|
}
|
|
546
551
|
|
|
@@ -551,8 +556,7 @@ function ssdiSocialSecurityDisabilityReceivingBenefits(updates = {}) {
|
|
|
551
556
|
verticalStepHeadline(updates),
|
|
552
557
|
socialSecurityDisabilityReceivingBenefitsCenter(),
|
|
553
558
|
],
|
|
554
|
-
updates
|
|
555
|
-
updates.nextOnInput
|
|
559
|
+
updates
|
|
556
560
|
)
|
|
557
561
|
}
|
|
558
562
|
|
|
@@ -563,8 +567,7 @@ function ssdiDoctorTreatment(updates = {}) {
|
|
|
563
567
|
verticalStepHeadline(updates),
|
|
564
568
|
doctorTreatmentCenter(),
|
|
565
569
|
],
|
|
566
|
-
updates
|
|
567
|
-
updates.nextOnInput
|
|
570
|
+
updates
|
|
568
571
|
)
|
|
569
572
|
}
|
|
570
573
|
|
|
@@ -576,8 +579,7 @@ function ssdiHaveAttorney(updates = {}) {
|
|
|
576
579
|
verticalStepHeadline(updates),
|
|
577
580
|
haveAttorneyCenter(),
|
|
578
581
|
],
|
|
579
|
-
updates
|
|
580
|
-
updates.nextOnInput
|
|
582
|
+
updates
|
|
581
583
|
)
|
|
582
584
|
}
|
|
583
585
|
|
|
@@ -720,9 +722,7 @@ function formProps(updates) {
|
|
|
720
722
|
return props
|
|
721
723
|
}
|
|
722
724
|
|
|
723
|
-
const metaDefaults = {
|
|
724
|
-
tcpaLanguage: TCPA_LANGUAGE
|
|
725
|
-
};
|
|
725
|
+
const metaDefaults = {};
|
|
726
726
|
|
|
727
727
|
function metaProps(updates) {
|
|
728
728
|
const data = merge(
|
|
@@ -735,7 +735,7 @@ function metaProps(updates) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
function
|
|
738
|
+
function defaultMetaPropsLegal(tolps = null) {
|
|
739
739
|
let commentsPlaceholders = TOLPCommentsPlaceholders;
|
|
740
740
|
let finalHeadlines = TOLPFinalHeadlines;
|
|
741
741
|
let finalSubHeadlines = TOLPFinalSubHeadlines;
|
|
@@ -745,12 +745,13 @@ function defaultMetaProps(tolps = null) {
|
|
|
745
745
|
finalSubHeadlines = filterMapByKey(TOLPFinalSubHeadlines, tolps);
|
|
746
746
|
}
|
|
747
747
|
return metaProps({
|
|
748
|
-
|
|
748
|
+
tcpaLanguage: TCPA_LANGUAGE_LEGAL,
|
|
749
|
+
defaultCommentsPlaceholder: DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
|
|
749
750
|
commentsPlaceholders: commentsPlaceholders,
|
|
750
|
-
defaultFinalHeadline:
|
|
751
|
+
defaultFinalHeadline: DEFAULT_FINAL_HEADLINE_LEGAL,
|
|
751
752
|
finalHeadlines: finalHeadlines,
|
|
752
|
-
defaultFinalSubHeadline:
|
|
753
|
-
finalSubHeadlines: finalSubHeadlines
|
|
753
|
+
defaultFinalSubHeadline: DEFAULT_FINAL_SUBHEADLINE_LEGAL,
|
|
754
|
+
finalSubHeadlines: finalSubHeadlines
|
|
754
755
|
})
|
|
755
756
|
}
|
|
756
757
|
|
|
@@ -1017,7 +1018,7 @@ const TOLPFinalSubHeadlines = {
|
|
|
1017
1018
|
// TODO: this doesnt have cross sells or dynamic schema support yet!
|
|
1018
1019
|
|
|
1019
1020
|
const schema = [
|
|
1020
|
-
|
|
1021
|
+
defaultMetaPropsLegal(),
|
|
1021
1022
|
formAnchor(),
|
|
1022
1023
|
{
|
|
1023
1024
|
$cmp: 'FormKit',
|
package/dist/forms/ssdi.iife.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var ssdi=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',i='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',n=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=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),r=t=>(t.legendClass="legend-left",t.fieldsetClass="$reset t-flex t-justify-center t-flex-col-reverse t-items-center",void 0===t.optionsClass&&(t.optionsClass="t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3"),t.optionClass="radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5",t.wrapperClass="$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]",t.labelClass="t-font-semibold t-text-[#1e448f] t-w-[100%]",t.decoratorIcon=!1,t.messagesClass="t-flex t-justify-center",t.helpClass="t-mt-2.5 !t-text-sm t-text-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)))(t)),o=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",r(e)),l=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),s=e=>(e.wrapperClass="side-by-side t-items-center",l(e)),d=e=>{return(t={name:e?e+":Applicant_Age":"Applicant_Age",value:"50",placeholder:"Age between 18 and 65",maxlength:2,inputmode:"numeric",validation:"required|min:18,max:65",validationMessages:{required:"Applicant Age is required",min:"Invalid Age - must be between 18 and 65",max:"Invalid Age - must be between 18 and 65"}}).wrapperClass="t-flex t-justify-center",t.messagesClass="t-flex t-justify-center",t.inputClass="t-text-center",l(t);var t},c=(t,a)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:a?a+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),m=e=>s({$formkit:"text",label:"Last Name:",placeholder:"Last",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}}),p=e=>s({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),u=e=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}}),f=(e={},t)=>l({placeholder:"#####",help:e.help??"We try to match you with local legal help",name:t?t+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},wrapperClass:"t-flex t-justify-center",messagesClass:"t-flex t-justify-center",inputClass:"t-text-center",helpClass:"t-mt-2.5 !t-text-sm t-text-center"}),h="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",y="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",g=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,b=e=>{if(g(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(g(a))return a;const i=b(a);if(i)return i}return null},x={$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 v(t){return e(x,t)}function w(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function $(e){return{$el:"h3",children:e.headline||"Additional Case Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function k(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function I(e){return{$el:"h3",children:e.headline||a,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function C(e){return{$el:"h5",children:e.subheadline||i,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "+(e.subheadlineClass||"")}}}const E="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";const S=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function _(t,a,i=!0,n=!1,r=void 0,o=void 0,l=void 0){if(void 0===i&&(i=!0),a&&a.length&&(i||n)){const e=b(a[a.length-1]);e&&!0===i&&(e.onKeypress=h),e&&!0===n&&(e.onInput=y)}return e(S(t,r),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,autoFocus:l,children:a}]})}const P={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function A(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const D={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 O={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const q={$el:"div",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",class:"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]",style:{transition:"width 0.5s ease"}}}]}]};const T=[{$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}],L={Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},j={},F={Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."},Y=[function(a=null){let i=L,n=j,r=F;return a&&(i=A(L,a),n=A(j,a),r=A(F,a)),{type:"meta",data:e(D,{defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Submit Your Case",finalHeadlines:n,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:r})}}(),e(O,M),{$cmp:"FormKit",props:function(t){const a=e(P,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"ssdi",redirectMap:{"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"}}),children:[function(t){return e(q,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Start Your FREE Case Evaluation")',if:"$activeStep === $firstStep()",headlineClass:"!t-text-dark"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "You Could Receive up to $3,148 Per Month!")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-text-[#00428A]"}),...T,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return _("ssdiTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Social Security Disability and Insurance"},f()],e.nextOnEnter,e.nextOnInput,e.stepKey,e.nextStepMap)}(),function(e={}){return _("ssdiApplicantAge",[w(e),d()],e.nextOnEnter,e.nextOnInput)}({nextOnInput:!0,headline:"What is the Age of the Applicant?"}),function(e={}){return _("ssdiDisabilityConditionStopWork",[w(e),o({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work"})],e.nextOnEnter,e.nextOnInput);var t}({nextOnInput:!0,headline:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"}),function(e={}){return _("ssdiDisabilityWorkHistory",[w(e),o({name:t?t+":Disability_Work_History":"Disability_Work_History"})],e.nextOnEnter,e.nextOnInput);var t}({nextOnInput:!0,headline:"Have You Had a Full-Time Job Within the Past 5 Years?"}),function(e={}){return _("ssdiSocialSecurityDisabilityReceivingBenefits",[w(e),o({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits"})],e.nextOnEnter,e.nextOnInput);var t}({nextOnInput:!0,headline:"Are You Currently Receiving Social Security Disability Benefits?"}),function(e={}){return _("ssdiDoctorTreatment",[w(e),o({name:t?t+":Doctor_Treatment":"Doctor_Treatment"})],e.nextOnEnter,e.nextOnInput);var t}({nextOnInput:!0,headline:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),function(e={}){return _("ssdiHaveAttorney",[w(e),o({name:t?t+":Have_Attorney":"Have_Attorney"})],e.nextOnEnter,e.nextOnInput);var t}({nextOnInput:!0,headline:"Already Working with An Attorney?"}),function(e={}){return _("commentsWithBankruptcy",[$(e),c({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass},e.scope),n({label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:"CrossSell_Bankruptcy",id:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"}),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[c({label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Bankruptcy")]}],!1)}({label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return _("firstAndLast",[k(e),s({$formkit:"text",label:"First Name:",placeholder:"First",name:t?t+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),m()],e.nextOnEnter);var t}({headlineClass:"!t-text-dark"}),function(e={}){return _("contactInfo",[I(e),C(e),{$el:"script",if:"$activeStep === $lastStep()",children:E},(t=e.scope,s({$formkit:"email",name:t?t+":Email":"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}})),p(e.scope),u(e.scope),v()],!1);var t}({headline:"Submit Your Free Application",headlineClass:"!t-text-[#00428A]",subheadline:"Based on your input you may qualify for SSDI benefits. Please verify your contact information."}),((e={})=>({$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]}))(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var M;return Y}();
|
|
1
|
+
var ssdi=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',i='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',n=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=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),r=t=>(t.legendClass="legend-left",t.fieldsetClass="$reset t-flex t-justify-center t-flex-col-reverse t-items-center",void 0===t.optionsClass&&(t.optionsClass="t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3"),t.optionClass="radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5",t.wrapperClass="$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]",t.labelClass="t-font-semibold t-text-[#1e448f] t-w-[100%]",t.decoratorIcon=!1,t.messagesClass="t-flex t-justify-center",t.helpClass="t-mt-2.5 !t-text-sm t-text-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)))(t)),o=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",r(e)),l=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),s=e=>(e.wrapperClass="side-by-side t-items-center",l(e)),d=e=>s({label:"Last Name:",placeholder:"Last",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}}),c=e=>s({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),m=(e={},t)=>l({placeholder:"#####",help:e.help??"We try to match you with local help",name:t?t+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},wrapperClass:"t-flex t-justify-center",messagesClass:"t-flex t-justify-center",inputClass:"t-text-center",helpClass:"t-mt-2.5 !t-text-sm t-text-center"}),p=e=>{return(t={name:e?e+":Applicant_Age":"Applicant_Age",value:"50",placeholder:"Age between 18 and 65",maxlength:2,inputmode:"numeric",validation:"required|min:18,max:65",validationMessages:{required:"Applicant Age is required",min:"Invalid Age - must be between 18 and 65",max:"Invalid Age - must be between 18 and 65"}}).wrapperClass="t-flex t-justify-center",t.messagesClass="t-flex t-justify-center",t.inputClass="t-text-center",l(t);var t},u=(t,a)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:a?a+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),f=e=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}}),h="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",y="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",g=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,b=e=>{if(g(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(g(a))return a;const i=b(a);if(i)return i}return null},x={$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 v(t){return e(x,t)}function w(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function $(e){return function(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}({headline:e.headline||"Additional Case Details",headlineClass:e.headlineClass})}function k(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function I(e){return{$el:"h3",children:e.headline||a,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function C(e){return{$el:"h5",children:e.subheadline||i,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "+(e.subheadlineClass||"")}}}const S="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";const E=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function _(t,a,i={}){const{nextOnEnter:n=!0,nextOnInput:r=!1,stepKey:o,nextStepMap:l,triggerRedirectMap:s,autoFocus:d}=i;if(a&&a.length&&(n||r)){const e=b(a[a.length-1]);e&&!0===n&&(e.onKeypress=h),e&&!0===r&&(e.onInput=y)}return e(E(t,o),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:s,autoFocus:d,children:a}]})}const P={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function A(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const D={};const q={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const T={$el:"div",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",class:"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]",style:{transition:"width 0.5s ease"}}}]}]};const L=[{$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}],j={Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},F={},Y={Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."},O=[function(a=null){let i=j,n=F,r=Y;return a&&(i=A(j,a),n=A(F,a),r=A(Y,a)),{type:"meta",data:e(D,{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.",defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Submit Your Case",finalHeadlines:n,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:r})}}(),e(q,M),{$cmp:"FormKit",props:function(t){const a=e(P,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"ssdi",redirectMap:{"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"}}),children:[function(t){return e(T,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Start Your FREE Case Evaluation")',if:"$activeStep === $firstStep()",headlineClass:"!t-text-dark"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "You Could Receive up to $3,148 Per Month!")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-text-[#00428A]"}),...L,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return _("ssdiTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Social Security Disability and Insurance"},m()],e)}(),function(e={}){return _("ssdiApplicantAge",[w(e),p()],e)}({nextOnInput:!0,headline:"What is the Age of the Applicant?"}),function(e={}){return _("ssdiDisabilityConditionStopWork",[w(e),o({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work"})],e);var t}({nextOnInput:!0,headline:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"}),function(e={}){return _("ssdiDisabilityWorkHistory",[w(e),o({name:t?t+":Disability_Work_History":"Disability_Work_History"})],e);var t}({nextOnInput:!0,headline:"Have You Had a Full-Time Job Within the Past 5 Years?"}),function(e={}){return _("ssdiSocialSecurityDisabilityReceivingBenefits",[w(e),o({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits"})],e);var t}({nextOnInput:!0,headline:"Are You Currently Receiving Social Security Disability Benefits?"}),function(e={}){return _("ssdiDoctorTreatment",[w(e),o({name:t?t+":Doctor_Treatment":"Doctor_Treatment"})],e);var t}({nextOnInput:!0,headline:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),function(e={}){return _("ssdiHaveAttorney",[w(e),o({name:t?t+":Have_Attorney":"Have_Attorney"})],e);var t}({nextOnInput:!0,headline:"Already Working with An Attorney?"}),function(e={}){return _("commentsWithBankruptcy",[$(e),u({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass},e.scope),n({label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:"CrossSell_Bankruptcy",id:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"}),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[u({label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Bankruptcy")]}],{nextOnEnter:!1})}({label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return _("firstAndLast",[k(e),s({label:"First Name:",placeholder:"First",name:t?t+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),d()],e);var t}({headlineClass:"!t-text-dark"}),function(e={}){return _("contactInfo",[I(e),C(e),{$el:"script",if:"$activeStep === $lastStep()",children:S},(t=e.scope,s({$formkit:"email",name:t?t+":Email":"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}})),c(e.scope),f(e.scope),v()],{nextOnEnter:!1});var t}({headline:"Submit Your Free Application",headlineClass:"!t-text-[#00428A]",subheadline:"Based on your input you may qualify for SSDI benefits. Please verify your contact information."}),((e={})=>({$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]}))(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var M;return O}();
|