That seems to do the trick apart from one small thing:
Click the insert button on the empty form, and the hidden regions all show up. Enter some correct data into the fields and the form is submitted - without any data.
After all the validation has taken place, a blank record is inserted into the database with no content.
All the code checks out in the w3c validator.