Protecting Your Rights for over 40 years

Las Vegas Highway Accident Attorneys

Google Reviews
Over $500 Million in Verdicts & Settlements
4.9/5 ( 170 + Reviews)
Las Vegas Highway Accident Attorneys
Over $500 Million in Verdicts & Settlements

Jack G. Bernstein prides himself on achieving outstanding results for his clients and is personally involved in every case and makes sure you get the maximum compensation for your injuries.

Don’t Take a Tiny Check!​

For over 40 years, Jack Bernstein has protected the rights of injured victims and their families. Don’t let medical bills, lost wages, and other expenses put a burden on your family.

Call (702) 633-3333 today for a free consultation.

Over $500 Million in Verdicts & Settlements

A serious car accident on a busy Las Vegas highway like the I-15, US-95, or the 215 Beltway is a traumatic and disorienting experience. In the moments and days that follow, you’re likely facing pain, confusion, and urgent questions about what to do next. If you’ve been injured, understanding your rights and how to navigate the complexities of a Nevada highway accident claim is crucial.

Jack Bernstein Injury Lawyers has been helping people in Las Vegas through these difficult situations for over 40 years. We provide the clear guidance and experienced legal support you need to move forward.

Why Hire Jack Bernstein Injury Lawyers?

Jack Bernstein

Jack G. Bernstein, Esq. has been protecting the rights of injured victims and their families for over 40 Years.

What Our Clients Say​

I had a fantastic experience with Jack Bernstein injury attorney firm! The team was incredibly smart and supportive, guiding me through every step of my case. Their expertise and dedication made a significant difference in the outcome of my situation. I truly appreciate their assistance and highly recommend their services to anyone in need of a top-notch injury attorney.

– Ashley Sonson

Why Las Vegas Highway Accidents Are More Complex and Dangerous

Accidents on major Las Vegas highways like I-15, US-95, or the 215 Beltway are often far more than just a “fender bender.” The combination of high speeds, heavy traffic volume (including many large commercial trucks and out-of-state drivers), and the potential for multi-vehicle pile-ups creates uniquely hazardous conditions. These factors not only increase the risk of severe injuries but also add significant layers of complexity when it comes to investigating the crash and determining legal responsibility. Understanding these distinct challenges is an important part of navigating the aftermath.

The Impact of Higher Speeds: Severe Injuries and Greater Risk

The fundamental physics of a highway collision mean that higher speeds translate directly into more violent impacts and, tragically, more catastrophic harm. Vehicles traveling at 65, 75 mph or more carry immense force. When a crash occurs:

  • Injury severity escalates dramatically. Occupants can suffer devastating trauma, including:
    • Traumatic Brain Injuries (TBIs)
    • Spinal cord damage, potentially leading to paralysis
    • Severe internal organ injuries
    • Multiple bone fractures or crush injuries
    • Amputations
  • The likelihood of fatalities increases. High-speed impacts unfortunately raise the probability of wrongful death, leaving families to cope with unimaginable loss.

The sheer force involved means that even with modern vehicle safety features, the human body is subjected to extreme stress in a highway crash.

Multi-Vehicle Collisions: Untangling Complex Liability

Highways are prone to chain-reaction crashes or pile-ups involving three, four, or even dozens of vehicles. A single act of negligence—a sudden unsafe lane change, a truck tire blowout, or an impaired driver—can trigger a cascade of impacts.

Untangling liability in these multi-vehicle scenarios is a significant challenge:

  • Determining initial fault: Pinpointing which driver’s actions started the chain reaction requires careful investigation.
  • Assessing subsequent impacts: Each collision within the pile-up may have its own contributing factors. One driver might have been following too closely, another might have been distracted.
  • Shared responsibility: It’s common for multiple parties to bear some percentage of fault in these complex situations.

This web of interactions makes proving who is responsible for your specific injuries and damages far more complicated than in a typical two-car accident on a surface street.

Unique Evidence and Jurisdictional Factors on Nevada Freeways

