Why does the form have to be generated dynamically by JS?<p>A much better solution would be to generate the markup on the server-side. It should be easy enough to port this to Node, and a bit more of work for other major backend languages like Ruby, Python and PHP.<p>It could even be implemented as a webapp that takes the input JSON on the left side, and spits out HTML on the right, which I could paste into my site markup directly.<p>Right now, the trade-off is too big for the developer-time convenience of generating forms dynamically.