CMS:input reports "ERROR: Tag "input" 'name' contains invalid characters. (Only lowercase[a-z], numerals[0-9] hyphen and underscore permitted".
Spaces and square brackets, among other things, are valid and useful in form name elements. Spaces for clean 1:1 human readable output, and square brackets in order to pass an array of values, e.g. multiple inputs with name="myfield[]" should be interpreted as an array with each input value representing an array member. It's understandable if couch's own form processing can't handle these kinds of form elements, and they should be created using straight HTML markup for processing by an outside script, but in that case please clarify in documentation.
Spaces and square brackets, among other things, are valid and useful in form name elements. Spaces for clean 1:1 human readable output, and square brackets in order to pass an array of values, e.g. multiple inputs with name="myfield[]" should be interpreted as an array with each input value representing an array member. It's understandable if couch's own form processing can't handle these kinds of form elements, and they should be created using straight HTML markup for processing by an outside script, but in that case please clarify in documentation.