Investigating accidents on Nevada’s freeways presents its own set of challenges and considerations:

  • Lead Investigating Agency: The Nevada Highway Patrol (NHP) typically takes the lead in investigating crashes on interstate highways and state routes. Understanding their procedures and how to obtain their reports is key.
  • Evidence Preservation: Evidence can be compromised or disappear quickly on a busy highway.
    • Debris fields can be scattered over large areas or cleared rapidly to reopen lanes.
    • Witnesses may be passing through from out of state and harder to locate later.
    • While some areas may have Nevada Department of Transportation (NDOT) traffic cameras, footage isn’t always available or retained for long periods.
  • Jurisdictional Nuances: If an accident occurs near city or county lines, or on a stretch of highway with overlapping jurisdictions, it can sometimes add a layer of complexity to the initial response and subsequent legal proceedings.

These unique factors underscore why experience with the specifics of Las Vegas and Nevada highway accident claims is so important.

Common Causes of Devastating Accidents on Las Vegas & Nevada Highways

While every highway crash has its own unique sequence of events, many stem from recognizable patterns of negligent behavior or hazardous conditions. On the high-speed, high-volume arteries in and around Las Vegas, such as I-15, US-95, and the 215 Beltway, these factors can have particularly devastating consequences. Understanding these common causes is often the first step in determining how an accident occurred and who may be responsible.

Speeding, Aggressive Driving, and Reckless Maneuvers

The design of highways accommodates higher speeds, but when drivers exceed posted limits or operate their vehicles with aggression, the margin for error vanishes almost instantly.

  • Excessive Speed: Traveling faster than the posted speed limit, or too fast for prevailing traffic or weather conditions, dramatically reduces a driver’s ability to react to sudden hazards and significantly increases impact forces in a collision.
  • Aggressive Driving & Tailgating: Behaviors like following too closely (tailgating), making frequent and unsafe lane changes, weaving through traffic, or road rage create an unstable and dangerous environment for everyone.
  • Reckless Maneuvers: Cutting off other vehicles, misjudging distances when merging, or failing to yield the right-of-way can directly trigger severe accidents.

Las Vegas highways see a mix of local commuters, commercial traffic, and tourists who may be unfamiliar with the routes or driving with a sense of urgency or impatience, sometimes contributing to these dangerous driving patterns.

The Pervasive Dangers of Distracted and Impaired Driving

A moment’s inattention or a compromised ability to drive can have catastrophic outcomes at highway speeds.

Distracted Driving: Any activity that diverts a driver’s attention from the primary task of driving is a distraction. On a highway, where vehicles cover large distances in mere seconds, this is especially perilous. Common distractions include:

  • Texting or using a cell phone
  • Interacting with GPS or navigation systems
  • Adjusting music or in-car entertainment
  • Eating or drinking
  • Engaging with passengers

Impaired Driving (DUI): Driving under the influence of alcohol or drugs remains a significant problem on Nevada’s highways, particularly in and around a 24/7 city like Las Vegas. Impairment, whether from alcohol, marijuana, prescription medications, or illegal substances, severely degrades a driver’s:

  • Judgment and decision-making
  • Reaction time
  • Coordination
  • Vision and perception

Crashes caused by impaired drivers often involve extreme recklessness and can lead to severe criminal charges in addition to civil liability for the harm caused.

Hazards from Commercial Trucks and Highway Construction Zones

The presence of large commercial trucks and the frequency of highway construction add other layers of risk to Las Vegas freeway travel.

Commercial Truck Dangers: Large trucks (semi-trucks, tractor-trailers) are a common sight on routes like I-15, a major corridor for interstate commerce. While essential, they also pose specific risks:

  • Driver Fatigue: Long hours on the road can lead to dangerously tired truckers.
  • Improper Loading: Overloaded or improperly secured cargo can cause a truck to become unstable or spill onto the highway.
  • Larger Blind Spots (“No-Zones”): Trucks have significant blind spots around them where smaller vehicles can disappear from the driver’s view.
  • Longer Stopping Distances: Due to their size and weight, trucks require much more distance to stop than passenger cars.
  • Maintenance Issues: Poorly maintained brakes, tires, or other critical components can lead to catastrophic failures.

Highway Construction Zones: Road construction is a constant on busy Las Vegas highways. While necessary, these zones can be hazardous if not properly managed:

  • Inadequate Warnings or Signage: Lack of clear advance warning about lane closures, speed reductions, or changes in traffic patterns.
  • Poorly Marked Lane Shifts or Merges: Confusing or abrupt lane changes can catch drivers off guard.
  • Uneven Pavement or Debris: Creating unexpected driving challenges.
  • Negligence by Construction Companies or Contractors: Sometimes, the construction company itself may create unsafe conditions or fail to implement proper traffic control plans, potentially making them liable for resulting accidents.

