Dataset: Validation failed

Good afternoon,
when submitting a form, console prints:

1: "DatasetError: Some of the elements validation failed"

No data is written to database. Im confused. Input fields I use are:
#location => text (e.g. 90001 Los Angeles)
#vehicle => text (from a dropdown menu, e.g. Smart Fortwo)
#longitude => number (e.g. 4.2534)
#latitude => number (e.g. 43.4532)

In the dataset, data is also set accordingly (text, text, number, number).

From as far as I see, there shouldn’t be any problem like that.

Any ideas where else I can look?

Thanks & best wishes,
Constantin

Hi Constantin,

In the settings dialog for longitude and latitude, change the type to “Text” and it will work. I know it seems counter-intuitive, but it will write correctly to these two fields in the collection that are both of the type “number”.

Maybe someone has a solution of how to get around the validation error message with regex pattern validation while keeping the element’s type as a Number? That does seem needlessly complicated for such a simple input though.