Ben, you're my hero. Or you will be, if you can help me with this: I'm using your templating technique to spawn new form fieldsets, and your method is awesome. (Although I think it would be simpler to do one global ("g") replace in the regex, if you're just appending the same id in multiple place... read more »