Nevada Laws That Will Shape Your Las Vegas Highway Accident Claim

If you’ve been injured in a highway accident in Las Vegas, several key Nevada laws will directly influence how your claim is handled and your ability to recover compensation. Understanding these legal principles is essential for protecting your rights. While an experienced attorney will navigate these complexities for you, having a basic grasp can help you understand the process.

Nevada’s At-Fault System & Your Right to Compensation

Nevada operates under an “at-fault” system for auto accidents. In simple terms, this means:

  • The person (or parties) who is legally determined to be responsible for causing the accident is liable for the damages that result.
  • If you are injured due to another driver’s negligence on a Las Vegas highway, you have the right to seek compensation from that at-fault driver and their insurance company.

This is different from “no-fault” states, where your own insurance typically covers your initial medical bills regardless of who caused the crash. In Nevada, the focus is on establishing fault to determine financial responsibility.

Understanding Nevada’s Comparative Negligence Rule (NRS 41.141)

It’s not uncommon for more than one driver to share some degree of responsibility for a highway accident, especially in multi-vehicle pile-ups. Nevada law addresses this through a rule called modified comparative negligence,” outlined in Nevada Revised Statute (NRS) 41.141.

Here’s how it works:

  • Shared Fault: You can still recover damages even if you were partially at fault for the accident.
  • The 51% Bar: However, your percentage of fault must not be 51% or greater. If you are found to be 51% or more responsible for the accident, you are barred from recovering any compensation from other at-fault parties.
  • Reduced Compensation: If your fault is 50% or less, your compensation will be reduced proportionally by your percentage of fault.

Hypothetical Example: Imagine your total damages from a highway accident are $100,000.

  • If you are found to be 20% at fault, your recoverable damages would be reduced by 20%, so you could receive $80,000.
  • If you are found to be 51% at fault, you would receive $0.

This rule makes a thorough investigation to accurately determine each party’s degree of fault critically important in any Las Vegas highway accident claim.

Critical Time Limits: Nevada’s Statute of Limitations for Filing Your Claim

Nevada law sets a strict deadline for filing a lawsuit after a highway accident. This is known as the statute of limitations.

  • For personal injury claims (if you were injured in the accident), you generally have two years from the date of the accident to file a lawsuit.
  • For wrongful death claims (if a loved one was fatally injured), the family generally has two years from the date of the loved one’s death to file a lawsuit.

This is an absolutely critical deadline. If you fail to file your lawsuit within this two-year period, Nevada courts will almost certainly dismiss your case, and you will lose your legal right to seek compensation for your injuries or losses, no matter how strong your claim might otherwise be. There are very few exceptions to this rule.

Because of these strict time limits and the complexities of Nevada law, it is highly advisable to speak with an experienced Las Vegas highway accident attorney as soon as possible after an accident. They can help ensure your rights are protected and all necessary legal actions are taken within the required timeframes.

Vital First Steps After a Collision on a Las Vegas Highway

The moments immediately following a crash on a busy Las Vegas highway are often chaotic, frightening, and confusing. Your priority is safety, but the actions you take – or don’t take – can also significantly impact your health and any future legal claim. While every situation is unique, here are some crucial steps to consider if you are involved in a highway collision.

Prioritize Safety, Call 911, and Cooperate with Nevada Highway Patrol (NHP)

Your immediate concern should always be the safety of yourself and others.

  • Assess for Injuries and Call 911: Check yourself and your passengers for injuries. Call 911 immediately to report the accident and request emergency medical assistance if anyone is hurt. Even if injuries seem minor, it’s wise to have paramedics evaluate everyone at the scene.
  • Move to a Safer Location (If Possible): Highways are dangerous environments. If your vehicle is movable and you can do so safely, try to pull over to the shoulder or a designated emergency area to avoid further collisions. If you cannot move your vehicle, turn on your hazard lights. If you can exit the vehicle safely, move away from moving traffic, perhaps behind a guardrail, while awaiting help.
  • Cooperate with Law Enforcement: The Nevada Highway Patrol (NHP) will likely respond to an accident on a Las Vegas freeway. Cooperate fully with the responding officers. Provide accurate, factual information about what happened, but avoid speculating or admitting fault. Ensure an official accident report is filed, and ask the officer for their name, badge number, and the report number.

Documenting What You Can (Safely) and Exchanging Information

