You probably don’t notice how counterintuitive some forms are, but in one of my new projects I needed a method to properly maintain an unlimited amount of relational data in a html user interface. I couldn’t find any tutorials or examples that properly managed (at least in my mind!) an unlimited amount of data so I created my own.

There’s very little involved to accomplish this. No funky php — just a little bit of javascript concatenation. I’d like to prevent the data from having to be hard-coded in the javascript function but I can’t come up with a method that prevents it for now.

Working example and howto.