Thanks Anne. Yeah, I looked through the forum, but I could only find a post that gave half of the solution, with reference to PM him for the rest of it since it's more complicated. So I couldn't find the full solution anywhere...
Originally Posted by picaflor-azul
Did you search the thread? I believe that someone has already posted this code. I have this on a list for a future template update.