Okay, I've fixed the entire issue now.
It seems there were 2 more errors on the page: Firstly, the wrapping of elements in the template was messy, this meant the form was broken upon output:
this is what your code looked like (cleaned up so you can see)
- Code: Select all
<table>
<thead>...</thead>
<cms:form>
<tbody>...</tbody>
</table>
<cms:input type='submit'>
</cms:form>
So the table ended before the form, this meant in the output the form would close itself instantly, so none of the inputs were properly tied to it.
The fixed version was to just move the <cms:form> opener outside of the <table> so the entire table is inside the form.
The next issue was the bigger one and I only fixed this by checking the couch documentation on databound forms (I didn't actually know this was an issue until I tested it):
You were using
- Code: Select all
<cms:input type='submit' name='submit value='Save' />
for your form submission button. Pressing this button caused the error you had.
The couch documentation on databound forms (See:
http://docs.couchcms.com/concepts/databound-forms.html) uses
- Code: Select all
<button type="submit">Submit Application</button>
to submit its forms.
Once I changed your input to a button, the form correctly works.
So there were a bunch of different errors all causing this to not work as correctly. Hopefully they're all resolved now, I was unaware of the need for a <button> over an input for databound forms, I guess we learn more every day

I hope it's all working as desired now Kimheggen.