Ah yes, I remember... It was either a regular expression or a variable type comparison
This version doesn't use any regexes for finding the attributes: it collects them directly from the form... The issue here is a little odd in that an array is created but is never populated (a console log after populating the array reveals it to be zero-length)... I do have a theory as to why this might happen so I'm going to try some things tomorrow
I hope this works!
Dan