Having trouble in submitting form: Data validation error

Also, if it is just a submit form why are you using onitemvalueschanged as depending on where it is used, it will be running an event handler when used?

Plus, have you read the Wix Dataset API Reference for that function too?
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#onItemValuesChanged