Hi Jeremy,
Thank you so much for the help, I really appreciate it!
I will have to keep using the html solution because I present the patterns in a fixed order. This works perfectly, since all the other code was already in place.
Thanks again and all the best,
Iris