FRAMINGHAM - A Framingham man told police he does not know why he cannot stop taking photos and videos up the skirts of unsuspecting women, a prosecutor said Tuesday in Framingham District Court.

Framingham Police arrested Edgar Salguero, 28, Monday at 5:37 p.m. after he was confronted by a woman at the A.C. Moore store in Shoppers World for pointing his cellphone up her skirt, prosecutor Emily Jackson said.

"He admitted to taking numerous up-skirt photos over the past several days," said Jackson. "He kept telling the officers he had a problem. He said he didn't know why he was taking these photos."

Salguero allowed police to examine his phone on which they found more than a dozen videos. In several, Salguero's face is visible and he is heard speaking to the women. Numerous still photographs were also found, Jackson said. Most of the women in the videos and photos have not been identified.

Framingham District Court Judge Douglas Stoddart questioned if Salguero's actions rose to the standards of the "upskirting law" passed by the Legislature in March.

He said the law makes it illegal to take upskirt photos and videos of a woman in a "state of nudity," or "partial nudity," but there is nothing in the police report to indicate that the women were nude or partially nude, Stoddart said.

"I don't subscribe to what he did," said Stoddart. "If it's not criminal, it's scary."

The woman at A.C. Moore told police she was shopping with her child for Halloween supplies. She noticed Salguero nearby, bending down and looking at items on the bottom shelf. He appeared to have something in his hand, but she ignored it at first, until she realized it was a phone, prosecutor Jackson said.

After confronting him, she went to get a store employee and "the defendant had hurriedly exited the store."

Police went to other stores in Shoppers World and found that a man matching the description had been caught doing the same thing in Nordstrom Rack and left when confronted by a woman. That incident was caught on video, which was shown to the woman at A.C. Moore. She said it was the same man who looked up her skirt, Jackson said.

Police distributed photos of the suspect to other stores in and around Shoppers World and several others reported seeing him. Kohl's security found Salguero in their store and held him for police, the prosecutor said.

Questioned by police, Salguero confessed.

Police charged Salguero, of 105 Pond St., with with secretly videoing or photographing a person in a state of nudity, annoying and accosting a person of the opposite sex and disorderly conduct.

Jackson asked Stoddart to hold Salguero on $5,000 bail.

Page 2 of 2 - Stoddart ordered Salguero held on $2,000 bail. Even if Salguero posts bail, he cannot be released until he undergoes a mental health evaluation and the judge hears the results and any recommendations.

If released, Salguero is barred from any business in Framingham or Natick that carries women's clothing, craft items or caters to women. He is also banned from owning any kind of camera or any phone that can take photos.

Salguero is due back in court today for a status hearing.

The Framingham Police said they are still looking for more victims. They are asking anyone who may have seen Salguero acting suspiciously to contact them at 508-872-1212

Norman Miller can be reached at 508-626-3823 or nmiller@wickedlocal.com. For up-to-date crime news, follow Norman Miller on Twitter @Norman_MillerMW.