Comes to mind only such variant:
-create a document for example type="myForm" containing among other things an array of the fields:
-Generate the form pramehas the array, give the user. You will need to write code to generate the desired field types.
-After filling, if necessary, control the filling, again by choosing a schema document from couch, run through the array came data, cutting it from the fields which are not in the scheme and control values does not meet the diagram.
-to drive new data into the couch.
But I would advise you to think three times before using the caps. On Windows at least I have a lot of problems with him. First encountered the bug in Erlang, limiting the maximum file size of four gigs (http://wiki.apache.org/couchdb/Installing_on_Windows
) It was fixed, but yet have found a fix, while freewheeling... Then the base started to crumble when the index file sizes are 6-8Gb. 2-3 times there. Can certainly due to the fact that I rebooted the server during the view generation, but it's still not good. And if there is critical business information lay and the server on diet anyone wince? In General, I told him now do not trust.