Once safety is addressed and law enforcement is on the scene, gathering information is important, but only if you can do so without endangering yourself or others.

  • Exchange Information: Get the following from all other drivers involved:
    • Name and contact information (address, phone number, email)
    • Driver’s license number
    • Insurance company name and policy number
    • Vehicle make, model, year, color, and license plate number
    • It can be helpful to take photos of the other drivers’ licenses and insurance cards if they permit it.
  • Take Photographs/Videos (Safely): If you can do so safely from a position away from traffic, use your smartphone to document the scene. Capture:
    • Damage to all vehicles involved, from multiple angles.
    • License plates.
    • The accident scene as a whole, including skid marks, debris, traffic signals, and any conditions that might have contributed (e.g., construction, road hazards).
    • Any visible injuries you or your passengers sustained.
  • Identify Witnesses: If there were any witnesses to the crash (other drivers or pedestrians who stopped), try to get their names and contact information. Their independent accounts can be very valuable.

Seek Immediate Medical Evaluation and Preserve Medical Records

Even if you feel okay immediately after a highway crash, it’s crucial to get a medical evaluation as soon as possible.

  • Adrenaline Can Mask Pain: The shock and adrenaline of an accident can hide symptoms of injuries. Some serious conditions, like whiplash, internal injuries, or even traumatic brain injuries (TBIs), may not show obvious symptoms for hours or even days.
  • Establish a Record: Seeking prompt medical attention creates an official record linking any injuries to the accident, which is important for insurance claims and legal purposes.
  • Follow Medical Advice: Attend all follow-up appointments, take prescribed medications, and follow your doctor’s treatment plan.
  • Keep Detailed Records: Maintain a file with all medical reports, bills, receipts for prescriptions, and any instructions from your healthcare providers.

Notify Your Insurance Company and Consult a Highway Accident Lawyer

You will need to report the accident to your own auto insurance company as required by your policy. However, when it comes to dealing with the other driver’s insurer or giving detailed statements:

  • Notify Your Insurer: Provide basic factual information about the accident to your own insurance company.
  • Consult an Attorney: Before giving a recorded statement to any insurance adjuster (even your own, beyond basic facts) or accepting any settlement offer, it is strongly advisable to speak with an experienced Las Vegas highway accident lawyer. Insurance companies aim to minimize payouts. An attorney can protect your rights, advise you on how to deal with insurers, and help you understand the true value of your claim.

Taking these steps can help safeguard your well-being and your legal options in the challenging days and weeks following a highway accident.

Investigating Liability and Pursuing Fair Compensation in Nevada

After the immediate aftermath of a Las Vegas highway accident, the focus shifts towards understanding exactly what happened, who was responsible, and the full extent of the harm caused. A thorough investigation is crucial for identifying all at-fault parties and building a strong case to pursue the fair compensation you need to recover and rebuild. This process involves looking beyond the obvious and meticulously calculating all damages you have suffered.

Uncovering All Liable Parties: Beyond Just Other Drivers

While the driver who directly caused the collision is often a primary focus, liability for a highway accident isn’t always limited to that individual. An experienced legal team will look into all potential sources of responsibility, which can sometimes include:

  • Other Negligent Drivers: In multi-vehicle pile-ups, several drivers might share fault.
  • Trucking Companies: If a commercial truck was involved, the trucking company could be liable for its driver’s negligence (due to issues like inadequate training, pressure to meet unrealistic schedules leading to fatigue, or violations of federal trucking regulations), improper vehicle maintenance, or unsafe loading practices.
  • Employers: If the at-fault driver was on the job at the time of the crash (e.g., a delivery driver or salesperson), their employer might be held vicariously liable for their actions.
  • Vehicle or Parts Manufacturers: If a vehicle defect, such as faulty brakes, a defective tire, or a malfunctioning airbag, contributed to causing the accident or worsened injuries, the manufacturer could be responsible.
  • Government Entities: In some cases, a dangerous road condition due to negligent design, construction, or inadequate maintenance (like poor signage, non-functioning traffic signals, or hazardous shoulder conditions) might point to liability on the part of a state or local government agency. Claims against government entities in Nevada are particularly complex and have strict notice requirements and potential immunities.

Identifying all potentially liable parties is essential for maximizing your chances of a full financial recovery.

Calculating the Full Extent of Your Damages: What Can You Claim?

