Updated

Nearly everyone agrees that texting and driving is dangerous. Most people do it anyway.

In a new survey, 98 percent of motorists who own cellphones and text regularly said they were aware of the dangers, yet three-quarters of them admitted to texting while driving, despite laws against it in some states. Two-thirds said they have read text messages while stopped at a red light or stop sign, while more than a quarter said they have sent texts while driving.

More than a quarter of the texting drivers believed they "can easily do several things at once, even while driving."

The telephone survey of 1,004 U.S. adults was released Wednesday by AT&T Inc. as part of an anti-texting-and-driving campaign. AT&T designed the survey with David Greenfield, founder of The Center for Internet and Technology Addiction and a professor at the University of Connecticut's School of Medicine.

The survey came as AT&T expanded availability of a free app that silences text message alerts and activates automatically when a person is moving 15 miles per hour or faster. (Passengers can turn it off.) The DriveMode app is coming to iPhones after being previously available on Android and BlackBerry phones for AT&T users only. The iPhone version will be available to customers of competing carriers as well, but some functions will work only on AT&T devices.

The study in May was of cellphone owners ages 16 to 65 who drive almost every day and text at least once a day. It has a margin of sampling error of plus or minus 3.1 percentage points. Researchers conducted surveys with people on their cellphones, and it's possible those who would have picked up on a landline might have different attitudes.

Greenfield said the survey is the latest to show a discrepancy between people's attitudes and behaviors.

It found a broad range of reasons why drivers text. Forty-three percent of the texting drivers said they want to "stay connected" to friends, family and work. Nearly a third did it out of habit.

Among other reasons for texting and driving:

— Twenty-eight percent said they are worried about missing out of something important if they don't check their phones right away.

— More than a quarter believes that their driving performance is not affected by texting, and just as many people said they believe that others expect them to respond to texts "right away."

— Just 6 percent answered that they are "addicted to texting," although 14 percent admitted that they are "anxious" if they don't respond to a text right away, and 17 percent feel "a sense of satisfaction" when they can read or respond to a text message.

Reggie Shaw was 19 in 2006 when he caused a car accident while texting, killing two people. Today, he speaks out against texting and driving.

"It's something I struggle with every day," he said. "I know that I need to go out and talk to others about it. I don't want others to make the same mistake I did."

Shaw does not remember what he was texting about right before the accident. Back then, he said, "being on my phone when I drove was something I did all the time. It was just driving to me. I guess you'd call it ignorance but I never understood that it was dangerous. How could me being on the phone cause a car accident?"

Today, his phone is off when he's driving. Never in the past eight years since the accident, he says, has he gotten a phone call or text message that was so important that it couldn't wait until he stopped the car.

Greenfield, who studies the effects of digital technology on the brain, likes to call smartphones "the world's smallest slot machines" because they affect the brain in similar ways that gambling or drugs can. Dopamine levels increase as you anticipate messages, and that leads to higher levels of pleasure. Getting desirable messages can increase dopamine levels further.

While all distractions can be dangerous, much of the focus has been on texting and driving, Greenfield said, because "it's ongoing and because there is an anticipatory aspect to it."

Greenfield said people should not use their phone at all while driving, but acknowledges that this might not be realistic. Apps, public education and laws that ban texting and driving, he said, will all help change people's behavior, just as anti-drunken-driving laws and public education campaigns have reduced drunken driving over the past few decades.