If the record is not inserted after adding server validation, it indicates that the form is not validating properly.
You have added required validation to the terms field in your form.
If you do not put a value in the terms filed, no record will be inserted.
Make sure you are putting a value in the terms field, if you still have problems, please send the php page in a zip file so I can look at the code in context.