Input validation, red error messages and type mismatches
We want to prevent the red error messages below input controls, because it makes controls jump around on the screen when there are errors. To do so we check all attribute values in custom 'Save' microflows. 1) Is there an easier method? 2) We cannot prevent the type mismatch errors that occur when a user e.g. types text in a numeric input. Either the red 'Invalid number' appears under the control, or the text NaN in the control. Is there a workaround for this (other than making all attributes 'string')?
There is no easier way because this mechanism is build in the mendix widgets. If you want to prevent this you have make your own widgets, which is not recommended.
Maybe a css guru can give some hints about the styling of these validation messages.