bhl-forms 0.6.2 → 0.6.4

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.
Files changed (74) hide show
  1. package/dist/bhl-forms.es.js +4 -1
  2. package/dist/bhl-forms.iife.js +2 -2
  3. package/dist/bhl-forms.modern.es.js +491 -488
  4. package/dist/bhl-forms.modern.iife.js +7 -7
  5. package/dist/bhl-forms.modern.umd.js +7 -7
  6. package/dist/bhl-forms.umd.js +2 -2
  7. package/dist/forms/accidentsAndInjuries.es.js +11 -7
  8. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  9. package/dist/forms/accidentsAndInjuries.json +1 -1
  10. package/dist/forms/appraisals.es.js +2 -1
  11. package/dist/forms/appraisals.iife.js +1 -1
  12. package/dist/forms/childAndFamily.es.js +13 -8
  13. package/dist/forms/childAndFamily.iife.js +1 -1
  14. package/dist/forms/childAndFamily.json +1 -1
  15. package/dist/forms/childAndFamilySingle.es.js +43 -42
  16. package/dist/forms/childAndFamilySingle.iife.js +1 -1
  17. package/dist/forms/childAndFamilySingle.json +1 -1
  18. package/dist/forms/civilLawsuit.es.js +13 -8
  19. package/dist/forms/civilLawsuit.iife.js +1 -1
  20. package/dist/forms/civilLawsuit.json +1 -1
  21. package/dist/forms/coins.es.js +2 -1
  22. package/dist/forms/coins.iife.js +1 -1
  23. package/dist/forms/contracts.es.js +11 -7
  24. package/dist/forms/contracts.iife.js +1 -1
  25. package/dist/forms/contracts.json +1 -1
  26. package/dist/forms/criminal.es.js +14 -8
  27. package/dist/forms/criminal.iife.js +1 -1
  28. package/dist/forms/criminal.json +1 -1
  29. package/dist/forms/employmentAndWorkplace.es.js +11 -7
  30. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  31. package/dist/forms/employmentAndWorkplace.json +1 -1
  32. package/dist/forms/generalLegal.es.js +14 -8
  33. package/dist/forms/generalLegal.iife.js +1 -1
  34. package/dist/forms/generalLegal.json +1 -1
  35. package/dist/forms/generalLegalPopUnder.es.js +14 -8
  36. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  37. package/dist/forms/generalLegalPopUnder.json +1 -1
  38. package/dist/forms/generalLegalPopUnderTF.es.js +12 -7
  39. package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
  40. package/dist/forms/generalLegalPopUnderTF.json +1 -1
  41. package/dist/forms/generalLegalSingle.es.js +93 -63
  42. package/dist/forms/generalLegalSingle.iife.js +1 -1
  43. package/dist/forms/generalLegalSingle.json +1 -1
  44. package/dist/forms/generalLegalThankYou.es.js +12 -7
  45. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  46. package/dist/forms/generalLegalThankYou.json +1 -1
  47. package/dist/forms/harassmentAndDiscrimination.es.js +11 -7
  48. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  49. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  50. package/dist/forms/malpractice.es.js +11 -7
  51. package/dist/forms/malpractice.iife.js +1 -1
  52. package/dist/forms/malpractice.json +1 -1
  53. package/dist/forms/mechanics.es.js +2 -1
  54. package/dist/forms/mechanics.iife.js +1 -1
  55. package/dist/forms/realEstate.es.js +12 -7
  56. package/dist/forms/realEstate.iife.js +1 -1
  57. package/dist/forms/realEstate.json +1 -1
  58. package/dist/forms/repossession.es.js +11 -7
  59. package/dist/forms/repossession.iife.js +1 -1
  60. package/dist/forms/repossession.json +1 -1
  61. package/dist/forms/ssdi.es.js +20 -13
  62. package/dist/forms/ssdi.iife.js +1 -1
  63. package/dist/forms/ssdi.json +1 -1
  64. package/dist/forms/testForm.es.js +2 -1
  65. package/dist/forms/testForm.iife.js +1 -1
  66. package/dist/forms/testRedirects.es.js +2 -1
  67. package/dist/forms/testRedirects.iife.js +1 -1
  68. package/dist/forms/vets.es.js +2 -1
  69. package/dist/forms/vets.iife.js +1 -1
  70. package/dist/forms/willsAndTrusts.es.js +11 -7
  71. package/dist/forms/willsAndTrusts.iife.js +1 -1
  72. package/dist/forms/willsAndTrusts.json +1 -1
  73. package/dist/main.css +1 -1
  74. package/package.json +2 -2
