this error will occur if you have form elements on the page that do not have a type attribute:
<input name="Contact_Name" id="Contact_Name" />
make sure that all of your form elements are properly created and include the type attribute:
<input name="Contact_Name" type="text" id="Contact_Name" />