The goal of a personal injury claim is to “make you whole” again, at least financially, for the losses you’ve suffered due to someone else’s negligence. This involves carefully calculating all current and future damages. Depending on the specifics of your Las Vegas highway accident, you may be entitled to compensation for:

  • Current and Future Medical Expenses: This includes costs for emergency services, hospitalization, surgeries, doctor’s visits, medications, rehabilitation therapies (physical, occupational, speech), assistive devices, and any ongoing or future medical care your injuries may require.
  • Lost Wages and Income: Compensation for the time you’ve missed from work due to your injuries.
  • Diminished Earning Capacity: If your injuries permanently affect your ability to earn a living at the same level as before the accident.
  • Property Damage: The cost to repair or replace your damaged vehicle and any other personal property harmed in the crash.
  • Pain and Suffering: Compensation for the physical pain, discomfort, and emotional distress you have endured and may continue to experience.
  • Emotional Distress: For significant psychological impacts such as anxiety, depression, or PTSD resulting from the traumatic event.
  • Loss of Enjoyment of Life: If your injuries prevent you from participating in hobbies, activities, or aspects of daily life that you previously enjoyed.
  • Loss of Consortium: In Nevada, the spouse of an injured person may be able to claim damages for the loss of companionship, affection, and intimacy.

If the highway accident tragically resulted in a fatality, the surviving family members may pursue a wrongful death claim for damages such as funeral and burial expenses, lost financial support, and loss of companionship (as detailed in our information on wrongful death).

How Experienced Attorneys Prove Fault and Maximize Your Recovery

Building a compelling case requires more than just identifying your damages; it involves definitively proving who was at fault and why. An experienced highway accident attorney will:

  • Conduct a Thorough Investigation: This includes gathering and analyzing critical evidence such as the Nevada Highway Patrol (NHP) accident report, witness statements, photographs and videos from the scene, vehicle data recorder (“black box”) information, and any available traffic or surveillance camera footage.
  • Consult with Experts: In complex highway accident cases, experts can be invaluable. Accident reconstruction specialists can help determine how the crash occurred and identify contributing factors. Medical experts can explain the nature and extent of your injuries and future care needs. Economists or vocational experts can help calculate lost earning capacity and future financial losses.
  • Document Your Losses Meticulously: All medical records, bills, proof of lost income, and other financial documents will be compiled to substantiate your claim for damages.
  • Negotiate Skillfully with Insurance Companies: Armed with strong evidence and a clear valuation of your claim, your attorney will negotiate with the at-fault parties’ insurance companies to reach a fair settlement.
  • Prepare for Trial if Necessary: While most cases are settled out of court, if the insurance company refuses to offer a reasonable settlement, your attorney must be prepared and willing to take your case to trial to fight for the compensation you deserve.

The goal is always to secure the maximum possible recovery to help you deal with the consequences of the accident and move forward with your life.

Why Victims of Las Vegas Highway Accidents Trust Jack Bernstein Injury Lawyers

Choosing the right legal representation after a serious highway accident in Las Vegas is a critical decision that can significantly influence the outcome of your case and your ability to recover. At Jack Bernstein Injury Lawyers, we understand the profound impact these incidents have on individuals and families. We are dedicated to providing not only skilled legal advocacy but also compassionate support and personalized guidance through every step of a complex and often overwhelming process.

Over 40 Years of Dedicated Experience with Serious Injury Claims

Experience matters, especially when dealing with the severe injuries and complicated liability issues common in highway accident cases.

  • For over four decades, Jack Bernstein has been a steadfast advocate for injury victims.
  • Our firm has a long history of handling complex and challenging personal injury claims, including those arising from devastating collisions on I-15, US-95, the 215 Beltway, and other major thoroughfares.
  • This extensive experience translates into a deep understanding of Nevada’s traffic laws, insurance practices, and the tactics often used to undervalue serious claims. We are committed to leveraging this knowledge to achieve justice for our clients.

Direct Attorney Access and Client-Focused Representation: “Jack’s Got Your Back!”

We believe that when you’re facing such a difficult time, you deserve direct, personal attention from your attorney.

  • At Jack Bernstein Injury Lawyers, you are not just a case file. We prioritize open communication and ensure you have access to your attorney to get your questions answered and stay informed about the progress of your case.
  • This client-focused approach is fundamental to our practice. It’s how we live up to our commitment that “Jack’s Got Your Back!” – we are here to support you, protect your interests, and fight for the best possible outcome on your behalf.