@@ -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\"","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","useLocalStorage":true,"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":"malpractice","redirectMap":{"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"},"valueOverrideMap":{"Civil_Defense":{"Yes":{"Type_Of_Legal_Problem":"Defend a Lawsuit"},"No":{"Type_Of_Legal_Problem":"File 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"}}},"name":"malpractice"},"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 Justice for Malpractice!\")","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, Easy, 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":"$stepEnabled(\"malpracticeTOLPAndZip\")","attrs":{"hidden":"$activeStep !== \"malpracticeTOLPAndZip\"","key":"malpracticeTOLPAndZip"},"children":[{"$formkit":"group","id":"malpracticeTOLPAndZip","name":"malpracticeTOLPAndZip","children":[{"$formkit":"hidden","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","value":"Medical Malpractice"},{"$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","label":"Select The Malpractice Issue:","options":["Medical Malpractice","Attorney Malpractice","Other Malpractice Issues"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"Type_Of_Legal_Problem_Display"},{"$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","id":"Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"TOLPQuestions\")","attrs":{"hidden":"$activeStep !== \"TOLPQuestions\"","key":"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":"MedicalMalpracticeQuestions","id":"MedicalMalpracticeQuestions","name":"MedicalMalpracticeQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Medical Malpractice\"","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","id":"Have_Attorney"},{"$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","id":"Incident_Date"},{"$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]","id":"Claim_Status"},{"$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","id":"Doctor_Treatment"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Injuries from Medical Malpractice:","name":"Medical_Malpractice_Injuries","options":["No Injury","Minor Injury","Disfigurement or cosmetic injury","Short term loss of physical ability","Long term loss of physical injury","Possibility of future harm","Death of Patient"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"Medical_Malpractice_Injuries"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"Degree_Of_Interest","id":"Degree_Of_Interest","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"CivilLawsuitQuestions","id":"CivilLawsuitQuestions","name":"CivilLawsuitQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Civil Lawsuit\"","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","id":"Have_Attorney"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"The Other Party is a:","name":"Lawsuit_Other_Party","options":["Individual","Small Business","Large Corporation","Government Entity"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"Lawsuit_Other_Party"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"Degree_Of_Interest","id":"Degree_Of_Interest","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"NotSureOrOtherQuestions","id":"NotSureOrOtherQuestions","name":"NotSureOrOtherQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Not Sure or Other\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"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","id":"Have_Attorney"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"Degree_Of_Interest","id":"Degree_Of_Interest","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]}]},{"$el":"section","if":"$stepEnabled(\"commentsWithBankruptcy\")","attrs":{"hidden":"$activeStep !== \"commentsWithBankruptcy\"","key":"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","name":"Comments","label":"Please briefly describe your legal issue in a few words:","placeholder":"Example: \"My doctor or attorney was negligent in providing care.\"","inputClass":"!t-h-40","id":"Comments"},{"$formkit":"checkbox","validation":null,"validationMessages":{"required":"Field is required"},"label":"I'd also like a consultation for bankruptcy or debt elimination (optional)","help":"Note: you will be contacted separately by a bankruptcy/debt expert","name":"CrossSell_Bankruptcy","id":"CrossSell_Bankruptcy","if":"$getVal($get(form), \"Type_Of_Legal_Problem\") != \"Bankruptcy\" && ($getVal($get(form), \"Degree_Of_Interest\") == \"Absolutely Can't Afford\" || $getVal($get(form), \"Degree_Of_Interest\") == \"Maybe\" || $getVal($get(form), \"Degree_Of_Interest\") == \"Probably\")","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":"div","if":"$get(CrossSell_Bankruptcy).value == true","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Bankruptcy:Comments","label":"Bankruptcy or debt details:","placeholder":"Please describe your bankrtupcy or debt situation in a few words...","inputClass":"!t-h-16","id":"CrossSell:Bankruptcy:Comments"}]}]}]},{"$el":"section","if":"$stepEnabled(\"firstAndLast\")","attrs":{"hidden":"$activeStep !== \"firstAndLast\"","key":"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:","placeholder":"First","name":"First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center","id":"First_Name"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","placeholder":"Last","name":"Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","id":"Last_Name","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"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","id":"Email"},{"$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","id":"Primary_Phone"},{"$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"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"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","useLocalStorage":true,"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":"malpractice","redirectMap":{"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"},"valueOverrideMap":{"Civil_Defense":{"Yes":{"Type_Of_Legal_Problem":"Defend a Lawsuit"},"No":{"Type_Of_Legal_Problem":"File 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"}}},"name":"malpractice"},"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 Justice for Malpractice!\")","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, Easy, 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":"$stepEnabled(\"malpracticeTOLPAndZip\")","attrs":{"hidden":"$activeStep !== \"malpracticeTOLPAndZip\"","key":"malpracticeTOLPAndZip"},"children":[{"$formkit":"group","id":"malpracticeTOLPAndZip","name":"malpracticeTOLPAndZip","children":[{"$formkit":"hidden","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","value":"Medical Malpractice"},{"$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","label":"Select The Malpractice Issue:","options":["Medical Malpractice","Attorney Malpractice","Other Malpractice Issues"],"fieldsetClass":"$reset","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"Type_Of_Legal_Problem_Display"},{"$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","id":"Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"TOLPQuestions\")","attrs":{"hidden":"$activeStep !== \"TOLPQuestions\"","key":"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":"MedicalMalpracticeQuestions","id":"MedicalMalpracticeQuestions","name":"MedicalMalpracticeQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Medical Malpractice\"","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","id":"Have_Attorney"},{"$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","id":"Incident_Date"},{"$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]","id":"Claim_Status"},{"$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","id":"Doctor_Treatment"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Injuries from Medical Malpractice:","name":"Medical_Malpractice_Injuries","options":["No Injury","Minor Injury","Disfigurement or cosmetic injury","Short term loss of physical ability","Long term loss of physical injury","Possibility of future harm","Death of Patient"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"Medical_Malpractice_Injuries"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"Degree_Of_Interest","id":"Degree_Of_Interest","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"CivilLawsuitQuestions","id":"CivilLawsuitQuestions","name":"CivilLawsuitQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Civil Lawsuit\"","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","id":"Have_Attorney"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"The Other Party is a:","name":"Lawsuit_Other_Party","options":["Individual","Small Business","Large Corporation","Government Entity"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"Lawsuit_Other_Party"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"Degree_Of_Interest","id":"Degree_Of_Interest","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$cmp":"FormKit","props":{"type":"group","key":"NotSureOrOtherQuestions","id":"NotSureOrOtherQuestions","name":"NotSureOrOtherQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Not Sure or Other\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"Have_Attorney","label":"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","id":"Have_Attorney"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"Degree_Of_Interest","id":"Degree_Of_Interest","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]}]},{"$el":"section","if":"$stepEnabled(\"commentsWithBankruptcy\")","attrs":{"hidden":"$activeStep !== \"commentsWithBankruptcy\"","key":"commentsWithBankruptcy"},"children":[{"$formkit":"group","id":"commentsWithBankruptcy","name":"commentsWithBankruptcy","autoFocus":false,"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","name":"Comments","label":"Please briefly describe your legal issue in a few words:","placeholder":"Example: \"My doctor or attorney was negligent in providing care.\"","inputClass":"!t-h-40","id":"Comments"},{"$formkit":"checkbox","validation":null,"validationMessages":{"required":"Field is required"},"label":"I'd also like a consult for bankruptcy or debt elimination (optional)","help":"Note: you will be contacted separately by a bankruptcy/debt expert","name":"CrossSell_Bankruptcy","id":"CrossSell_Bankruptcy","if":"$getVal($get(form), \"Type_Of_Legal_Problem\") != \"Bankruptcy\" && ($getVal($get(form), \"Degree_Of_Interest\") == \"Absolutely Can't Afford\" || $getVal($get(form), \"Degree_Of_Interest\") == \"Maybe\" || $getVal($get(form), \"Degree_Of_Interest\") == \"Probably\")","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":"div","if":"$get(CrossSell_Bankruptcy).value == true","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Bankruptcy:Comments","label":"Bankruptcy or debt details:","placeholder":"Please describe your bankrtupcy or debt situation in a few words...","inputClass":"!t-h-16","id":"CrossSell:Bankruptcy:Comments"}]}]}]},{"$el":"section","if":"$stepEnabled(\"firstAndLast\")","attrs":{"hidden":"$activeStep !== \"firstAndLast\"","key":"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:","placeholder":"First","name":"First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center","id":"First_Name"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","placeholder":"Last","name":"Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","id":"Last_Name","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"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","id":"Email"},{"$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","id":"Primary_Phone"},{"$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"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
@@ -217,7 +217,7 @@ const stepDefaults = (step, stepKey) => ({
217
217
  }
218
218
  });
219
219
 
220
- function step(name, inputs, nextOnEnter = true, nextOnInput = false, stepKey = undefined, nextStepMap = undefined) {
220
+ function step(name, inputs, nextOnEnter = true, nextOnInput = false, stepKey = undefined, nextStepMap = undefined, autoFocus = undefined) {
221
221
  if (typeof nextOnEnter === 'undefined') {
222
222
  nextOnEnter = true;
223
223
  }
@@ -240,6 +240,7 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false, stepKey = u
240
240
  id: name,
241
241
  name: name,
242
242
  nextStepMap: nextStepMap,
243
+ autoFocus: autoFocus,
243
244
  children: inputs
244
245
  }
245
246
  ]
@@ -1 +1 @@
1
- var mechanics=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,r){return"https://listings."+e+"/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(r)}const r={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const n=[{$formkit:"hidden",name:"vertical",value:"AutoRepair"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],s=(t,r)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:r?r+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),i=()=>{return(t={id:"Mechanics_CrossSells",name:"Mechanics_CrossSells",label:"Click all that apply (optional):",fieldsetClass:"$reset",wrapperClass:"t-mb-2",optionsClass:"t-pt-3",legendClass:"",validation:null,options:{"Auto Insurance":"I'd like to save on my car insurance"}}).name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t);var t},l="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",a="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",o=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,c=e=>{if(o(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(o(r))return r;const n=c(r);if(n)return n}return null},d=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});const u=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},h),{$cmp:"FormKit",props:function(t){const n=e(r,t);return n.formId&&!n.name&&(n.name=n.formId),n}({formId:"mechanics",popUnderMap:{"properties.Mechanics_CrossSells":{"Auto Insurance":t("answers-now.com","Insurance","Auto Insurance")}},redirectMap:{"*":(p="answers-now.com",m="AutoRepair",f="Mechanics",t(p,m,f)+"&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", "Book Top-rated Mechanics")',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", "Certified Shops, Instant Quotes Online!")',if:"$activeStep === $firstStep()"}),...n,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,r,n=!0,s=!1,i,o){if(void 0===n&&(n=!0),r&&r.length&&(n||s)){const e=c(r[r.length-1]);e&&!0===n&&(e.onKeypress=l),e&&!0===s&&(e.onInput=a)}return e(d(t,i),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,children:r}]})}("commentsMechanics",[s({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)',inputClass:"!t-h-20"}),i()],t.nextOnEnter)}({label:"Please briefly describe your issue:",placeholder:'Example: "I\'m having transmission trouble", or "My brakes need to be replaced"',nextOnEnter:!1}),function(e={}){return{$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:e.submitLabel||"Chat Now"}]}}({submitLabel:"Start"}),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var p,m,f,h;return u}();
1
+ var mechanics=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,r){return"https://listings."+e+"/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(r)}const r={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const n=[{$formkit:"hidden",name:"vertical",value:"AutoRepair"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],s=(t,r)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:r?r+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),i=()=>{return(t={id:"Mechanics_CrossSells",name:"Mechanics_CrossSells",label:"Click all that apply (optional):",fieldsetClass:"$reset",wrapperClass:"t-mb-2",optionsClass:"t-pt-3",legendClass:"",validation:null,options:{"Auto Insurance":"I'd like to save on my car insurance"}}).name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t);var t},l="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",a="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",o=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,c=e=>{if(o(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(o(r))return r;const n=c(r);if(n)return n}return null},d=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});const u=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},h),{$cmp:"FormKit",props:function(t){const n=e(r,t);return n.formId&&!n.name&&(n.name=n.formId),n}({formId:"mechanics",popUnderMap:{"properties.Mechanics_CrossSells":{"Auto Insurance":t("answers-now.com","Insurance","Auto Insurance")}},redirectMap:{"*":(p="answers-now.com",m="AutoRepair",f="Mechanics",t(p,m,f)+"&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", "Book Top-rated Mechanics")',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", "Certified Shops, Instant Quotes Online!")',if:"$activeStep === $firstStep()"}),...n,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,r,n=!0,s=!1,i,o,u){if(void 0===n&&(n=!0),r&&r.length&&(n||s)){const e=c(r[r.length-1]);e&&!0===n&&(e.onKeypress=l),e&&!0===s&&(e.onInput=a)}return e(d(t,i),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,autoFocus:u,children:r}]})}("commentsMechanics",[s({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)',inputClass:"!t-h-20"}),i()],t.nextOnEnter)}({label:"Please briefly describe your issue:",placeholder:'Example: "I\'m having transmission trouble", or "My brakes need to be replaced"',nextOnEnter:!1}),function(e={}){return{$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:e.submitLabel||"Chat Now"}]}}({submitLabel:"Start"}),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var p,m,f,h;return u}();
@@ -792,7 +792,7 @@ const atFault = (scope) => sbsYesNoRadio({
792
792
  });
