title: How to generate HTML Forms for a CouchApp ( or for any JSON documents )
body: <p>Traditional web frameworks like Rails and Django have ways to generate HTML forms based on the "models", which correspond to the schema -- the TABLEs in the database.</p>
  
  <p>How does that work with CouchDB? ( which has no tables and no schema )</p>
  
  <p>Do you just create custom forms by hand, and let those act as your "model/schema"?
  Do you have "models" defined in javascript?  Does that allow auto-generated forms?
  Do you have "models" or something similar defined as JSON documents?</p>
  
  <p>Also, traditional HTML forms handle a single "record" -- with one value per "key".
  JSON documents can have a list of values under one key, or another nested document! -- traditional HTML forms don't handle that!
  JSON documents ( even documents that are of a known "doctype" ) could have "extra" ( undefined ) fields on them -- they could have missing fields -- they could have fields whose value is of a different type than what is expected.
  All of these things are not handled by traditional HTML forms.</p>
  
  <p>Is there a better way for a user to interact with a JSON document than traditional HTML forms?</p>