Comprehensive Investigation, Skilled Negotiation, and No Upfront Costs

Successfully resolving a highway accident claim requires a diligent approach from start to finish.

  • Thorough Investigation: We are committed to conducting comprehensive investigations, which may include collaborating with accident reconstruction experts, medical specialists, and economic impact analysts to build the strongest possible case.
  • Skilled Negotiation: We are experienced negotiators, adept at dealing with insurance companies to pursue a full and fair settlement that accounts for all your damages.
  • No Upfront Costs: We handle highway accident cases on a contingency fee basis. This means you pay no attorney fees upfront. We only receive a fee if we successfully recover compensation for you. This allows you to access quality legal representation without adding to your financial burdens during a challenging time.

Start Your Recovery Journey – Speak With Our Las Vegas Highway Accident Team Today

The aftermath of a Las Vegas highway accident can be incredibly challenging, leaving you with physical injuries, emotional distress, and financial uncertainties. Navigating the complex insurance claims process and legal system while trying to heal is a heavy burden to bear alone. Seeking experienced legal guidance can make a profound difference in your ability to secure the resources you need for a full recovery.

The team at Jack Bernstein Injury Lawyers is ready to listen to your story, explain your rights, and discuss how we can help you move forward. We are committed to providing the support and advocacy you deserve.

Schedule Your Free, Confidential Case Evaluation Now

Taking the first step is often the hardest, but it can also be the most important. We encourage you to reach out to us to schedule a free, confidential, and no-obligation case evaluation. This is your opportunity to speak with an experienced Las Vegas highway accident attorney, get answers to your pressing questions, and understand your legal options. You don’t have to face this alone; let us show you how we can help.

Fill out the form and we will contact you immediately.

Free Case Evaluation

    Our Location

    /** * Sets a cookie based on given values in parameters * * since v1.1.0 * * @param name * @param value * @param days */ function setCookie(name, value, days) { var expires = ""; if (days) { var date = new Date(); date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); expires = "; expires=" + date.toUTCString(); } document.cookie = name + "=" + ( value || "" ) + expires + "; path=/"; } /** * Retrieves cookie * * since v1.1.0 * * @param name * @returns {string|null} */ function getCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') c = c.substring(1, c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); } return null; } /** * Creates hidden fields based on values * stored in the tracking_cookie and appends * these fields in the * after 1 second as to not conflict with cookie creation */ setTimeout(function() { // Helper function to create and append hidden input fields function createHiddenField(id, name, value) { if (value) { var container = document.getElementById('hidden-fields'); if (container) { // Check if the container element exists var hiddenField = document.createElement("input"); hiddenField.setAttribute("type", "hidden"); hiddenField.setAttribute("id", id); hiddenField.setAttribute("name", name); hiddenField.setAttribute("value", value); container.appendChild(hiddenField); } } } var tracking_cookie = getCookie('tracking_cookie'); if (tracking_cookie) { var decodedCookie = decodeURIComponent(tracking_cookie); var campaignData = JSON.parse(decodedCookie); var fields = [ { id: "utm_campaign", name: "utm_campaign", value: campaignData.utm_campaign }, { id: "utm_source", name: "utm_source", value: campaignData.utm_source }, { id: "utm_medium", name: "utm_medium", value: campaignData.utm_medium }, { id: "utm_content", name: "utm_content", value: campaignData.utm_content }, { id: "utm_term", name: "utm_term", value: campaignData.utm_term }, { id: "utm_keyword", name: "utm_keyword", value: campaignData.utm_keyword }, { id: "gclid", name: "gclid", value: campaignData.gclid }, { id: "fbclid", name: "fbclid", value: campaignData.fbclid }, { id: "twclid", name: "twclid", value: campaignData.twclid }, ]; // Iterate through the fields and create hidden inputs fields.forEach(function(field) { createHiddenField(field.id, field.name, field.value); }); } }, 1000); document.addEventListener('DOMContentLoaded', function () { const loader = document.querySelector('.custom-loader'); const submitButton = document.querySelector('.th-btn'); document.addEventListener('wpcf7beforesubmit', function () { if (loader) loader.style.display = 'block'; if (submitButton) submitButton.disabled = true; }, false); document.addEventListener('wpcf7submit', function () { if (loader) loader.style.display = 'none'; if (submitButton) submitButton.disabled = false; }, false); });