793
793
 
794
794
  const bankruptcyCrossSell = () => sbsCheckbox({
795
- label: "I'd also like a consultation for bankruptcy or debt elimination (optional)",
795
+ label: "I'd also like a consult for bankruptcy or debt elimination (optional)",
796
796
  help: "Note: you will be contacted separately by a bankruptcy/debt expert",
797
797
  name: 'CrossSell_Bankruptcy',
798
798
  id: 'CrossSell_Bankruptcy',
@@ -2561,8 +2561,6 @@ function questionsStepHeadline(updates) {
2561
2561
  }
2562
2562
  }
2563
2563
 
2564
-
2565
-
2566
2564
  function commentsStepHeadline(updates) {
2567
2565
  return {
2568
2566
  $el: 'h3',
@@ -2636,7 +2634,7 @@ const stepDefaults = (step, stepKey) => ({
2636
2634
  }
2637
2635
  });
2638
2636
 
2639
- function step(name, inputs, nextOnEnter = true, nextOnInput = false, stepKey = undefined, nextStepMap = undefined) {
2637
+ function step(name, inputs, nextOnEnter = true, nextOnInput = false, stepKey = undefined, nextStepMap = undefined, autoFocus = undefined) {
2640
2638
  if (typeof nextOnEnter === 'undefined') {
2641
2639
  nextOnEnter = true;
2642
2640
  }
@@ -2659,6 +2657,7 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false, stepKey = u
2659
2657
  id: name,
2660
2658
  name: name,
2661
2659
  nextStepMap: nextStepMap,
2660
+ autoFocus: autoFocus,
2662
2661
  children: inputs
2663
2662
  }
2664
2663
  ]
@@ -2672,9 +2671,9 @@ function commentsWithBankruptcyV2(updates = {}) {
2672
2671
  [
2673
2672
  commentsStepHeadline(updates),
2674
2673
  comments({
2675
- label: updates.label === undefined ? DEFAULT_COMMENTS_LABEL : updates.label,
2674
+ label: typeof updates.label === 'undefined' ? DEFAULT_COMMENTS_LABEL : updates.label,
2676
2675
  placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
2677
- inputClass: updates.inputClass === undefined ? '!t-h-40' : updates.inputClass,
2676
+ inputClass: typeof updates.inputClass === 'undefined' ? '!t-h-40' : updates.inputClass,
2678
2677
  }),
2679
2678
  bankruptcyCrossSell(),
2680
2679
  {
@@ -2689,7 +2688,12 @@ function commentsWithBankruptcyV2(updates = {}) {
2689
2688
  ],
2690
2689
  }
2691
2690
  ],
2692
- updates.nextOnEnter
2691
+ // TODO: UGLY: use named params!
2692
+ updates.nextOnEnter,
2693
+ false,
2694
+ undefined,
2695
+ undefined,
2696
+ false
2693
2697
  )
2694
2698
  }
2695
2699
 
@@ -2722,6 +2726,7 @@ function firstAndLastV2(updates = {}) {
2722
2726
  )
2723
2727
  }
2724
2728
 
2729
+
2725
2730
  const AllTOLPQuestions = () => {
2726
2731
  return [
2727
2732
  AdoptionQuestions(),