Situation:
I have a table that stores weight of inventory.
The field „weight“ in that table Inventory is set to have one decimal.
Weight can get bigger or smaller so that new numbers should be stored to document that changes.
I build an application that gives the user the chance to add a new weight or take away weight.
It works that way that there are to different Input Forms in the App. One Forms to add weight, the other to reduce weight.
In these two different Input Forms I have elements type “Data Input”.
They are labeled “weight to add” and the other (in the other Input Form) is labeled “weight to reduce”
I set the first Data Input (“Add weight”) with the property of “Validation” to Number.
By accident I forgot to do that for the other Data Input (“Reduce weight”). So now it has Validation “Any”
- Question 1:
How exactly does the validation of “number” work?
I recognized that enter data like “3a2” immediately shows the error “The field must be a number.”. Enter data like “3,2” brings no error as well as “3.2” (regardless of the language system of my local system)
But also enter data like “3,2,.2,” does not show the error. Although it is obviously not a number.
I assume the field at the applications webpage just checks if there are only numbers and characters comma or full stop. Is that right? So the field not really checks if the entered data is a (float) number?
- Question 2 :
If I enter “3,2” in Data Input “Reduce weight” with it validation set to “any” the application excepts the data. It tries to write a new row but then it show this error in the upper right corner (Screenshot ).
And now for the real problem!!
If I enter “3,2” in Data Input “Add weight” with it validation set to “number” the application excepts the data – and writes a new row with “32” !! (yes, thirty two, not three point two).
So the weight is wrong by factor 10.
I assume that this might be connected with this problems:
Having Baserow accepting “3,2” as an input but writing a new row with 32 is a big problem as the user might not get aware of this problem.I really look forward for your help and understanding of what is happening here.
Thanks.

