bhl-forms 0.2.9 → 0.3.2
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 +1020 -593
- package/dist/bhl-forms.iife.js +7 -7
- package/dist/bhl-forms.modern.es.js +3160 -2662
- package/dist/bhl-forms.modern.iife.js +10 -10
- package/dist/bhl-forms.modern.umd.js +10 -10
- package/dist/bhl-forms.umd.js +7 -7
- package/dist/forms/accidentsAndInjuries.es.js +49 -113
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/appraisals.es.js +3 -7
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/appraisals.json +1 -1
- package/dist/forms/childAndFamily.es.js +49 -113
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/civilLawsuit.es.js +51 -114
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/coins.es.js +3 -7
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/coins.json +1 -1
- package/dist/forms/contracts.es.js +14 -78
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +180 -380
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +43 -107
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalLegal.es.js +191 -477
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +188 -390
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderTF.es.js +180 -383
- package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderTF.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +180 -383
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +14 -78
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/malpractice.es.js +21 -85
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +3 -7
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/realEstate.es.js +180 -380
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +16 -80
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +24 -145
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +4 -68
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/forms/testRedirects.es.js +3 -11
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/vets.es.js +3 -7
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/vets.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +42 -106
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/dist/main.css +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"type":"meta","data":{"tcpaLanguage":"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.","defaultCommentsPlaceholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)","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."}}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[40rem]","formId":"accidentsAndInjuries","redirectMap":{"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"},"valueOverrideMap":{"Civil_Defense":{"Yes":{"Type_Of_Legal_Problem":"Defend a Lawsuit"}},"Type_Of_Legal_Problem_Display":{"Auto Accident":{"Type_Of_Legal_Problem":"Auto and Car Accidents"},"Dog Bite":{"Type_Of_Legal_Problem":"Personal Injury"},"Slip and Fall":{"Type_Of_Legal_Problem":"Personal Injury"},"Workplace Injury":{"Type_Of_Legal_Problem":"Workers Compensation"},"Trucking Accident":{"Type_Of_Legal_Problem":"Auto and Car Accidents"},"Motorcycle Accident":{"Type_Of_Legal_Problem":"Auto and Car Accidents"},"Other Accidents or Injuries":{"Type_Of_Legal_Problem":"Personal Injury"},"Automobile Accident":{"Type_Of_Legal_Problem":"Auto and Car Accidents"},"Contract Disputes":{"Type_Of_Legal_Problem":"Business Lawyers"},"Defamation and Slander":{"Type_Of_Legal_Problem":"File a Lawsuit"},"Employment and Workplace":{"Type_Of_Legal_Problem":"Employment and Workplace"},"Fraud":{"Type_Of_Legal_Problem":"Consumer Lawyers"},"Medical Malpractice":{"Type_Of_Legal_Problem":"Medical Malpractice"},"Personal Injury":{"Type_Of_Legal_Problem":"Personal Injury"},"Property Damage":{"Type_Of_Legal_Problem":"Property Damage"},"Small Claims":{"Type_Of_Legal_Problem":"File a Lawsuit"},"Real Estate":{"Type_Of_Legal_Problem":"Real Estate"},"Other (describe on next page)":{"Type_Of_Legal_Problem":"Not Sure or Other"},"Contract Creation":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Contract Enforcement":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Contract Cancellation":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Contract Fraud":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Breach of Contract":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Other Contract Issues":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Criminal Defense":{"Type_Of_Legal_Problem":"Criminal and Felony"},"Victim of a Crime":{"Type_Of_Legal_Problem":"Victim of a Crime"},"DUI and DWI":{"Type_Of_Legal_Problem":"DUI and DWI"},"Expungement":{"Type_Of_Legal_Problem":"Expungement"},"Harassment":{"Type_Of_Legal_Problem":"Criminal and Felony"},"Not Sure or Other":{"Type_Of_Legal_Problem":"Not Sure or Other"},"Workplace Harassment":{"Type_Of_Legal_Problem":"Workplace Harassment"},"Workplace Discrimination":{"Type_Of_Legal_Problem":"Workplace Discrimination"},"Wrongful Termination":{"Type_Of_Legal_Problem":"Wrongful Termination"},"Payment Disputes":{"Type_Of_Legal_Problem":"Employment and Workplace"},"Workers Compensation":{"Type_Of_Legal_Problem":"Workers Compensation"},"Unemployment":{"Type_Of_Legal_Problem":"Unemployment"},"Other Workplace Issues":{"Type_Of_Legal_Problem":"Employment and Workplace"},"Attorney Malpractice":{"Type_Of_Legal_Problem":"Civil Lawsuit"},"Other Malpractice Issues":{"Type_Of_Legal_Problem":"Not Sure or Other"},"Vehicle Repossession":{"Type_Of_Legal_Problem":"Bankruptcy"},"Property Repossession":{"Type_Of_Legal_Problem":"Bankruptcy"},"Other Repossession Issues":{"Type_Of_Legal_Problem":"Not Sure or Other"},"Contracts and Agreements":{"Type_Of_Legal_Problem":"Real Estate"},"Deeds, Liens, and Titles":{"Type_Of_Legal_Problem":"Real Estate"},"Foreclosure":{"Type_Of_Legal_Problem":"Foreclosure"},"Insurance":{"Type_Of_Legal_Problem":"Insurance"},"Landlord and Tenant":{"Type_Of_Legal_Problem":"Landlord and Tenant"},"Loans and Mortgages":{"Type_Of_Legal_Problem":"Real Estate"},"Wills, Trusts, and Estates":{"Type_Of_Legal_Problem":"Wills and Trusts"},"Other Real Estate Issues":{"Type_Of_Legal_Problem":"Real Estate"}}}},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "},"children":"$urlParam(\"hl\", \"Get Accident & Injury Help Now\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "},"children":"$urlParam(\"shl\", \"Our Service is Fast and Free!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Legal"},{"$formkit":"hidden","name":"TCPA_Language","value":"$meta.tcpaLanguage"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepIsEnabled(\"accidentsAndInjuriesTOLPAndZip\")","attrs":{"style":{"if":"$activeStep !== \"accidentsAndInjuriesTOLPAndZip\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"accidentsAndInjuriesTOLPAndZip","name":"accidentsAndInjuriesTOLPAndZip","children":[{"$formkit":"hidden","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","value":"Auto and Car Accidents"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","legendClass":"required","name":"Type_Of_Legal_Problem_Display","if":"true","label":"Select The Issue:","options":["Auto Accident","Workplace Injury","Dog Bite","Slip and Fall","Trucking Accident","Motorcycle Accident","Other Accidents or Injuries"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","label":"Zip Code:","placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"side-by-side t-items-center","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepIsEnabled(\"TOLPQuestions\")","attrs":{"style":{"if":"$activeStep !== \"TOLPQuestions\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"TOLPQuestions","name":"TOLPQuestions","children":[{"$el":"h3","children":"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"}},{"$cmp":"FormKit","props":{"type":"group","key":"AutoAndCarAccidentsQuestions","id":"AutoAndCarAccidentsQuestions","name":"AutoAndCarAccidentsQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Auto and Car Accidents\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Already Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"DatePicker","validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500","innerClass":"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500","label":"Date of Incident:","name":"Incident_Date","wrapperClass":"side-by-side t-items-center"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"At_Fault","label":"Were You at Fault?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125","legendClass":"legend-left-flex md:t-max-w-[40%] required","label":"Primary Injury:","name":"Primary_Injury","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Other (describe on next page)"],"fieldsetClass":"$reset side-by-side-flex","innerClass":"t-flex t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Doctor_Treatment","label":"Have You Recently Been Treated by a Doctor, Hospital or Clinic?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Police_Report_Filed","label":"Was a Police Report Filed?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"}]},{"$cmp":"FormKit","props":{"type":"group","key":"PersonalInjuryQuestions","id":"PersonalInjuryQuestions","name":"PersonalInjuryQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Personal Injury\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Already Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"DatePicker","validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500","innerClass":"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500","label":"Date of Incident:","name":"Incident_Date","wrapperClass":"side-by-side t-items-center"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Status of Claim:","name":"Claim_Status","options":["No action taken yet","Demand for compensation made","Lawsuit filed","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"At_Fault","label":"Were You at Fault?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125","legendClass":"legend-left-flex md:t-max-w-[40%] required","label":"Primary Injury:","name":"Primary_Injury","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Other (describe on next page)"],"fieldsetClass":"$reset side-by-side-flex","innerClass":"t-flex t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Doctor_Treatment","label":"Have You Recently Been Treated by a Doctor, Hospital or Clinic?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"}]},{"$cmp":"FormKit","props":{"type":"group","key":"WorkersCompensationQuestions","id":"WorkersCompensationQuestions","name":"WorkersCompensationQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Workers Compensation\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Already Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"DatePicker","validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500","innerClass":"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500","label":"Date of Incident:","name":"Incident_Date","wrapperClass":"side-by-side t-items-center"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Status of Claim:","name":"Claim_Status","options":["No action taken yet","Demand for compensation made","Lawsuit filed","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125","legendClass":"legend-left-flex md:t-max-w-[40%] required","label":"Primary Injury:","name":"Primary_Injury","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Other (describe on next page)"],"fieldsetClass":"$reset side-by-side-flex","innerClass":"t-flex t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Cause of Injury:","name":"Cause_Of_Injury","options":["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Doctor_Treatment","label":"Have You Recently Been Treated by a Doctor, Hospital or Clinic?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]}]},{"$el":"section","if":"$stepIsEnabled(\"commentsWithBankruptcy\")","attrs":{"style":{"if":"$activeStep !== \"commentsWithBankruptcy\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"commentsWithBankruptcy","name":"commentsWithBankruptcy","children":[{"$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 "}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","label":"Please briefly describe your legal issue in a few words:","name":"Comments","placeholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)"},{"$formkit":"checkbox","validation":null,"validationMessages":{"required":"Field is required"},"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\")","helpClass":"!t-text-sm","legendClass":"legend-left required","fieldsetClass":"$reset side-by-side","optionsClass":"t-pl-1","innerClass":"t-flex t-items-center","wrapperClass":"t-mb-3"}]}]},{"$el":"section","if":"$stepIsEnabled(\"firstAndLast\")","attrs":{"style":{"if":"$activeStep !== \"firstAndLast\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$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 "}},{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","name":"First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","name":"Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepIsEnabled(\"contactInfo\")","attrs":{"style":{"if":"$activeStep !== \"contactInfo\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"$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":"$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()","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})();"},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","data-tf-sensitive":"false","wrapperClass":"side-by-side t-items-center"},{"$formkit":"tel","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"},"labelClass":"required","name":"Primary_Phone","label":"Phone Number:","placeholder":"###-###-####","maxlength":12,"help":"10-digit phone number, hyphens optional","autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","wrapperClass":"side-by-side t-items-center"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","name":"TCPA_Opt_In","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"}},{"$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"}}]}]}]},{"$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":"Submit","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"}}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
|
|
1
|
+
[{"type":"meta","data":{"tcpaLanguage":"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.","defaultCommentsPlaceholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)","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\"","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\""},"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.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."}}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[40rem]","formId":"accidentsAndInjuries","redirectMap":{"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"},"valueOverrideMap":{"Civil_Defense":{"Yes":{"Type_Of_Legal_Problem":"Defend a Lawsuit"}},"Type_Of_Legal_Problem_Display":{"Auto Accident":{"Type_Of_Legal_Problem":"Auto and Car Accidents"},"Dog Bite":{"Type_Of_Legal_Problem":"Personal Injury"},"Slip and Fall":{"Type_Of_Legal_Problem":"Personal Injury"},"Workplace Injury":{"Type_Of_Legal_Problem":"Workers Compensation"},"Trucking Accident":{"Type_Of_Legal_Problem":"Auto and Car Accidents"},"Motorcycle Accident":{"Type_Of_Legal_Problem":"Auto and Car Accidents"},"Other Accidents or Injuries":{"Type_Of_Legal_Problem":"Personal Injury"},"Automobile Accident":{"Type_Of_Legal_Problem":"Auto and Car Accidents"},"Contract Disputes":{"Type_Of_Legal_Problem":"Business Lawyers"},"Defamation and Slander":{"Type_Of_Legal_Problem":"File a Lawsuit"},"Employment and Workplace":{"Type_Of_Legal_Problem":"Employment and Workplace"},"Fraud":{"Type_Of_Legal_Problem":"Consumer Lawyers"},"Medical Malpractice":{"Type_Of_Legal_Problem":"Medical Malpractice"},"Personal Injury":{"Type_Of_Legal_Problem":"Personal Injury"},"Property Damage":{"Type_Of_Legal_Problem":"Property Damage"},"Small Claims":{"Type_Of_Legal_Problem":"File a Lawsuit"},"Real Estate":{"Type_Of_Legal_Problem":"Real Estate"},"Other (describe on next page)":{"Type_Of_Legal_Problem":"Not Sure or Other"},"Contract Creation":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Contract Enforcement":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Contract Cancellation":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Contract Fraud":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Breach of Contract":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Other Contract Issues":{"Type_Of_Legal_Problem":"Business Lawyers","Business_Services":"Contracts"},"Criminal Defense":{"Type_Of_Legal_Problem":"Criminal and Felony"},"Victim of a Crime":{"Type_Of_Legal_Problem":"Victim of a Crime"},"DUI and DWI":{"Type_Of_Legal_Problem":"DUI and DWI"},"Expungement":{"Type_Of_Legal_Problem":"Expungement"},"Harassment":{"Type_Of_Legal_Problem":"Criminal and Felony"},"Not Sure or Other":{"Type_Of_Legal_Problem":"Not Sure or Other"},"Workplace Harassment":{"Type_Of_Legal_Problem":"Workplace Harassment"},"Workplace Discrimination":{"Type_Of_Legal_Problem":"Workplace Discrimination"},"Wrongful Termination":{"Type_Of_Legal_Problem":"Wrongful Termination"},"Payment Disputes":{"Type_Of_Legal_Problem":"Employment and Workplace"},"Workers Compensation":{"Type_Of_Legal_Problem":"Workers Compensation"},"Unemployment":{"Type_Of_Legal_Problem":"Unemployment"},"Other Workplace Issues":{"Type_Of_Legal_Problem":"Employment and Workplace"},"Attorney Malpractice":{"Type_Of_Legal_Problem":"Civil Lawsuit"},"Other Malpractice Issues":{"Type_Of_Legal_Problem":"Not Sure or Other"},"Vehicle Repossession":{"Type_Of_Legal_Problem":"Bankruptcy"},"Property Repossession":{"Type_Of_Legal_Problem":"Bankruptcy"},"Other Repossession Issues":{"Type_Of_Legal_Problem":"Not Sure or Other"},"Contracts and Agreements":{"Type_Of_Legal_Problem":"Real Estate"},"Deeds, Liens, and Titles":{"Type_Of_Legal_Problem":"Real Estate"},"Foreclosure":{"Type_Of_Legal_Problem":"Foreclosure"},"Insurance":{"Type_Of_Legal_Problem":"Insurance"},"Landlord and Tenant":{"Type_Of_Legal_Problem":"Landlord and Tenant"},"Loans and Mortgages":{"Type_Of_Legal_Problem":"Real Estate"},"Wills, Trusts, and Estates":{"Type_Of_Legal_Problem":"Wills and Trusts"},"Other Real Estate Issues":{"Type_Of_Legal_Problem":"Real Estate"}}}},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "},"children":"$urlParam(\"hl\", \"Get Accident & Injury Help Now\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "},"children":"$urlParam(\"shl\", \"Our Service is Fast and Free!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Legal"},{"$formkit":"hidden","name":"TCPA_Language","value":"$meta.tcpaLanguage"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","attrs":{"hidden":"$activeStep !== \"accidentsAndInjuriesTOLPAndZip\""},"children":[{"$formkit":"group","id":"accidentsAndInjuriesTOLPAndZip","name":"accidentsAndInjuriesTOLPAndZip","children":[{"$formkit":"hidden","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","value":"Auto and Car Accidents"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","legendClass":"required","name":"Type_Of_Legal_Problem_Display","if":"true","label":"Select The Issue:","options":["Auto Accident","Workplace Injury","Dog Bite","Slip and Fall","Trucking Accident","Motorcycle Accident","Other Accidents or Injuries"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","label":"Zip Code:","placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"side-by-side t-items-center","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","attrs":{"hidden":"$activeStep !== \"TOLPQuestions\""},"children":[{"$formkit":"group","id":"TOLPQuestions","name":"TOLPQuestions","children":[{"$el":"h3","children":"Tell Us About Your Situation","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"}},{"$cmp":"FormKit","props":{"type":"group","key":"AutoAndCarAccidentsQuestions","id":"AutoAndCarAccidentsQuestions","name":"AutoAndCarAccidentsQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Auto and Car Accidents\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Already Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"DatePicker","validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500","innerClass":"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500","name":"Incident_Date","label":"Date of Incident:","wrapperClass":"side-by-side t-items-center"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"At_Fault","label":"Were You at Fault?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125","legendClass":"legend-left-flex md:t-max-w-[40%] required","name":"Primary_Injury","label":"Primary Injury:","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Other (describe on next page)"],"fieldsetClass":"$reset side-by-side-flex","innerClass":"t-flex t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Doctor_Treatment","label":"Have You Recently Been Treated by a Doctor, Hospital or Clinic?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Police_Report_Filed","label":"Was a Police Report Filed?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"}]},{"$cmp":"FormKit","props":{"type":"group","key":"PersonalInjuryQuestions","id":"PersonalInjuryQuestions","name":"PersonalInjuryQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Personal Injury\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Already Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"DatePicker","validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500","innerClass":"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500","name":"Incident_Date","label":"Date of Incident:","wrapperClass":"side-by-side t-items-center"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"Claim_Status","label":"Status of Claim:","options":["No action taken yet","Demand for compensation made","Lawsuit filed","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"At_Fault","label":"Were You at Fault?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125","legendClass":"legend-left-flex md:t-max-w-[40%] required","name":"Primary_Injury","label":"Primary Injury:","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Other (describe on next page)"],"fieldsetClass":"$reset side-by-side-flex","innerClass":"t-flex t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Doctor_Treatment","label":"Have You Recently Been Treated by a Doctor, Hospital or Clinic?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"}]},{"$cmp":"FormKit","props":{"type":"group","key":"WorkersCompensationQuestions","id":"WorkersCompensationQuestions","name":"WorkersCompensationQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Workers Compensation\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"Already Working with An Attorney?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1"},{"$formkit":"DatePicker","validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500","innerClass":"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500","name":"Incident_Date","label":"Date of Incident:","wrapperClass":"side-by-side t-items-center"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"Claim_Status","label":"Status of Claim:","options":["No action taken yet","Demand for compensation made","Lawsuit filed","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125","legendClass":"legend-left-flex md:t-max-w-[40%] required","name":"Primary_Injury","label":"Primary Injury:","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Other (describe on next page)"],"fieldsetClass":"$reset side-by-side-flex","innerClass":"t-flex t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"Cause_Of_Injury","label":"Cause of Injury:","options":["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Doctor_Treatment","label":"Have You Recently Been Treated by a Doctor, Hospital or Clinic?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]}]},{"$el":"section","attrs":{"hidden":"$activeStep !== \"commentsWithBankruptcy\""},"children":[{"$formkit":"group","id":"commentsWithBankruptcy","name":"commentsWithBankruptcy","children":[{"$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-1 "}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","label":"Please briefly describe your legal issue in a few words:","name":"Comments","placeholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)"},{"$formkit":"checkbox","validation":null,"validationMessages":{"required":"Field is required"},"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\")","helpClass":"!t-text-sm","legendClass":"legend-left required","fieldsetClass":"$reset side-by-side","optionsClass":"t-pl-1","innerClass":"t-flex t-items-center","wrapperClass":"t-mb-3"}]}]},{"$el":"section","attrs":{"hidden":"$activeStep !== \"firstAndLast\""},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$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-1 "}},{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","name":"First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","name":"Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","attrs":{"hidden":"$activeStep !== \"contactInfo\""},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"$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-1"}},{"$el":"h5","children":"$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()","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})();"},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","data-tf-sensitive":"false","wrapperClass":"side-by-side t-items-center"},{"$formkit":"tel","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"},"labelClass":"required","name":"Primary_Phone","label":"Phone Number:","placeholder":"###-###-####","maxlength":12,"help":"10-digit phone number, hyphens optional","autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","wrapperClass":"side-by-side t-items-center"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","name":"TCPA_Opt_In","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"}},{"$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"}}]}]}]},{"$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":"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"}}]}]}]}]
|
|
@@ -172,12 +172,8 @@ const findLastInput = (n) => {
|
|
|
172
172
|
|
|
173
173
|
const stepDefaults = (step) => ({
|
|
174
174
|
$el: 'section',
|
|
175
|
-
if: '$stepIsEnabled("' + step + '")',
|
|
176
175
|
attrs: {
|
|
177
|
-
|
|
178
|
-
if: '$activeStep !== "' + step + '"',
|
|
179
|
-
then: 'display: none;'
|
|
180
|
-
}
|
|
176
|
+
hidden: '$activeStep !== "' + step + '"'
|
|
181
177
|
}
|
|
182
178
|
});
|
|
183
179
|
|
|
@@ -187,10 +183,10 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false) {
|
|
|
187
183
|
}
|
|
188
184
|
if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
|
|
189
185
|
const lastInput = findLastInput(inputs[inputs.length - 1]);
|
|
190
|
-
if (nextOnEnter === true) {
|
|
186
|
+
if (lastInput && nextOnEnter === true) {
|
|
191
187
|
lastInput.onKeypress = NEXT_ON_ENTER;
|
|
192
188
|
}
|
|
193
|
-
if (nextOnInput === true) {
|
|
189
|
+
if (lastInput && nextOnInput === true) {
|
|
194
190
|
lastInput.onInput = NEXT_ON_INPUT;
|
|
195
191
|
}
|
|
196
192
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var appraisals=function(){"use strict";function e(){return Object.assign({},...arguments)}const t={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=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],i=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)),n="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",l="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",s=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,a=e=>{if(s(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const r=e.children[t];if(s(r))return r;const i=a(r);if(i)return i}return null},o=e=>({$el:"section",
|
|
1
|
+
var appraisals=function(){"use strict";function e(){return Object.assign({},...arguments)}const t={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=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],i=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)),n="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",l="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",s=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,a=e=>{if(s(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const r=e.children[t];if(s(r))return r;const i=a(r);if(i)return i}return null},o=e=>({$el:"section",attrs:{hidden:'$activeStep !== "'+e+'"'}});const c=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},u),{$cmp:"FormKit",props:function(r){return e(t,r)}({formId:"appraisals",redirectMap:{"*":(d="answers-now.com",p="Appraisals",function(e,t){return"https://listings."+e+"/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&category="+encodeURIComponent(t)}(d,p)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[36rem]"}),children:[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 Here for An Appraisal")',if:"$activeStep === $firstStep()"}),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", "Get a Valuation Within Minutes!")',if:"$activeStep === $firstStep()"}),...r,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,r,i=!0,s=!1){if(void 0===i&&(i=!0),r&&r.length&&(i||s)){const e=a(r[r.length-1]);e&&!0===i&&(e.onKeypress=n),e&&!0===s&&(e.onInput=l)}return e(o(t),{children:[{$formkit:"group",id:t,name:t,children:r}]})}("comments",[i({label:t.label||"Please briefly describe your legal issue in a few words:",placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)'})],t.nextOnEnter)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a vintage painting, old coins, and a fine china set I would like appraised"',nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:"Chat Now"}]},{$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 d,p,u;return c}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"appraisals","redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&category=Appraisals&Comments=${properties.Comments}"}},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "},"children":"$urlParam(\"hl\", \"Start Here for An Appraisal\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "},"children":"$urlParam(\"shl\", \"Get a Valuation Within Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Appraisals"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","
|
|
1
|
+
[{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"appraisals","redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&category=Appraisals&Comments=${properties.Comments}"}},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "},"children":"$urlParam(\"hl\", \"Start Here for An Appraisal\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "},"children":"$urlParam(\"shl\", \"Get a Valuation Within Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Appraisals"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","attrs":{"hidden":"$activeStep !== \"comments\""},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","label":"Please describe your item in a few words:","name":"Comments","placeholder":"Example: \"I have a vintage painting, old coins, and a fine china set I would like appraised\""}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","name":"hidden_button","children":"Hidden","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now"}]},{"$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"}}]}]}]}]
|
|
@@ -247,7 +247,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
247
247
|
'Lemon Law': 'Example: "I purchased a new vehicle that broke down already and seller will not assist"',
|
|
248
248
|
'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"',
|
|
249
249
|
'Medical Malpractice': 'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',
|
|
250
|
-
'Nursing Home Abuse': 'Example: "My mother\'s nursing home is physically abusing her"',
|
|
251
250
|
'Patents and Intellectual Property': 'Example: "I would like to file for a patent" or "I need to copyright a name"',
|
|
252
251
|
'Personal Injury': 'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',
|
|
253
252
|
'Power of Attorney': 'Example: "I need help with a limited or general power of attorney"',
|
|
@@ -259,8 +258,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
259
258
|
'Tax and IRS': 'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',
|
|
260
259
|
'Traffic and Tickets': 'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',
|
|
261
260
|
'Unemployment': 'Example: "I need help filing for unemployment benefits"',
|
|
262
|
-
'Vaccination Injury': 'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',
|
|
263
|
-
'Veteran\'s Disability': 'Example: "I would like help filing for disability benefits"',
|
|
264
261
|
'Victim of a Crime': 'Example: "I was assaulted in the store" or "I am being discriminated against at work"',
|
|
265
262
|
'Wills and Trusts': 'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',
|
|
266
263
|
'Workers Compensation': 'Example: "I was injured at work and would like to file for workers compensation benefits"',
|
|
@@ -271,59 +268,6 @@ const TOLPCommentsPlaceholders = {
|
|
|
271
268
|
|
|
272
269
|
const TOLPFinalHeadlines = {
|
|
273
270
|
// 'Adoption': '',
|
|
274
|
-
// 'Asbestos and Mesothelioma': '',
|
|
275
|
-
// 'Auto and Car Accidents': '',
|
|
276
|
-
// 'Bankruptcy': '',
|
|
277
|
-
// 'Birth Certificate and Name Change': '',
|
|
278
|
-
// 'Business Lawyers': '',
|
|
279
|
-
// 'Child Custody and Support': '',
|
|
280
|
-
// 'Civil Rights and Discrimination': '',
|
|
281
|
-
// 'Civil Lawsuit': '',
|
|
282
|
-
// 'Consumer Lawyers': '',
|
|
283
|
-
// 'Copyrights and Trademarks': '',
|
|
284
|
-
// 'Criminal and Felony': '',
|
|
285
|
-
// 'Debt and Collections': '',
|
|
286
|
-
// 'Divorce and Separation': '',
|
|
287
|
-
// 'DUI and DWI': '',
|
|
288
|
-
// 'Elder Law': '',
|
|
289
|
-
// 'Employment and Workplace': '',
|
|
290
|
-
// 'Expungement': '',
|
|
291
|
-
// 'Family Issues': '',
|
|
292
|
-
// 'Foreclosure': '',
|
|
293
|
-
// 'Guardianship': '',
|
|
294
|
-
// 'Harassment and Discrimination': '',
|
|
295
|
-
// 'Identity Theft': '',
|
|
296
|
-
// 'Immigration and Visas': '',
|
|
297
|
-
// 'Insurance': '',
|
|
298
|
-
// 'Landlord and Tenant': '',
|
|
299
|
-
// 'Lemon Law': '',
|
|
300
|
-
// 'Long Term Disability': '',
|
|
301
|
-
// 'Medical Malpractice': '',
|
|
302
|
-
// 'Nursing Home Abuse': '',
|
|
303
|
-
// 'Patents and Intellectual Property': '',
|
|
304
|
-
// 'Personal Injury': '',
|
|
305
|
-
// 'Power of Attorney': '',
|
|
306
|
-
// 'Probate and Estates': '',
|
|
307
|
-
// 'Product Liability': '',
|
|
308
|
-
// 'Property Damage': '',
|
|
309
|
-
// 'Real Estate': '',
|
|
310
|
-
// 'Social Security Disability and Insurance': '',
|
|
311
|
-
// 'Tax and IRS': '',
|
|
312
|
-
// 'Traffic and Tickets': '',
|
|
313
|
-
// 'Unemployment': '',
|
|
314
|
-
// 'Vaccination Injury': '',
|
|
315
|
-
// 'Veteran\'s Disability': '',
|
|
316
|
-
// 'Victim of a Crime': '',
|
|
317
|
-
// 'Wills and Trusts': '',
|
|
318
|
-
// 'Workers Compensation': '',
|
|
319
|
-
// 'Wrongful Death': '',
|
|
320
|
-
// 'Wrongful Termination': '',
|
|
321
|
-
// 'Not Sure or Other': ''
|
|
322
|
-
// 'Sexual Harassment': '',
|
|
323
|
-
// 'Workplace Harassment': '',
|
|
324
|
-
// 'Non-Workplace Harassment': '',
|
|
325
|
-
// 'Workplace Discrimination': '',
|
|
326
|
-
// 'Non-Workplace Discrimination': '',
|
|
327
271
|
};
|
|
328
272
|
|
|
329
273
|
const TOLPFinalSubHeadlines = {
|
|
@@ -356,7 +300,6 @@ const TOLPFinalSubHeadlines = {
|
|
|
356
300
|
// 'Lemon Law': '',
|
|
357
301
|
'Long Term Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
|
|
358
302
|
'Medical Malpractice': 'You may benefit from speaking with a malpractice professional. Please verify your contact information.',
|
|
359
|
-
// 'Nursing Home Abuse': '',
|
|
360
303
|
'Patents and Intellectual Property': 'You may benefit from speaking with a patent professional. Please verify your contact information.',
|
|
361
304
|
'Personal Injury': 'You may benefit from speaking with a personal injury professional. Please verify your contact information.',
|
|
362
305
|
// 'Power of Attorney': '',
|
|
@@ -368,8 +311,6 @@ const TOLPFinalSubHeadlines = {
|
|
|
368
311
|
'Tax and IRS': 'You may benefit from speaking with a tax professional. Please verify your contact information.',
|
|
369
312
|
// 'Traffic and Tickets': '',
|
|
370
313
|
'Unemployment': 'You may benefit from speaking with an unemployment professional. Please verify your contact information.',
|
|
371
|
-
// 'Vaccination Injury': '',
|
|
372
|
-
'Veteran\'s Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
|
|
373
314
|
// 'Victim of a Crime': '',
|
|
374
315
|
// 'Wills and Trusts': '',
|
|
375
316
|
'Workers Compensation': 'You may benefit from speaking with a workers compensation professional. Please verify your contact information.',
|
|
@@ -460,7 +401,6 @@ const sbsSelect = (updates) => {
|
|
|
460
401
|
return select(updates)
|
|
461
402
|
};
|
|
462
403
|
|
|
463
|
-
|
|
464
404
|
const text = (updates) => {
|
|
465
405
|
return merge({
|
|
466
406
|
$formkit: 'text',
|
|
@@ -515,9 +455,9 @@ const childAndFamilyTOLP = () => col2Radio({
|
|
|
515
455
|
]
|
|
516
456
|
});
|
|
517
457
|
|
|
518
|
-
const childHome = () => sbsSelect({
|
|
458
|
+
const childHome = (scope) => sbsSelect({
|
|
459
|
+
name: scope ? scope + ':' + 'Child_Home' : 'Child_Home',
|
|
519
460
|
label: 'With Whom Do the Children Currently Live?',
|
|
520
|
-
name: 'Child_Home',
|
|
521
461
|
options: [
|
|
522
462
|
'Mother',
|
|
523
463
|
'Father',
|
|
@@ -526,9 +466,9 @@ const childHome = () => sbsSelect({
|
|
|
526
466
|
]
|
|
527
467
|
});
|
|
528
468
|
|
|
529
|
-
const childPrimaryCaregiver = () => sbsSelect({
|
|
469
|
+
const childPrimaryCaregiver = (scope) => sbsSelect({
|
|
470
|
+
name: scope ? scope + ':' + 'Child_Primary_Caregiver' : 'Child_Primary_Caregiver',
|
|
530
471
|
label: 'Who is the Primary Caregiver?',
|
|
531
|
-
name: 'Child_Primary_Caregiver',
|
|
532
472
|
options: [
|
|
533
473
|
'Mother',
|
|
534
474
|
'Father',
|
|
@@ -536,9 +476,9 @@ const childPrimaryCaregiver = () => sbsSelect({
|
|
|
536
476
|
]
|
|
537
477
|
});
|
|
538
478
|
|
|
539
|
-
const childRelationship = () => sbsSelect({
|
|
479
|
+
const childRelationship = (scope) => sbsSelect({
|
|
480
|
+
name: scope ? scope + ':' + 'Child_Relationship' : 'Child_Relationship',
|
|
540
481
|
label: 'Your Relationship to Child(ren):',
|
|
541
|
-
name: 'Child_Relationship',
|
|
542
482
|
options: [
|
|
543
483
|
'Father',
|
|
544
484
|
'Mother',
|
|
@@ -556,10 +496,10 @@ const comments = (updates) => textArea(
|
|
|
556
496
|
}, updates)
|
|
557
497
|
);
|
|
558
498
|
|
|
559
|
-
const degreeOfInterest = (help) => sbsSelect({
|
|
499
|
+
const degreeOfInterest = (scope, help) => sbsSelect({
|
|
500
|
+
name: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
|
|
501
|
+
id: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
|
|
560
502
|
label: 'How Likely Are You to Pay if Your Issue Could be Resolved?',
|
|
561
|
-
id: 'Degree_Of_Interest',
|
|
562
|
-
name: 'Degree_Of_Interest',
|
|
563
503
|
help: help,
|
|
564
504
|
options: [
|
|
565
505
|
'Definitely',
|
|
@@ -569,7 +509,7 @@ const degreeOfInterest = (help) => sbsSelect({
|
|
|
569
509
|
]
|
|
570
510
|
});
|
|
571
511
|
|
|
572
|
-
const degreeOfInterestHelp = () => degreeOfInterest('No payment necessary to speak with lawyers.');
|
|
512
|
+
const degreeOfInterestHelp = (scope) => degreeOfInterest(scope, 'No payment necessary to speak with lawyers.');
|
|
573
513
|
|
|
574
514
|
const email = () => sbsText({
|
|
575
515
|
$formkit: 'email',
|
|
@@ -595,13 +535,13 @@ const firstName = () => sbsText({
|
|
|
595
535
|
}
|
|
596
536
|
});
|
|
597
537
|
|
|
598
|
-
const haveAttorney = () => sbsYesNoRadio({
|
|
599
|
-
name: 'Have_Attorney',
|
|
538
|
+
const haveAttorney = (scope) => sbsYesNoRadio({
|
|
539
|
+
name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
|
|
600
540
|
label: 'Already Working with An Attorney?'
|
|
601
541
|
});
|
|
602
542
|
|
|
603
|
-
const haveChildren = () => sbsYesNoRadio({
|
|
604
|
-
name: 'Have_Children',
|
|
543
|
+
const haveChildren = (scope) => sbsYesNoRadio({
|
|
544
|
+
name: scope ? scope + ':' + 'Have_Children' : 'Have_Children',
|
|
605
545
|
label: 'Do You Have Children?'
|
|
606
546
|
});
|
|
607
547
|
|
|
@@ -615,9 +555,9 @@ const lastName = () => sbsText({
|
|
|
615
555
|
}
|
|
616
556
|
});
|
|
617
557
|
|
|
618
|
-
const lawyerPaymentMethod = () => sbsSelect({
|
|
558
|
+
const lawyerPaymentMethod = (scope) => sbsSelect({
|
|
559
|
+
name: scope ? scope + ':' + 'Lawyer_Payment_Method' : 'Lawyer_Payment_Method',
|
|
619
560
|
label: 'How Will You Pay for Legal Fees if You Hire a Lawyer?',
|
|
620
|
-
name: 'Lawyer_Payment_Method',
|
|
621
561
|
help: 'No payment necessary to speak with lawyers.',
|
|
622
562
|
options: [
|
|
623
563
|
'Cash',
|
|
@@ -629,9 +569,9 @@ const lawyerPaymentMethod = () => sbsSelect({
|
|
|
629
569
|
]
|
|
630
570
|
});
|
|
631
571
|
|
|
632
|
-
const maritalStatus = () => sbsSelect({
|
|
572
|
+
const maritalStatus = (scope) => sbsSelect({
|
|
573
|
+
name: scope ? scope + ':' + 'Marital_Status' : 'Marital_Status',
|
|
633
574
|
label: 'Marital Status:',
|
|
634
|
-
name: 'Marital_Status',
|
|
635
575
|
options: [
|
|
636
576
|
'Unmarried, Living Together',
|
|
637
577
|
'Unmarried, Do Not Live Together',
|
|
@@ -719,32 +659,32 @@ const AdoptionQuestions = () => group(
|
|
|
719
659
|
}
|
|
720
660
|
);
|
|
721
661
|
|
|
722
|
-
const ChildCustodyAndSupportQuestions = () => group(
|
|
662
|
+
const ChildCustodyAndSupportQuestions = (condition, scope) => group(
|
|
723
663
|
'ChildCustodyAndSupportQuestions',
|
|
724
664
|
{
|
|
725
|
-
if: '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',
|
|
665
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"'),
|
|
726
666
|
children: [
|
|
727
|
-
haveAttorney(),
|
|
728
|
-
childRelationship(),
|
|
729
|
-
childHome(),
|
|
730
|
-
childPrimaryCaregiver(),
|
|
731
|
-
degreeOfInterest(),
|
|
732
|
-
lawyerPaymentMethod()
|
|
667
|
+
haveAttorney(scope),
|
|
668
|
+
childRelationship(scope),
|
|
669
|
+
childHome(scope),
|
|
670
|
+
childPrimaryCaregiver(scope),
|
|
671
|
+
degreeOfInterest(scope),
|
|
672
|
+
lawyerPaymentMethod(scope)
|
|
733
673
|
]
|
|
734
674
|
}
|
|
735
675
|
);
|
|
736
676
|
|
|
737
|
-
const ChildCustodyQuestions = () => group(
|
|
677
|
+
const ChildCustodyQuestions = (condition, scope) => group(
|
|
738
678
|
'ChildCustodyQuestions',
|
|
739
679
|
{
|
|
740
|
-
if: '$get(Type_Of_Legal_Problem).value == "Child Custody"',
|
|
680
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody"'),
|
|
741
681
|
children: [
|
|
742
|
-
haveAttorney(),
|
|
743
|
-
childRelationship(),
|
|
744
|
-
childHome(),
|
|
745
|
-
childPrimaryCaregiver(),
|
|
746
|
-
degreeOfInterest(),
|
|
747
|
-
lawyerPaymentMethod()
|
|
682
|
+
haveAttorney(scope),
|
|
683
|
+
childRelationship(scope),
|
|
684
|
+
childHome(scope),
|
|
685
|
+
childPrimaryCaregiver(scope),
|
|
686
|
+
degreeOfInterest(scope),
|
|
687
|
+
lawyerPaymentMethod(scope)
|
|
748
688
|
]
|
|
749
689
|
}
|
|
750
690
|
);
|
|
@@ -764,16 +704,16 @@ const ChildSupportQuestions = () => group(
|
|
|
764
704
|
}
|
|
765
705
|
);
|
|
766
706
|
|
|
767
|
-
const DivorceQuestions = () => group(
|
|
707
|
+
const DivorceQuestions = (condition, scope) => group(
|
|
768
708
|
'DivorceQuestions',
|
|
769
709
|
{
|
|
770
|
-
if: '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',
|
|
710
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"'),
|
|
771
711
|
children: [
|
|
772
|
-
haveAttorney(),
|
|
773
|
-
maritalStatus(),
|
|
774
|
-
haveChildren(),
|
|
775
|
-
degreeOfInterest(),
|
|
776
|
-
lawyerPaymentMethod()
|
|
712
|
+
haveAttorney(scope),
|
|
713
|
+
maritalStatus(scope),
|
|
714
|
+
haveChildren(scope),
|
|
715
|
+
degreeOfInterest(scope),
|
|
716
|
+
lawyerPaymentMethod(scope)
|
|
777
717
|
]
|
|
778
718
|
}
|
|
779
719
|
);
|
|
@@ -844,21 +784,17 @@ const findLastInput = (n) => {
|
|
|
844
784
|
|
|
845
785
|
const stepDefaults = (step) => ({
|
|
846
786
|
$el: 'section',
|
|
847
|
-
if: '$stepIsEnabled("' + step + '")',
|
|
848
787
|
attrs: {
|
|
849
|
-
|
|
850
|
-
if: '$activeStep !== "' + step + '"',
|
|
851
|
-
then: 'display: none;'
|
|
852
|
-
}
|
|
788
|
+
hidden: '$activeStep !== "' + step + '"'
|
|
853
789
|
}
|
|
854
790
|
});
|
|
855
791
|
|
|
856
792
|
function questionsStepHeadline(updates) {
|
|
857
793
|
return {
|
|
858
794
|
$el: 'h3',
|
|
859
|
-
children: updates.headline || 'Tell Us About Your
|
|
795
|
+
children: updates.headline || 'Tell Us About Your Situation',
|
|
860
796
|
attrs: {
|
|
861
|
-
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-
|
|
797
|
+
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'
|
|
862
798
|
}
|
|
863
799
|
}
|
|
864
800
|
}
|
|
@@ -869,7 +805,7 @@ function commentsStepHeadline(updates) {
|
|
|
869
805
|
$el: 'h3',
|
|
870
806
|
children: updates.headline || 'Additional Case Details',
|
|
871
807
|
attrs: {
|
|
872
|
-
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-
|
|
808
|
+
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 || '')
|
|
873
809
|
}
|
|
874
810
|
}
|
|
875
811
|
}
|
|
@@ -879,7 +815,7 @@ function firstAndLastStepHeadline(updates) {
|
|
|
879
815
|
$el: 'h3',
|
|
880
816
|
children: updates.headline || 'Please Provide a Contact Name',
|
|
881
817
|
attrs: {
|
|
882
|
-
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-
|
|
818
|
+
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 || '')
|
|
883
819
|
}
|
|
884
820
|
}
|
|
885
821
|
}
|
|
@@ -889,7 +825,7 @@ function contactStepHeadline(updates) {
|
|
|
889
825
|
$el: 'h3',
|
|
890
826
|
children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
|
|
891
827
|
attrs: {
|
|
892
|
-
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-
|
|
828
|
+
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'
|
|
893
829
|
}
|
|
894
830
|
}
|
|
895
831
|
}
|
|
@@ -936,10 +872,10 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false) {
|
|
|
936
872
|
}
|
|
937
873
|
if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
|
|
938
874
|
const lastInput = findLastInput(inputs[inputs.length - 1]);
|
|
939
|
-
if (nextOnEnter === true) {
|
|
875
|
+
if (lastInput && nextOnEnter === true) {
|
|
940
876
|
lastInput.onKeypress = NEXT_ON_ENTER;
|
|
941
877
|
}
|
|
942
|
-
if (nextOnInput === true) {
|
|
878
|
+
if (lastInput && nextOnInput === true) {
|
|
943
879
|
lastInput.onInput = NEXT_ON_INPUT;
|
|
944
880
|
}
|
|
945
881
|
}
|