First of all, welcome to PT!! My name is Danielle and I've got 2 dogs. (In my siggy) and alot more animals.

That is a great suggestion, and it should do the trick. If that doesn't do it, I would think about shampooing your carpet. It's a little pricey, but it's worth it, especially if the smell is causing problems with potty training. I'd love to see pics of your dogs!! Good Luck