I added the form validation script (Java Script) to the head section of my
insert records form page which works great when tested but when I submit the
form I get the following error:

Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
/spaces/events/insert2.asp, line 157

Line 157: MM_editCmd.Execute

When I remove the "onsubmit" statement from the form action I can submit the
form without any problems. Here is the form action that causes the error:

<form method="POST" action="<%=MM_editAction%>" name="form1" onsubmit="return
validateForm(this);">

The form worked fine before I added the javascript (in bold above) to the form
action.

I tried to get help at an ASP forum and one meant that this seems to be a
Dreamweaver problem as my code is correct. My hope is now to find somebody who
ran into the same problem once and knows how to fix this. Anybody?